Start work on defining color scales
This commit is contained in:
parent
78573fb140
commit
7841a56a11
3 changed files with 275 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
mod default;
|
||||
mod registry;
|
||||
mod scale;
|
||||
mod settings;
|
||||
mod themes;
|
||||
|
||||
|
@ -9,6 +11,12 @@ use gpui2::{AppContext, HighlightStyle, Hsla, SharedString};
|
|||
use settings2::Settings;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum Appearance {
|
||||
Light,
|
||||
Dark,
|
||||
}
|
||||
|
||||
pub fn init(cx: &mut AppContext) {
|
||||
cx.set_global(ThemeRegistry::default());
|
||||
ThemeSettings::register(cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue