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
+19 -11
+19 -11
View File
@@ -16,7 +16,7 @@
/* If you need any help with the information above, please see: https://github.com/openstyles/stylus/wiki/Writing-UserCSS#var */ /* If you need any help with the information above, please see: https://github.com/openstyles/stylus/wiki/Writing-UserCSS#var */
/* Apply Theme To Site /* Apply Theme To Site
* For help with URL rules, please see https://github.com/openstyles/stylus/wiki/Writing-styles#valid--moz-document-rules */ * For help with URL rules, please see https://github.com/openstyles/stylus/wiki/Writing-styles#valid--moz-document-rules */
@-moz-document domain('codeberg.org') { @-moz-document domain('codeberg.org') {
@catppuccin: { @catppuccin: {
@latte: { @latte: {
@rosewater: #dc8a78; @rosewater: #dc8a78;
@@ -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,15 +198,19 @@
} }
} }
@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,
@accentColor); @accentColor);
} }
@media(prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#catppuccin(@darkFlavor, #catppuccin(@darkFlavor,
@accentColor); @accentColor);
} }