fix(duckduckgo): weather info box (#560)

fix(duckduckgo): weather info box

while i was trying to check the weather, i found out it was not themed, and that annoyed the heck out of me, so i themed it :)
This commit is contained in:
Gen authored and GitHub committed 2024-02-26 12:41:46 -08:00
1 parent 54ea856e80
commit 33d557195e
1 file changed
+40 -2
+40 -2
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.0.4
@version 0.0.5
@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
@@ -153,13 +153,51 @@
.page-chrome_newtab,
.zci--type--tiles:not(.is-fallback).is-full-page.is-expanded,
.zci--type--tiles:not(.is-fallback).is-full-page.is-expanded
.metabar:not(.is-stuck) {
.metabar:not(.is-stuck) {
background-color: @base !important;
}
.featureCards_dark__5Xbsn {
background: linear-gradient(180deg, @yellow, @blue);
}
// weather info box
.forecast-wrapper .module__weather-warning--red, .module__weather-warning--red:hover, .module__weather-warning--red:focus, .module__weather-warning--red:visited {
color: @red !important;
}
.module__weather-warning {
color: @yellow !important;
}
.text--primary, .tx-clr--dk, .tx-clr--slate, .module__temperature-unit:not(.module__temperature-unit--on), {
color: @subtext1 !important;
}
.module__temperature-unit, .module__temperature-unit:hover {
color: @accent-color !important;
}
.module__detail__precip-label, .module__items-precip-label {
color: @blue !important;
}
.module__detail__hour-label {
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;
}
//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>');
background-image: url("data:image/svg+xml,@{svg}") !important;
}
.modal__header__clear,
.sep--before,
.js-region-filter-clear,