Skip to content

Commit ee849cd

Browse files
circularsprojectsalii
authored andcommitted
use hsl() instead of hsla()
1 parent c7b124c commit ee849cd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ui/src/main.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ pub mod channel;
55
use std::sync::Arc;
66

77
use app_state::AppState;
8-
use components::theme::{Theme, ThemeColor, ThemeMode};
8+
use components::theme::{hsl, Theme, ThemeColor, ThemeMode};
99
use gpui::*;
1010
use http_client::anyhow;
1111

@@ -49,8 +49,9 @@ async fn main() {
4949

5050
let mut theme = Theme::from(ThemeColor::dark());
5151
theme.mode = ThemeMode::Dark;
52-
theme.accent = hsla(335.0 / 360.0, 97.0 / 100.0, 61.0 / 100.0, 1.0);
53-
theme.title_bar = hsla(335.0 / 360.0, 97.0 / 100.0, 61.0 / 100.0, 1.0);
52+
theme.accent = hsl(335.0, 97.0, 61.0);
53+
theme.title_bar = hsl(335.0, 97.0, 61.0);
54+
theme.background = hsl(225.0, 12.0, 10.0);
5455

5556
cx.set_global(theme);
5657
cx.refresh();

0 commit comments

Comments
 (0)