refactor(treewide): cleanup and use rgbify mixin (#1511)

This commit is contained in:
uncenter authored and GitHub committed 2024-12-24 16:45:33 -05:00
1 parent a53832420b
commit 7acf913ebc
27 files changed
+76 -72

No files matched your search

+5 -5
View File
@@ -956,11 +956,7 @@
background-color: @surface0;
}
.language_list_languages.tw-ll-top::after {
background: linear-gradient(
to bottom,
rgba(red(@base), green(@base), blue(@base), 0),
rgba(red(@base), green(@base), blue(@base), 1)
);
background: linear-gradient(to bottom, transparent, @base);
}
.HsZQAe {
border-bottom-color: @surface2;
@@ -2423,6 +2419,10 @@
}
}
#rgbify(@color) {
@rgb: red(@color), green(@color), blue(@color);
}
/* prettier-ignore */
@catppuccin: {
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };