style: format code with prettier

This commit is contained in:
github-actions[bot] committed 2023-11-14 22:38:20 +00:00
1 parent 50e9913601
commit 099beb0160
1 file changed
+16 -8
+16 -8
View File
@@ -45,7 +45,7 @@
@base: #eff1f5; @base: #eff1f5;
@mantle: #e6e9ef; @mantle: #e6e9ef;
@crust: #dce0e8; @crust: #dce0e8;
} };
@frappe: { @frappe: {
@rosewater: #f2d5cf; @rosewater: #f2d5cf;
@@ -74,7 +74,7 @@
@base: #303446; @base: #303446;
@mantle: #292c3c; @mantle: #292c3c;
@crust: #232634; @crust: #232634;
} };
@macchiato: { @macchiato: {
@rosewater: #f4dbd6; @rosewater: #f4dbd6;
@@ -103,7 +103,7 @@
@base: #24273a; @base: #24273a;
@mantle: #1e2030; @mantle: #1e2030;
@crust: #181926; @crust: #181926;
} };
@mocha: { @mocha: {
@rosewater: #f5e0dc; @rosewater: #f5e0dc;
@@ -132,8 +132,8 @@
@base: #1e1e2e; @base: #1e1e2e;
@mantle: #181825; @mantle: #181825;
@crust: #11111b; @crust: #11111b;
} };
} };
#catppuccin(@lookup, @accent) { #catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater]; @rosewater: @catppuccin[@@lookup][@rosewater];
@@ -164,7 +164,11 @@
@crust: @catppuccin[@@lookup][@crust]; @crust: @catppuccin[@@lookup][@crust];
@accentColor: @catppuccin[@@lookup][@@accent]; @accentColor: @catppuccin[@@lookup][@@accent];
@linkColor: @accentColor; @linkColor: @accentColor;
@linkHover: if(@lookup =latte, darken(@accentColor, 5%), lighten(@accentColor, 5%)); @linkHover: if(
@lookup =latte,
darken(@accentColor, 5%),
lighten(@accentColor, 5%)
);
/* Regular Colors are called with a single `@` as they /* Regular Colors are called with a single `@` as they
* are just referencing the Variable directly. */ * are just referencing the Variable directly. */
background-color: @catppuccin[@@lookup][@base]; background-color: @catppuccin[@@lookup][@base];
@@ -194,8 +198,12 @@
} }
} }
@import (css) url("https://git.winston.sh/assets/css/theme-catppuccin-@{lightFlavor}-@{accentColor}.css") (prefers-color-scheme: light); @import (css)
@import (css) url("https://git.winston.sh/assets/css/theme-catppuccin-@{darkFlavor}-@{accentColor}.css") (prefers-color-scheme: dark); url("https://git.winston.sh/assets/css/theme-catppuccin-@{lightFlavor}-@{accentColor}.css")
(prefers-color-scheme: light);
@import (css)
url("https://git.winston.sh/assets/css/theme-catppuccin-@{darkFlavor}-@{accentColor}.css")
(prefers-color-scheme: dark);
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
#catppuccin(@lightFlavor, #catppuccin(@lightFlavor,