home: coloscheme module -> hozen arg

This commit is contained in:
ooks-io 2024-11-18 17:47:27 +11:00
parent edc99e84ef
commit ecbb5c8700
13 changed files with 263 additions and 237 deletions

View file

@ -8,8 +8,7 @@
}: let
inherit (lib) mkIf mkMerge;
inherit (osConfig.ooknet.host) admin;
inherit (osConfig.ooknet.appearance) colorscheme fonts;
inherit (colorscheme) palette;
inherit (osConfig.ooknet.appearance) fonts;
inherit (osConfig.ooknet.workstation) default;
addons = inputs'.firefox-addons.packages;

View file

@ -26,15 +26,19 @@ in
border-radius: 0 !important;
font-family: ${fonts.monospace.family};
}
#nav-bar {
border: var(--border) !important;
background-color: var(--clr-menu) !important;
margin-top: 0px !important;
}
#urlbar {
text-align: center;
}
.browser-toolbar {
padding-bottom: 1px !important;
}
#urlbar-background {
background-color: transparent !important;
border: unset !important;
@ -102,13 +106,13 @@ in
}
.tabbrowser-tab {
padding: 5px !important;
padding-left: 5px !important;
padding: 3px !important;
padding-left: 3px !important;
--tab-label-mask-size: unset !important;
}
.tabbrowser-tab[pinned] {
margin: 0px !important;
padding: 5px !important;
padding: 3px !important;
}
#tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])[orient="horizontal"] > #tabbrowser-arrowscrollbox > .tabbrowser-tab:nth-child(1 of :not([pinned], [hidden])) {

View file

@ -1,11 +1,12 @@
{
lib,
osConfig,
hozen,
...
}: let
inherit (lib) mkIf;
inherit (osConfig.ooknet.appearance) colorscheme fonts;
inherit (colorscheme) palette;
inherit (osConfig.ooknet.appearance) fonts;
inherit (hozen) color;
inherit (osConfig.ooknet.workstation) default;
cfg = osConfig.ooknet.workstation.programs.firefox;
in {
@ -55,17 +56,17 @@ in {
''
:root {
--font: ${fonts.monospace.family};
--bg: #${palette.base00};
--fg: #${palette.base05};
--red: #${palette.base08};
--green: #${palette.base0B};
--blue: #${palette.base0D};
--yellow: #${palette.base0A};
--purple: #${palette.base0E};
--orange: #${palette.base09};
--cyan: #${palette.base0C};
--comment: #${palette.base04};
--selectedline: #${palette.base02};
--bg: #${color.layout.menu};
--fg: #${color.typography.text};
--red: #${color.red.base};
--green: #${color.green.base};
--blue: #${color.blue.base};
--yellow: #${color.yellow.base};
--purple: #${color.purple.base};
--orange: #${color.orange.base};
--cyan: #${color.teal.base};
--comment: #${color.typography.subtext};
--selectedline: #${color.secondary.base};
--tridactyl-fg: var(--fg);