fix(duckduckgo): stocks infobox + ai chat (#931)

i love ai chat /s
This commit is contained in:
Gen authored and GitHub committed 2024-05-31 09:10:21 -07:00
1 parent 485d288f4f
commit fbde46938c
1 file changed
+119 -4
+119 -4
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.0
@version 0.2.1
@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
@@ -148,6 +148,23 @@
--theme-col-bg-ui: @mantle !important;
--theme-col-bg-header-modal: @surface0 !important;
--theme-col-bg-button-primary: @blue !important;
/* ai chat */
--theme-dc-color-background-dark: @base !important;
--theme-dc-color-gpt-main: @mauve !important;
--theme-dc-color-gpt-bg: @mauve !important;
--theme-dc-color-claude-main: @green !important;
--theme-dc-color-claude-bg: @green !important;
--sds-color-background-destructive: @red !important;
--sds-color-text-on-dark-01: @text !important;
--theme-dc-color-fire-button: fade(@red, 40%) !important;
--sds-color-background-destructive-state-01: @red !important;
--sds-color-background-destructive-state-02: @red !important;
--sds-color-text-destructive: @red !important;
--sds-color-text-success: @green !important;
--sds-color-text-link-01: @blue !important;
--sds-color-background-container-01: @surface0 !important;
--sds-color-border-accent-01: @accent-color !important;
--theme-dc-color-container-message: @surface0 !important;
.footer,
.footer--mobile,
@@ -203,6 +220,106 @@
color: @text !important;
}
/* button on hover */
.btn:hover:not(.is-disabled) {
background-color: @mantle;
color: @blue;
border-color: @mantle;
}
/* stocks infobox */
.stocks-module__currentPrice,
.stocks-module__exchange,
.stocks-module__currency,
.stocks-module__stats {
color: @text;
}
.stocks-module__timePeriod {
background-color: @surface2;
color: @text;
}
.stocks-module__latestUpdate,
.ia-module--stocks a.stocks-module__attribution,
.stocks-module__footer {
color: @subtext1;
}
.stocks-module__timePeriod.selected {
color: @mantle;
background-color: @accent-color;
}
.ia-module--stocks.increase .color-coded {
color: @green !important;
}
.stocks-module__hover-label {
&[style*="color: rgb(222, 88, 51);"] {
color: @red !important;
}
&[style*="color: rgb(91, 158, 77);"] {
color: @green !important;
}
}
.ia-module--stocks.increase .color-coded path {
stroke: @green;
fill: @green;
}
.ia-module--stocks
.stocks-module__chart-area-row
.stocks-module__chart
svg {
[stroke="#de5833"] {
stroke: @red !important;
}
[fill="#de5833"] {
fill: @red !important;
}
[stroke="#5b9e4d"] {
stroke: @green !important;
[fill="#5b9e4d"] {
fill: @green !important;
}
}
}
.ia-module--stocks.decrease .color-coded {
color: @red;
}
.ia-module--stocks.decrease .color-coded path {
stroke: @red;
fill: @red;
}
.ia-module--stocks
.stocks-module__stats-wrapper
.stocks-module__stats
.stocks-module__stat-col
.stocks-module__stat {
border-bottom-color: @overlay0;
}
.stocks-module__chart .horizontal-line,
.stocks-module__chart .vertical-line,
.stocks-module__chart .prev-close-line {
stroke: @surface2;
}
/* color box */
.tx-clr--lt {
color: @text;
}
.tx-clr--dk2 {
color: @subtext0;
}
/* ai chat >:( */
.feedback-external__link {
color: @blue;
}
.feedback-duckchat-modal__disclaimer {
color: @text;
}
.feedback-modal__radio {
color: @text;
}
.modal__close {
color: @text;
}
/* lyrics box */
.js-lyrics-module {
color: @subtext1 !important;
@@ -294,6 +411,7 @@
.is-link-style-exp .btn--primary:not(.is-disabled) {
background-color: @blue !important;
border-color: @blue !important;
color: @mantle !important;
}
.featureCards_dark__5Xbsn {
@@ -389,19 +507,16 @@
border-color: @surface2 !important;
color: @text !important;
}
.tile__tab__sci .tile__ctrl__btn,
.tile__ctrl__toggle {
background-color: @surface2 !important;
color: @text !important;
border-color: @overlay0 !important;
}
.tile__display__main,
.tile__past-result {
color: @text !important;
}
.tile__display {
box-shadow:
inset -1px -1px 0 @overlay0,