style: format code with prettier

This commit is contained in:
github-actions committed 2024-04-03 06:48:03 +00:00
1 parent f8345ba8c9
commit 0c71187de2
1 file changed
+12 -8
+12 -8
View File
@@ -179,19 +179,23 @@
/* maths */ /* maths */
img.mwe-math-fallback-image-inline { img.mwe-math-fallback-image-inline {
& when (@lookup = latte) { & when (@lookup = latte) {
filter: brightness(0) saturate(100%) invert(31%) sepia(9%) saturate(1499%) hue-rotate(196deg) brightness(90%) contrast(85%); filter: brightness(0) saturate(100%) invert(31%) sepia(9%)
saturate(1499%) hue-rotate(196deg) brightness(90%) contrast(85%);
} }
& when (@lookup = frappe) { & when (@lookup = frappe) {
filter: brightness(0) saturate(100%) invert(92%) sepia(6%) saturate(3753%) hue-rotate(184deg) brightness(93%) contrast(106%); filter: brightness(0) saturate(100%) invert(92%) sepia(6%)
saturate(3753%) hue-rotate(184deg) brightness(93%) contrast(106%);
} }
& when (@lookup = macchiato) { & when (@lookup = macchiato) {
filter: brightness(0) saturate(100%) invert(82%) sepia(7%) saturate(1042%) hue-rotate(193deg) brightness(103%) contrast(92%); filter: brightness(0) saturate(100%) invert(82%) sepia(7%)
saturate(1042%) hue-rotate(193deg) brightness(103%) contrast(92%);
} }
& when (@lookup = mocha) { & when (@lookup = mocha) {
filter: brightness(0) saturate(100%) invert(83%) sepia(28%) saturate(223%) hue-rotate(190deg) brightness(99%) contrast(93%); filter: brightness(0) saturate(100%) invert(83%) sepia(28%)
saturate(223%) hue-rotate(190deg) brightness(99%) contrast(93%);
} }
} }
@@ -1061,7 +1065,7 @@
} }
.frb-message::after { .frb-message::after {
border-left-color: @green border-left-color: @green;
} }
} }
@@ -1166,19 +1170,19 @@
@svg: escape( @svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6.7 12"><path d="M.9 0 0 .9 5.1 6 0 11.1l.9.9 5.5-5.5c.3-.3.3-.7 0-.9z" fill="@{base}"/></svg>' '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 6.7 12"><path d="M.9 0 0 .9 5.1 6 0 11.1l.9.9 5.5-5.5c.3-.3.3-.7 0-.9z" fill="@{base}"/></svg>'
); );
background-image: url('data:image/svg+xml,@{svg}') !important; background-image: url("data:image/svg+xml,@{svg}") !important;
} }
.frb-back { .frb-back {
@svg-raw: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 16"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><path stroke="@{subtext0}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.778" d="M7.181 13.285.753 7 7.181.715"/><rect fill="@{subtext0}" width="18.182" height="1.778" x=".818" y="6.111" rx=".889"/></g></svg>'; @svg-raw: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 16"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><path stroke="@{subtext0}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.778" d="M7.181 13.285.753 7 7.181.715"/><rect fill="@{subtext0}" width="18.182" height="1.778" x=".818" y="6.111" rx=".889"/></g></svg>';
@svg: escape(@svg-raw); @svg: escape(@svg-raw);
background-image: url('data:image/svg+xml,@{svg}') !important; background-image: url("data:image/svg+xml,@{svg}") !important;
} }
.frb-close { .frb-close {
@svg-raw: '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><g stroke="@{subtext0}" fill="none" stroke-linecap="round"><path d="M1 1 l8 8 M9 1 l-8 8"></path></g></svg>'; @svg-raw: '<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><g stroke="@{subtext0}" fill="none" stroke-linecap="round"><path d="M1 1 l8 8 M9 1 l-8 8"></path></g></svg>';
@svg: escape(@svg-raw); @svg: escape(@svg-raw);
background-image: url('data:image/svg+xml,@{svg}') !important; background-image: url("data:image/svg+xml,@{svg}") !important;
} }
.sprite { .sprite {