nix/part/Style.nix

82 lines
2.7 KiB
Nix
Raw Normal View History

# Abstraction over Stylix.
2024-05-07 16:12:07 +03:00
{ config, ... }: {
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-07 16:12:07 +03:00
fg = {
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
};
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;
2024-05-07 03:22:01 +03:00
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;
2024-05-07 03:22:01 +03:00
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;
2024-05-07 03:22:01 +03:00
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-07 03:22:01 +03:00
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
2024-05-07 03:22:01 +03:00
border = config.lib.stylix.colors.base01;
border-b = config.lib.stylix.colors.base01-rgb-b;
border-g = config.lib.stylix.colors.base01-rgb-g;
border-r = config.lib.stylix.colors.base01-rgb-r;
2024-05-07 16:12:07 +03:00
fg-b = config.lib.stylix.colors.base06-rgb-b;
fg-g = config.lib.stylix.colors.base06-rgb-g;
fg-r = config.lib.stylix.colors.base06-rgb-r;
};
2024-04-10 11:04:06 +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
opacity = {
application = config.stylix.opacity.applications;
desktop = config.stylix.opacity.desktop;
popup = config.stylix.opacity.popups;
terminal = config.stylix.opacity.terminal;
2024-05-07 22:54:40 +03:00
hex = "D9";
2024-05-07 03:22:01 +03:00
};
window = {
gap = 8;
border = 4;
};
}