style: deno fmt

This commit is contained in:
github-actions committed 2025-05-01 07:57:32 +00:00
1 parent dca86ff177
commit 9961ffec33
1 file changed
+42 -44
+42 -44
View File
@@ -67,45 +67,45 @@
} }
} }
--accent-brand: #hslify(@accent) []; --accent-brand: #hslify(@accent)[];
--accent-main-000: #hslify(@accent) []; --accent-main-000: #hslify(@accent)[];
--accent-main-100: #hslify(@accent) []; --accent-main-100: #hslify(@accent)[];
--accent-main-200: #hslify(@accent) []; --accent-main-200: #hslify(@accent)[];
--accent-main-900: #hslify(@accent) []; --accent-main-900: #hslify(@accent)[];
--accent-pro-000: #hslify(@accent) []; --accent-pro-000: #hslify(@accent)[];
--accent-pro-100: #hslify(@accent) []; --accent-pro-100: #hslify(@accent)[];
--accent-pro-200: #hslify(@accent) []; --accent-pro-200: #hslify(@accent)[];
--accent-pro-900: #hslify(@accent) []; --accent-pro-900: #hslify(@accent)[];
--accent-secondary-000: #hslify(@accent) []; --accent-secondary-000: #hslify(@accent)[];
--accent-secondary-100: #hslify(@accent) []; --accent-secondary-100: #hslify(@accent)[];
--accent-secondary-200: #hslify(@accent) []; --accent-secondary-200: #hslify(@accent)[];
--accent-secondary-900: #hslify(@accent) []; --accent-secondary-900: #hslify(@accent)[];
--bg-000: #hslify(@mantle) []; --bg-000: #hslify(@mantle)[];
--bg-100: #hslify(@base) []; --bg-100: #hslify(@base)[];
--bg-200: #hslify(@base) []; --bg-200: #hslify(@base)[];
--bg-300: #hslify(@surface0) []; --bg-300: #hslify(@surface0)[];
--bg-400: #hslify(@surface1) []; --bg-400: #hslify(@surface1)[];
--bg-500: #hslify(@surface2) []; --bg-500: #hslify(@surface2)[];
--border-000: #hslify(@base) []; --border-000: #hslify(@base)[];
--border-100: #hslify(@crust) []; --border-100: #hslify(@crust)[];
--border-200: #hslify(@crust) []; --border-200: #hslify(@crust)[];
--border-300: #hslify(@overlay0) []; --border-300: #hslify(@overlay0)[];
--border-400: #hslify(@overlay1) []; --border-400: #hslify(@overlay1)[];
--border-500: #hslify(@overlay2) []; --border-500: #hslify(@overlay2)[];
--danger-000: #hslify(@maroon) []; --danger-000: #hslify(@maroon)[];
--danger-100: #hslify(@red) []; --danger-100: #hslify(@red)[];
--danger-200: #hslify(@red) []; --danger-200: #hslify(@red)[];
--danger-900: #hslify(@pink) []; --danger-900: #hslify(@pink)[];
--oncolor-000: #hslify(darken(@mantle, 5%)) []; --oncolor-000: #hslify(darken(@mantle, 5%))[];
--oncolor-100: #hslify(@mantle) []; --oncolor-100: #hslify(@mantle)[];
--oncolor-200: #hslify(@mantle) []; --oncolor-200: #hslify(@mantle)[];
--oncolor-300: #hslify(lighten(@mantle, 5%)) []; --oncolor-300: #hslify(lighten(@mantle, 5%))[];
--text-000: #hslify(darken(@text, 5%)) []; --text-000: #hslify(darken(@text, 5%))[];
--text-100: #hslify(@text) []; --text-100: #hslify(@text)[];
--text-200: #hslify(@text) []; --text-200: #hslify(@text)[];
--text-300: #hslify(@subtext0) []; --text-300: #hslify(@subtext0)[];
--text-400: #hslify(@subtext1) []; --text-400: #hslify(@subtext1)[];
--text-500: #hslify(@subtext0) []; --text-500: #hslify(@subtext0)[];
/* Side bar */ /* Side bar */
nav.\!bg-bg-200 { nav.\!bg-bg-200 {
@@ -222,7 +222,7 @@
button.hover\:bg-accent-secondary-900.hover\:text-accent-secondary-000 { button.hover\:bg-accent-secondary-900.hover\:text-accent-secondary-000 {
color: @accent !important; color: @accent !important;
&:hover { &:hover {
color: @base !important; color: @base !important;
} }
} }
@@ -230,16 +230,14 @@
button.\!text-accent-secondary-100.hover\:\!bg-accent-secondary-900 { button.\!text-accent-secondary-100.hover\:\!bg-accent-secondary-900 {
color: @accent !important; color: @accent !important;
&:hover { &:hover {
color: @base !important; color: @base !important;
} }
} }
} }
} }
#hslify(@color) { #hslify(@color) {
@raw: e( @raw: e(%("%s %s% %s%", hue(@color), saturation(@color), lightness(@color)));
%("%s %s% %s%", hue(@color), saturation(@color), lightness(@color))
);
} }
/* deno-fmt-ignore */ /* deno-fmt-ignore */