fix(duckduckgo): weather stuff (#1228)

* fix(duckduckgo): weather stuff

* chore: bump ver num
This commit is contained in:
Gen authored and GitHub committed 2024-08-23 01:19:32 -07:00
1 parent 831c6d1825
commit 7c7a63cd95
1 file changed
+14 -8
+14 -8
View File
@@ -2,7 +2,7 @@
@name DuckDuckGo Catppuccin
@namespace github.com/catppuccin/userstyles/styles/duckduckgo
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/duckduckgo
@version 0.2.6
@version 0.2.7
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/duckduckgo/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aduckduckgo
@description Soothing pastel theme for DuckDuckGo
@@ -545,33 +545,29 @@
.text--primary,
.tx-clr--dk,
.tx-clr--slate,
.module__temperature-unit:not(.module__temperature-unit--on) {
color: @subtext1 !important;
.module__temperature-unit:not(.module__temperature-unit--on), .module__items-day {
color: @subtext0 !important;
}
.module__temperature-unit,
.module__temperature-unit:hover {
color: @accent-color !important;
}
.module__detail__precip-label,
.module__items-precip-label,
.ia-module--module--definitions__reference,
.js-definitions-internal {
color: @blue !important;
}
.module__detail__hour-label {
.module__detail__hour-label, .module__current, .module__detail__temp-label, .module__items-unit--on {
color: @text !important;
}
.module__items-item {
background: @surface0 !important;
border-color: @surface2 !important;
}
.module__weatherkit-logo {
fill: @accent-color;
}
.module__warnings,
.module__temperature-unit--on {
border-color: @surface2 !important;
@@ -584,6 +580,16 @@
);
content: url("data:image/svg+xml,@{svg}");
}
//rain icon
.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>');
content: url("data:image/svg+xml,@{svg}");
width: 32px;
height: 32px;
margin-top: 5px;
margin-bottom:-5px;
max-width: 100%;
}
//calculator
.tile__ctrl__btn,