fix(duckduckgo): various unthemed elements (#737)

* fix(duckduckgo): on/off buttons + save and exit buttons on settings page + selected theme checkmark

* fix(duckduckgo): assorted fixes part 2

* fix(duckduckgo): carousel item border color
This commit is contained in:
Gen authored and GitHub committed 2024-04-02 11:10:35 -07:00
1 parent b6c6c49b6c
commit f2ea0e79f8
1 file changed
+48 -26
+48 -26
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.1.3 @version 0.1.4
@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
@@ -16,15 +16,12 @@
==/UserStyle== */ ==/UserStyle== */
@-moz-document domain(duckduckgo.com) { @-moz-document domain(duckduckgo.com) {
@media (prefers-color-scheme: light) { :root:not(.dark-bg) {
:root { #catppuccin(@lightFlavor, @accentColor);
#catppuccin(@lightFlavor, @accentColor);
}
} }
@media (prefers-color-scheme: dark) {
:root { :root.dark-bg {
#catppuccin(@darkFlavor, @accentColor); #catppuccin(@darkFlavor, @accentColor);
}
} }
/* prettier-ignore */ /* prettier-ignore */
@@ -492,13 +489,8 @@
.howItWorksSection_downloadsCard__U3Ph9, .howItWorksSection_downloadsCard__U3Ph9,
.metabar__grid-btn, .metabar__grid-btn,
.feedback-btn__icon-wrap .set-bookmarklet__input .btn, .feedback-btn__icon-wrap .set-bookmarklet__input .btn,
.btn:visited,
.btn:active,
.btn.btn--primary,
.btn.btn--secondary, .btn.btn--secondary,
.btn--primary:hover,
.btn.is-disabled, .btn.is-disabled,
.btn.is-disabled:hover,
input, input,
textarea, textarea,
.frm__input, .frm__input,
@@ -509,10 +501,8 @@
.zci--json_validator textarea, .zci--json_validator textarea,
.colorpicker, .colorpicker,
.feedback-modal__submit.is-disabled, .feedback-modal__submit.is-disabled,
.feedback-modal__submit.is-disabled:hover,
.feedback-modal__submit.is-disabled:active, .feedback-modal__submit.is-disabled:active,
.feedback-modal__submit.is-disabled:focus, .feedback-modal__submit.is-disabled:focus,
.btn.btn--skeleton:hover,
.module__section, .module__section,
.module--carousel__item, .module--carousel__item,
.is-related-search-exp.dark-bg, .is-related-search-exp.dark-bg,
@@ -524,7 +514,37 @@
.js-definitions-internal { .js-definitions-internal {
background-color: @surface0 !important; background-color: @surface0 !important;
} }
.module--carousel__item {
border-color: @surface1 !important;
}
.btn.is-disabled:hover,
.frm__switch__label:hover,
.feedback-modal__submit.is-disabled:hover,
.btn.btn--skeleton:hover,
.module__footer-carousel__label:hover {
background-color: @surface2 !important;
border-color: @surface2 !important;
}
.is-checked .frm__switch__label.btn {
background-color: @accent-color !important;
color: @mantle !important;
}
.js-set-exit {
background-color: @accent-color !important;
border-color: @accent-color !important;
color: @base !important;
}
.js-set-exit:hover {
background-color: fade(@accent-color, 80%) !important;
border-color: fade(@accent-color, 80%) !important;
color: @base !important;
}
.frm__switch__label {
background-color: @surface0;
border-color: @surface0;
color: @text !important;
}
.set-bookmarklet__data { .set-bookmarklet__data {
background-color: @surface2; background-color: @surface2;
color: @text; color: @text;
@@ -608,7 +628,6 @@
.c-detail__desc, .c-detail__desc,
.c-detail__filemeta, .c-detail__filemeta,
.c-detail__more, .c-detail__more,
.btn,
.frm__label, .frm__label,
.js-cloudsave-new-suggestion { .js-cloudsave-new-suggestion {
color: @text !important; color: @text !important;
@@ -683,10 +702,10 @@
color: @base !important; color: @base !important;
} }
.settings-page-wrapper .btn--primary { .settings-page-wrapper.is-checked {
border-color: @blue; border-color: @blue;
background-color: @blue !important; background-color: @sapphire !important;
color: @crust !important; color: @mantle !important;
} }
.modal--dropdown--settings .modal--dropdown--settings
.settings-dropdown--section .settings-dropdown--section
@@ -696,14 +715,19 @@
color: @text !important; color: @text !important;
} }
} }
.ddgsi-check::before {
color: @mantle !important;
}
.set-bookmarklet__title,
.set-reset__title {
color: @text !important;
}
.frm__select::after { .frm__select::after {
color: @accent-color !important; color: @accent-color !important;
} }
.js-region-filter-switch, .js-region-filter-switch {
.frm__switch__label {
background-color: @overlay0 !important; background-color: @overlay0 !important;
border-color: @accent-color !important;
} }
.switch__knob { .switch__knob {
background: @text !important; background: @text !important;
@@ -711,9 +735,7 @@
.switch.is-on { .switch.is-on {
background-color: @accent-color; background-color: @accent-color;
} }
.dropdown__switch.is-on::before {
.dropdown__switch.is-on::before,
.frm__switch__label {
color: @base !important; color: @base !important;
} }
.search--header { .search--header {