2024-05-06 14:08:50 +03:00
|
|
|
{ config, ... }: let
|
|
|
|
forceWhiteText = false;
|
|
|
|
in {
|
2024-04-04 14:09:16 +03:00
|
|
|
color = {
|
2024-04-06 03:03:58 +03:00
|
|
|
bg = {
|
|
|
|
dark = config.lib.stylix.colors.base00;
|
|
|
|
light = config.lib.stylix.colors.base07;
|
2024-05-04 10:11:05 +03:00
|
|
|
regular = config.lib.stylix.colors.base01;
|
2024-04-06 03:03:58 +03:00
|
|
|
};
|
2024-05-06 14:08:50 +03:00
|
|
|
fg = if forceWhiteText then {
|
|
|
|
dark = "ffffff";
|
|
|
|
light = "ffffff";
|
|
|
|
regular = "ffffff";
|
|
|
|
} else {
|
2024-04-06 03:03:58 +03:00
|
|
|
dark = config.lib.stylix.colors.base04;
|
|
|
|
light = config.lib.stylix.colors.base06;
|
2024-05-04 10:11:05 +03:00
|
|
|
regular = config.lib.stylix.colors.base05;
|
2024-04-06 03:03:58 +03:00
|
|
|
};
|
2024-04-04 14:09:16 +03:00
|
|
|
accent = config.lib.stylix.colors.base0A;
|
|
|
|
heading = config.lib.stylix.colors.base0D;
|
|
|
|
hl = config.lib.stylix.colors.base03;
|
|
|
|
keyword = config.lib.stylix.colors.base0E;
|
|
|
|
link = config.lib.stylix.colors.base09;
|
|
|
|
misc = config.lib.stylix.colors.base0F;
|
|
|
|
negative = config.lib.stylix.colors.base08;
|
|
|
|
neutral = config.lib.stylix.colors.base0C;
|
|
|
|
positive = config.lib.stylix.colors.base0B;
|
|
|
|
selection = config.lib.stylix.colors.base02;
|
|
|
|
transparent = "ffffff00";
|
|
|
|
|
|
|
|
accent-b = config.lib.stylix.colors.base0A-rgb-b;
|
|
|
|
accent-g = config.lib.stylix.colors.base0A-rgb-g;
|
|
|
|
accent-r = config.lib.stylix.colors.base0A-rgb-r;
|
|
|
|
negative-b = config.lib.stylix.colors.base08-rgb-b;
|
|
|
|
negative-g = config.lib.stylix.colors.base08-rgb-g;
|
|
|
|
negative-r = config.lib.stylix.colors.base08-rgb-r;
|
|
|
|
neutral-b = config.lib.stylix.colors.base0C-rgb-b;
|
|
|
|
neutral-g = config.lib.stylix.colors.base0C-rgb-g;
|
|
|
|
neutral-r = config.lib.stylix.colors.base0C-rgb-r;
|
|
|
|
positive-b = config.lib.stylix.colors.base0B-rgb-b;
|
|
|
|
positive-g = config.lib.stylix.colors.base0B-rgb-g;
|
|
|
|
positive-r = config.lib.stylix.colors.base0B-rgb-r;
|
2024-05-02 04:47:21 +03:00
|
|
|
bg-b = config.lib.stylix.colors.base00-rgb-b;
|
|
|
|
bg-g = config.lib.stylix.colors.base00-rgb-g;
|
|
|
|
bg-r = config.lib.stylix.colors.base00-rgb-r;
|
2024-05-06 14:08:50 +03:00
|
|
|
|
|
|
|
fg-b = if forceWhiteText then 255 else config.lib.stylix.colors.base06-rgb-b;
|
|
|
|
fg-g = if forceWhiteText then 255 else config.lib.stylix.colors.base06-rgb-g;
|
|
|
|
fg-r = if forceWhiteText then 255 else config.lib.stylix.colors.base06-rgb-r;
|
2024-04-04 14:09:16 +03:00
|
|
|
};
|
2024-04-10 11:04:06 +03:00
|
|
|
|
2024-04-04 14:09:16 +03:00
|
|
|
font = {
|
|
|
|
emoji.name = config.stylix.fonts.emoji.name;
|
|
|
|
monospace.name = config.stylix.fonts.monospace.name;
|
|
|
|
sansSerif.name = config.stylix.fonts.sansSerif.name;
|
|
|
|
serif.name = config.stylix.fonts.serif.name;
|
|
|
|
size = {
|
|
|
|
terminal = config.stylix.fonts.sizes.terminal;
|
|
|
|
popup = config.stylix.fonts.sizes.popups;
|
|
|
|
application = config.stylix.fonts.sizes.applications;
|
|
|
|
desktop = config.stylix.fonts.sizes.desktop;
|
|
|
|
};
|
|
|
|
};
|
2024-04-10 11:04:06 +03:00
|
|
|
|
2024-04-04 14:09:16 +03:00
|
|
|
opacity = {
|
|
|
|
application = config.stylix.opacity.applications;
|
|
|
|
desktop = config.stylix.opacity.desktop;
|
|
|
|
popup = config.stylix.opacity.popups;
|
|
|
|
terminal = config.stylix.opacity.terminal;
|
|
|
|
};
|
|
|
|
}
|