wip: titlebar
Some checks failed
Rust / build (ubuntu-latest, stable) (push) Failing after 2m0s
Rust / build (ubuntu-latest, stable) (pull_request) Failing after 1m36s

This commit is contained in:
2026-01-29 16:55:40 +07:00
parent 04287cae3a
commit 4336c67d8c
10 changed files with 618 additions and 2 deletions

View File

@@ -89,6 +89,10 @@ pub struct ThemeColors {
pub drop_target_background: Hsla,
pub cursor: Hsla,
pub selection: Hsla,
// System
pub titlebar: Hsla,
pub titlebar_inactive: Hsla,
}
/// The default colors for the theme.
@@ -171,6 +175,9 @@ impl ThemeColors {
drop_target_background: brand().dark_alpha().step_2(),
cursor: hsl(200., 100., 50.),
selection: hsl(200., 100., 50.).alpha(0.25),
titlebar: neutral().dark().step_2(),
titlebar_inactive: neutral().dark().step_3(),
}
}
}