aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/mod.rs
diff options
context:
space:
mode:
authorJan Hrastnik2020-12-13 11:30:36 +0000
committerGitHub2020-12-13 11:30:36 +0000
commitb12a6dc8303bbc1b4b08a9abb4668741d154adbd (patch)
tree016aa433cf7c226341e9c3c3e74ea65060db1914 /helix-term/src/ui/mod.rs
parentb7a3e525ed7fed5ed79e8580df2e3496bd994419 (diff)
parent07801b60bccd0f084eae925e0290c24322de575f (diff)
Merge pull request #6 from helix-editor/compositor
Compositor v2 rewrite
Diffstat (limited to 'helix-term/src/ui/mod.rs')
-rw-r--r--helix-term/src/ui/mod.rs14
1 files changed, 14 insertions, 0 deletions
diff --git a/helix-term/src/ui/mod.rs b/helix-term/src/ui/mod.rs
new file mode 100644
index 00000000..bc79e09c
--- /dev/null
+++ b/helix-term/src/ui/mod.rs
@@ -0,0 +1,14 @@
+mod editor;
+mod prompt;
+
+pub use editor::EditorView;
+pub use prompt::Prompt;
+
+pub use tui::layout::Rect;
+pub use tui::style::{Color, Modifier, Style};
+
+// TODO: temp
+#[inline(always)]
+pub fn text_color() -> Style {
+ Style::default().fg(Color::Rgb(219, 191, 239)) // lilac
+}