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

1
Cargo.lock generated
View file

@ -874,6 +874,7 @@ dependencies = [
"lazy_static",
"libcosmic",
"log",
"palette",
"paste",
"rust-embed",
"serde",