style: format code with prettier

This commit is contained in:
github-actions committed 2024-08-23 08:20:01 +00:00
1 parent 7c7a63cd95
commit 3cfd7c61e3
1 file changed
+18 -12
+18 -12
View File
@@ -545,7 +545,8 @@
.text--primary, .text--primary,
.tx-clr--dk, .tx-clr--dk,
.tx-clr--slate, .tx-clr--slate,
.module__temperature-unit:not(.module__temperature-unit--on), .module__items-day { .module__temperature-unit:not(.module__temperature-unit--on),
.module__items-day {
color: @subtext0 !important; color: @subtext0 !important;
} }
.module__temperature-unit, .module__temperature-unit,
@@ -558,7 +559,10 @@
.js-definitions-internal { .js-definitions-internal {
color: @blue !important; color: @blue !important;
} }
.module__detail__hour-label, .module__current, .module__detail__temp-label, .module__items-unit--on { .module__detail__hour-label,
.module__current,
.module__detail__temp-label,
.module__items-unit--on {
color: @text !important; color: @text !important;
} }
.module__items-item { .module__items-item {
@@ -580,16 +584,18 @@
); );
content: url("data:image/svg+xml,@{svg}"); content: url("data:image/svg+xml,@{svg}");
} }
//rain icon //rain icon
.module__items-icon-precip { .module__items-icon-precip {
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40" fill="none"><path d="M12.35 22.064a1 1 0 0 1 .586 1.287l-3 8a1 1 0 0 1-1.873-.702l3-8a1 1 0 0 1 1.288-.585m3.999 0a1 1 0 0 1 .586 1.287l-3 8a1 1 0 1 1-1.873-.702l3-8a1 1 0 0 1 1.288-.585m4.585 1.287a1 1 0 0 0-1.872-.702l-3 8a1 1 0 1 0 1.872.702zm3.414-1.287a1 1 0 0 1 .586 1.287l-3 8a1 1 0 1 1-1.872-.702l3-8a1 1 0 0 1 1.287-.585m4.585 1.287a1 1 0 0 0-1.872-.702l-3 8a1 1 0 1 0 1.872.702z" fill="@{blue}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.256 14.313a6.5 6.5 0 0 1 12.486-3.633A4 4 0 0 1 28.874 14H29a5 5 0 0 1 0 10H11a5 5 0 0 1-1.744-9.687" fill="@{text}"/></svg>'); @svg: escape(
content: url("data:image/svg+xml,@{svg}"); '<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40" fill="none"><path d="M12.35 22.064a1 1 0 0 1 .586 1.287l-3 8a1 1 0 0 1-1.873-.702l3-8a1 1 0 0 1 1.288-.585m3.999 0a1 1 0 0 1 .586 1.287l-3 8a1 1 0 1 1-1.873-.702l3-8a1 1 0 0 1 1.288-.585m4.585 1.287a1 1 0 0 0-1.872-.702l-3 8a1 1 0 1 0 1.872.702zm3.414-1.287a1 1 0 0 1 .586 1.287l-3 8a1 1 0 1 1-1.872-.702l3-8a1 1 0 0 1 1.287-.585m4.585 1.287a1 1 0 0 0-1.872-.702l-3 8a1 1 0 1 0 1.872.702z" fill="@{blue}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.256 14.313a6.5 6.5 0 0 1 12.486-3.633A4 4 0 0 1 28.874 14H29a5 5 0 0 1 0 10H11a5 5 0 0 1-1.744-9.687" fill="@{text}"/></svg>'
width: 32px; );
height: 32px; content: url("data:image/svg+xml,@{svg}");
margin-top: 5px; width: 32px;
margin-bottom:-5px; height: 32px;
max-width: 100%; margin-top: 5px;
} margin-bottom: -5px;
max-width: 100%;
}
//calculator //calculator
.tile__ctrl__btn, .tile__ctrl__btn,