theme edits
This commit is contained in:
90
modules/home/desktop/theme/palettes/dracula.nix
Normal file
90
modules/home/desktop/theme/palettes/dracula.nix
Normal file
@@ -0,0 +1,90 @@
|
||||
rec {
|
||||
# Normalized semantic colors (theme-agnostic) - Dracula
|
||||
colors = {
|
||||
bg = "#282a36";
|
||||
bgAlt = "#343746";
|
||||
surface = "#343746";
|
||||
surfaceAlt = "#44475a";
|
||||
border = "#44475a";
|
||||
|
||||
text = "#f8f8f2";
|
||||
textMuted = "#e2e2dc";
|
||||
|
||||
primary = "#6272a4"; # dark blue
|
||||
info = "#8be9fd"; # cyan
|
||||
accent = "#bd93f9"; # purple
|
||||
success = "#50fa7b"; # green
|
||||
warning = "#f1fa8c"; # yellow
|
||||
danger = "#ff5555"; # red
|
||||
};
|
||||
|
||||
# Shared styling tokens for CSS consumers
|
||||
tokens = {
|
||||
opacity = "opacity: 0.90;";
|
||||
borderRadius = "border-radius: 0.8rem;";
|
||||
|
||||
centerOptions = ''
|
||||
padding-top: 0.25rem;
|
||||
padding-bottom: 0.25rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
margin: 3px 0;
|
||||
'';
|
||||
|
||||
borderRight = ''
|
||||
padding-top: 0.25rem;
|
||||
padding-bottom: 0.25rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
margin: 3px 0;
|
||||
border-radius: 0rem 0.8rem 0.8rem 0rem;
|
||||
margin-right: 0.5rem;
|
||||
'';
|
||||
|
||||
borderLeft = ''
|
||||
padding-top: 0.25rem;
|
||||
padding-bottom: 0.25rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
margin: 3px 0;
|
||||
border-radius: 0.8rem 0rem 0rem 0.8rem;
|
||||
margin-left: 0.5rem;
|
||||
'';
|
||||
};
|
||||
|
||||
# Legacy token aliases for back-compat
|
||||
defaultOpacity = tokens.opacity;
|
||||
defaultBorderRadius = tokens.borderRadius;
|
||||
defaultCenterOptions = tokens.centerOptions;
|
||||
borderRight = tokens.borderRight;
|
||||
borderLeft = tokens.borderLeft;
|
||||
|
||||
# Back-compat: Nord-shaped groups for existing modules (approximate mappings)
|
||||
polarNight = {
|
||||
nord0 = "#282a36";
|
||||
nord1 = "#343746";
|
||||
nord2 = "#3b3e4a";
|
||||
nord3 = "#44475a";
|
||||
};
|
||||
|
||||
snowStorm = {
|
||||
nord4 = "#e2e2dc";
|
||||
nord5 = "#f1f1ea";
|
||||
nord6 = "#f8f8f2";
|
||||
};
|
||||
|
||||
frost = {
|
||||
nord7 = "#50fa7b"; # using green as one of the frost group
|
||||
nord8 = "#8be9fd"; # cyan
|
||||
nord9 = "#6272a4"; # blue
|
||||
nord10 = "#bd93f9"; # purple (as highlight)
|
||||
};
|
||||
|
||||
aurora = {
|
||||
nord11 = "#ff5555"; # red
|
||||
nord12 = "#ffb86c"; # orange
|
||||
nord13 = "#f1fa8c"; # yellow
|
||||
nord14 = "#50fa7b"; # green
|
||||
nord15 = "#bd93f9"; # magenta/purple
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user