style: format code with prettier

This commit is contained in:
github-actions committed 2024-11-17 22:15:00 +00:00
1 parent 164aeb0b12
commit 28de7f8027
1 file changed
+8 -5
+8 -5
View File
@@ -35,7 +35,6 @@
var(--bs-bg-opacity) var(--bs-bg-opacity)
) !important; ) !important;
} }
} }
#catppuccin(@lookup, @accent) { #catppuccin(@lookup, @accent) {
@@ -84,7 +83,7 @@
} }
.form-control:focus { .form-control:focus {
border-color: @accent-color; border-color: @accent-color;
box-shadow: 0 0 0 .25rem fade(@accent-color, 25%); box-shadow: 0 0 0 0.25rem fade(@accent-color, 25%);
} }
--bs-border-color: @surface1; --bs-border-color: @surface1;
--bs-border-color-translucent: @surface0; --bs-border-color-translucent: @surface0;
@@ -233,12 +232,16 @@
.btn-close-white, .btn-close-white,
.btn-close { .btn-close {
--bs-btn-close-color: @surface0; --bs-btn-close-color: @surface0;
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="@{surface1}"><path d="M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414"/></svg>'); @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="@{surface1}"><path d="M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414"/></svg>'
);
--bs-btn-close-bg: url("data:image/svg+xml,@{svg}"); --bs-btn-close-bg: url("data:image/svg+xml,@{svg}");
--bs-btn-close-opacity: 1.0; --bs-btn-close-opacity: 1;
} }
.navbar-toggler-icon { .navbar-toggler-icon {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path stroke="@{surface1}" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/></svg>'); @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path stroke="@{surface1}" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/></svg>'
);
--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,@{svg}"); --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,@{svg}");
} }
} }