fix(duckduckgo): unthemed elements (#1433)

This commit is contained in:
thismoon authored and GitHub committed 2024-11-10 11:59:26 -08:00
1 parent 669109a043
commit bea736fff8
1 file changed
+26 -8
+26 -8
View File
@@ -2,7 +2,7 @@
@name DuckDuckGo Catppuccin @name DuckDuckGo Catppuccin
@namespace github.com/catppuccin/userstyles/styles/duckduckgo @namespace github.com/catppuccin/userstyles/styles/duckduckgo
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/duckduckgo @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/duckduckgo
@version 0.3.0 @version 0.3.1
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/duckduckgo/catppuccin.user.css @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aduckduckgo
@description Soothing pastel theme for DuckDuckGo @description Soothing pastel theme for DuckDuckGo
@@ -92,6 +92,7 @@
--theme-col-border-ui: @surface1 !important; --theme-col-border-ui: @surface1 !important;
--theme-col-bg-expandcollapse: @surface0 !important; --theme-col-bg-expandcollapse: @surface0 !important;
--sds-color-palette-gray-60: @accent-color !important; --sds-color-palette-gray-60: @accent-color !important;
--sds-color-text-accent-01: @accent-color !important;
--theme-col-txt-msg: @text !important; --theme-col-txt-msg: @text !important;
--theme-col-txt-url-path: @subtext0 !important; --theme-col-txt-url-path: @subtext0 !important;
--theme-col-border-expandcollapse: @surface1; --theme-col-border-expandcollapse: @surface1;
@@ -161,6 +162,7 @@
--theme-col-bg-header: @mantle !important; --theme-col-bg-header: @mantle !important;
--theme-col-bg-header-modal: @surface0 !important; --theme-col-bg-header-modal: @surface0 !important;
--theme-col-bg-button-primary: @blue !important; --theme-col-bg-button-primary: @blue !important;
--sds-color-background-dark: @crust !important;
/* ai chat */ /* ai chat */
--sds-color-text-link-02-hover: @text !important; --sds-color-text-link-02-hover: @text !important;
--theme-dc-color-background-dark: @base !important; --theme-dc-color-background-dark: @base !important;
@@ -184,6 +186,7 @@
--sds-color-background-accent-01: @accent-color !important; --sds-color-background-accent-01: @accent-color !important;
--theme-col-txt-card-body-light: @text !important; --theme-col-txt-card-body-light: @text !important;
--theme-col-bg-page-alt-2: @surface0 !important; --theme-col-bg-page-alt-2: @surface0 !important;
--theme-col-bg-ui-active: @surface1 !important;
--theme-dc-color-llama-main: @pink !important; --theme-dc-color-llama-main: @pink !important;
--theme-dc-color-mixtral-main: @peach !important; --theme-dc-color-mixtral-main: @peach !important;
--theme-dc-color-anchor-sleep: @subtext0 !important; --theme-dc-color-anchor-sleep: @subtext0 !important;
@@ -329,7 +332,7 @@
} }
.module__toggle--more::after { .module__toggle--more::after {
background: linear-gradient(rgba(40, 40, 40, 0), @surface0); background: linear-gradient(transparent, @surface0);
} }
/* button on hover */ /* button on hover */
@@ -448,6 +451,14 @@
.module__inner-toggle::after { .module__inner-toggle::after {
background-color: @surface2 !important; background-color: @surface2 !important;
} }
.module--lyrics:not(.is-expanded)
.module--lyrics__footer.can-expand::after {
background: linear-gradient(transparent, @surface0);
}
.module--lyrics__explicit-tag {
border-color: @subtext1;
color: @subtext0;
}
// translation boxes // translation boxes
.module--translations .dropdown--translation-select, .module--translations .dropdown--translation-select,
@@ -500,7 +511,7 @@
color: @text !important; color: @text !important;
} }
code { code {
background-color: @base !important; background-color: @mantle !important;
} }
.lit { .lit {
color: @peach !important; color: @peach !important;
@@ -828,6 +839,13 @@
border-color: @surface1 !important; border-color: @surface1 !important;
} }
.modal__header,
.module__section,
.module__section:first-child.place-detail__section--tab,
.module__clickable-header {
border-color: @surface1 !important;
}
.btn.is-disabled:hover, .btn.is-disabled:hover,
.frm__switch__label:hover, .frm__switch__label:hover,
.feedback-modal__submit.is-disabled:hover, .feedback-modal__submit.is-disabled:hover,
@@ -861,11 +879,11 @@
} }
.metabar__dropdowns-wrap::before { .metabar__dropdowns-wrap::before {
background-image: linear-gradient(90deg, @base, rgba(255, 255, 255, 0)); background-image: linear-gradient(90deg, @base, transparent);
} }
.metabar__dropdowns-wrap::after { .metabar__dropdowns-wrap::after {
background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), @base); background-image: linear-gradient(90deg, transparent, @base);
} }
.nav-menu__item__badge { .nav-menu__item__badge {
@@ -880,14 +898,14 @@
} }
.zcm--right-fade::before { .zcm--right-fade::before {
background: linear-gradient(90deg, rgba(255, 255, 255, 0), @mantle); background: linear-gradient(90deg, transparent, @mantle);
} }
.search-filters-wrap::before { .search-filters-wrap::before {
background: linear-gradient(90deg, @base, rgba(255, 255, 255, 0)); background: linear-gradient(90deg, @base, transparent);
} }
.search-filters-wrap::after { .search-filters-wrap::after {
background: linear-gradient(90deg, rgba(255, 255, 255, 0), @base); background: linear-gradient(90deg, transparent, @base);
} }
.footer, .footer,