Support DIM

* Add a color deriver and derive dim colors for all themes.
 * Derive actual bright colors for the OneHalfDark theme while at it.
 * Use dim colors when the DIM flag is set.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
This commit is contained in:
Mohammad AlSaleh 2024-01-12 01:41:37 +03:00 • committed by Jeremy Soller
parent 679e7ee4f5
commit f34116f3f7
4 changed files with 158 additions and 72 deletions

View file

@ -17,6 +17,7 @@ i18n-embed = { version = "0.13", features = ["fluent-system", "desktop-requester
i18n-embed-fl = "0.6"
rust-embed = "6"
paste = "1.0"
palette = "0.7"
[dependencies.cosmic-text]
git = "https://github.com/pop-os/cosmic-text.git"