style: format code with prettier

This commit is contained in:
github-actions committed 2024-02-26 20:42:18 +00:00
1 parent 33d557195e
commit 9bc4a8abc0
1 file changed
+18 -6
+18 -6
View File
@@ -161,20 +161,28 @@
} }
// weather info box // weather info box
.forecast-wrapper .module__weather-warning--red, .module__weather-warning--red:hover, .module__weather-warning--red:focus, .module__weather-warning--red:visited { .forecast-wrapper .module__weather-warning--red,
.module__weather-warning--red:hover,
.module__weather-warning--red:focus,
.module__weather-warning--red:visited {
color: @red !important; color: @red !important;
} }
.module__weather-warning { .module__weather-warning {
color: @yellow !important; color: @yellow !important;
} }
.text--primary, .tx-clr--dk, .tx-clr--slate, .module__temperature-unit:not(.module__temperature-unit--on), { .text--primary,
.tx-clr--dk,
.tx-clr--slate,
.module__temperature-unit:not(.module__temperature-unit--on) {
color: @subtext1 !important; color: @subtext1 !important;
} }
.module__temperature-unit, .module__temperature-unit:hover { .module__temperature-unit,
.module__temperature-unit:hover {
color: @accent-color !important; color: @accent-color !important;
} }
.module__detail__precip-label, .module__items-precip-label { .module__detail__precip-label,
.module__items-precip-label {
color: @blue !important; color: @blue !important;
} }
@@ -190,11 +198,15 @@
fill: @accent-color; fill: @accent-color;
} }
.module__warnings, .module__temperature-unit--on { .module__warnings,
.module__temperature-unit--on {
border-color: @surface2 !important; border-color: @surface2 !important;
} }
//raindrop icon //raindrop icon
.module__items-precip-label__icon {@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none"><path d="M8.33853 4.317L5.48678 0L2.64997 4.3072C2.14775 5.03131 1.92431 5.92068 2.02272 6.8039C2.12114 7.68713 2.53443 8.50169 3.18295 9.09058C4.50942 10.2992 6.50617 10.3036 7.82757 9.10081C8.47398 8.51033 8.88422 7.69469 8.97896 6.81162C9.07371 5.92854 8.84623 5.04075 8.34051 4.31992L8.33853 4.317Z" fill="@{blue}"/>/svg>'); .module__items-precip-label__icon {
@svg: escape(
'<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10" fill="none"><path d="M8.33853 4.317L5.48678 0L2.64997 4.3072C2.14775 5.03131 1.92431 5.92068 2.02272 6.8039C2.12114 7.68713 2.53443 8.50169 3.18295 9.09058C4.50942 10.2992 6.50617 10.3036 7.82757 9.10081C8.47398 8.51033 8.88422 7.69469 8.97896 6.81162C9.07371 5.92854 8.84623 5.04075 8.34051 4.31992L8.33853 4.317Z" fill="@{blue}"/>/svg>'
);
background-image: url("data:image/svg+xml,@{svg}") !important; background-image: url("data:image/svg+xml,@{svg}") !important;
} }