fix(duckduckgo): startpage + calculator (#1221)
* fix(duckduckgo): startpage + calculator
This commit is contained in:
1 file changed
+121
-4
@@ -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.5
|
||||
@version 0.2.6
|
||||
@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
|
||||
@@ -150,6 +150,7 @@
|
||||
--theme-col-bg-header-modal: @surface0 !important;
|
||||
--theme-col-bg-button-primary: @blue !important;
|
||||
/* ai chat */
|
||||
--sds-color-text-link-02-hover: @text !important;
|
||||
--theme-dc-color-background-dark: @base !important;
|
||||
--theme-dc-color-gpt-main: @mauve !important;
|
||||
--theme-dc-color-gpt-bg: @mauve !important;
|
||||
@@ -201,6 +202,10 @@
|
||||
.metabar:not(.is-stuck) {
|
||||
background-color: @base !important;
|
||||
}
|
||||
/* .dropdown--settings--icon .dropdown__button:after needs visibility: hidden, otherwise we get a case of clashing icons */
|
||||
.dropdown__button::after {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
/* privacy reminders */
|
||||
.wXKLp5dS9jGvo097pfaG,
|
||||
@@ -584,10 +589,19 @@
|
||||
.tile__ctrl__btn,
|
||||
.tile__history,
|
||||
.tile__past-calc {
|
||||
background-color: @surface0 !important;
|
||||
background: @surface0 !important;
|
||||
border-color: @surface2 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
.attribution--link__icon {
|
||||
color: @text;
|
||||
}
|
||||
.tile__ctrl__toggle-slider {
|
||||
background: @surface1 !important;
|
||||
}
|
||||
.tile__ctrl__toggle-slider::before {
|
||||
background-color: @mantle !important;
|
||||
}
|
||||
.tile__tab__sci .tile__ctrl__btn,
|
||||
.tile__ctrl__toggle {
|
||||
background-color: @surface2 !important;
|
||||
@@ -598,6 +612,9 @@
|
||||
.tile__past-result {
|
||||
color: @text !important;
|
||||
}
|
||||
.tile__display__main {
|
||||
background-color: @base !important;
|
||||
}
|
||||
.tile__display {
|
||||
box-shadow:
|
||||
inset -1px -1px 0 @overlay0,
|
||||
@@ -611,15 +628,17 @@
|
||||
inset -1px -1px 0 @blue,
|
||||
inset 1px 1px 0 @blue !important;
|
||||
}
|
||||
|
||||
.tile__ctrl--important {
|
||||
background-color: @yellow !important;
|
||||
color: @mantle !important;
|
||||
}
|
||||
.tile__display__aside,
|
||||
.tile__past-formula {
|
||||
.tile__past-formula, .tile__option {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
.tile__option--active {
|
||||
color: @accent-color !important;
|
||||
}
|
||||
|
||||
.bg-delayed-color {
|
||||
background-color: @red;
|
||||
@@ -1076,6 +1095,104 @@
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-document domain(start.duckduckgo.com) {
|
||||
:root:not(.theme-dark) {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
}
|
||||
|
||||
:root.theme-dark{
|
||||
#catppuccin(@darkFlavor, @accentColor);
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@flamingo: @catppuccin[@@lookup][@flamingo];
|
||||
@pink: @catppuccin[@@lookup][@pink];
|
||||
@mauve: @catppuccin[@@lookup][@mauve];
|
||||
@red: @catppuccin[@@lookup][@red];
|
||||
@maroon: @catppuccin[@@lookup][@maroon];
|
||||
@peach: @catppuccin[@@lookup][@peach];
|
||||
@yellow: @catppuccin[@@lookup][@yellow];
|
||||
@green: @catppuccin[@@lookup][@green];
|
||||
@teal: @catppuccin[@@lookup][@teal];
|
||||
@sky: @catppuccin[@@lookup][@sky];
|
||||
@sapphire: @catppuccin[@@lookup][@sapphire];
|
||||
@blue: @catppuccin[@@lookup][@blue];
|
||||
@lavender: @catppuccin[@@lookup][@lavender];
|
||||
@text: @catppuccin[@@lookup][@text];
|
||||
@subtext1: @catppuccin[@@lookup][@subtext1];
|
||||
@subtext0: @catppuccin[@@lookup][@subtext0];
|
||||
@overlay2: @catppuccin[@@lookup][@overlay2];
|
||||
@overlay1: @catppuccin[@@lookup][@overlay1];
|
||||
@overlay0: @catppuccin[@@lookup][@overlay0];
|
||||
@surface2: @catppuccin[@@lookup][@surface2];
|
||||
@surface1: @catppuccin[@@lookup][@surface1];
|
||||
@surface0: @catppuccin[@@lookup][@surface0];
|
||||
@base: @catppuccin[@@lookup][@base];
|
||||
@mantle: @catppuccin[@@lookup][@mantle];
|
||||
@crust: @catppuccin[@@lookup][@crust];
|
||||
@accent-color: @catppuccin[@@lookup][@@accent];
|
||||
|
||||
color-scheme: if(@lookup = latte, light, dark);
|
||||
|
||||
::selection {
|
||||
background-color: fade(@accent-color, 30%);
|
||||
}
|
||||
|
||||
textarea {
|
||||
&::placeholder {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
}
|
||||
input {
|
||||
background-color: @surface0 !important;
|
||||
color: @text !important
|
||||
}
|
||||
li:hover {
|
||||
background-color: @surface2 !important;
|
||||
}
|
||||
ul {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
body {
|
||||
background-color: @base !important;
|
||||
}
|
||||
h1, h2, h3, p, a, span {
|
||||
color: @text !important
|
||||
}
|
||||
|
||||
--color-yellow60: @yellow !important;
|
||||
--theme-button-primary-bg: @blue !important;
|
||||
--theme-searchbox-caret-bg: @accent-color !important;
|
||||
|
||||
.home_root__naJUp {
|
||||
--theme-bg-home: @base !important;
|
||||
--theme-button-secondary-text: @text !important;
|
||||
--theme-text-bg: @text !important;
|
||||
--theme-bg-home-searchbox: @surface0 !important;
|
||||
--theme-border-color-home-searchbox: @surface0 !important;}
|
||||
.searchbox_suggestions__umkQH {
|
||||
--theme-searchbox-bg: @surface0 !important
|
||||
}
|
||||
.minimal-homepage_minimalHeroLogo__QSVlf {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 184 148"><path fill="@{text}" d="M69.942 129.26H66.46l-6.338 6.517v-13.033h-2.678v22.228h2.678v-7.32l7.23 7.23.09.09h3.214v-.268l-8.124-8.034zm-17.14 11.873c-.982.982-2.41 1.518-4.017 1.518-2.767 0-5.534-1.696-5.534-5.624 0-3.303 2.32-5.624 5.534-5.624 1.428 0 2.767.536 3.839 1.518l.089.089 1.696-1.786-.09-.089c-1.606-1.517-3.48-2.232-5.623-2.232-4.91 0-8.213 3.303-8.213 8.124 0 5.624 4.106 8.123 8.213 8.123h.09c2.141 0 4.195-.803 5.623-2.321l.09-.089-1.786-1.785zm-18.122-3.481c0 2.856-1.963 4.999-4.73 5.088-2.946 0-4.732-1.785-4.732-4.82v-8.66H22.54v8.66c0 4.463 2.678 7.32 6.874 7.32h.09c2.052 0 3.927-.982 5.177-2.5l.089-.179.09 2.411h2.499V129.26H34.68zM8.347 122.655H.223v22.317h8.124c7.766 0 11.158-5.713 11.158-11.337 0-5.267-3.481-10.98-11.158-10.98m8.39 10.89c0 4.285-2.588 8.57-8.301 8.57H3.08v-16.693h5.267c5.713 0 8.39 4.196 8.39 8.123m138.277 1.697h6.874v5.177c-1.696 1.428-3.749 2.232-5.981 2.232-6.07 0-8.838-4.374-8.838-8.659 0-4.374 2.768-9.106 8.749-9.106 2.41 0 4.642.893 6.427 2.5l.089.089 1.607-1.874-.089-.09c-2.143-2.142-4.999-3.213-8.124-3.213-3.392 0-6.248 1.071-8.302 3.213-2.142 2.143-3.302 5.178-3.213 8.57 0 5.267 3.035 11.337 11.605 11.337h.178c3.214 0 6.249-1.339 8.391-3.749v-8.838h-9.462v2.411zm-73.735-12.587h-8.124v22.317h8.124c7.766 0 11.158-5.713 11.158-11.337 0-5.267-3.481-10.98-11.158-10.98m8.39 10.89c0 4.285-2.588 8.57-8.301 8.57h-5.267v-16.693h5.267c5.624 0 8.302 4.196 8.302 8.123zm85.609-4.642c-4.731 0-8.123 3.482-8.123 8.213s3.392 8.124 8.123 8.124 8.213-3.393 8.213-8.124c0-4.82-3.392-8.213-8.213-8.213m5.535 8.213c0 3.303-2.321 5.624-5.535 5.624-3.124 0-5.445-2.321-5.445-5.624 0-3.392 2.232-5.802 5.534-5.802 3.125.089 5.446 2.499 5.446 5.802m-73.2.536c0 2.856-1.964 4.999-4.731 5.088-2.946 0-4.731-1.785-4.731-4.82v-8.66h-2.679v8.66c0 4.463 2.679 7.32 6.785 7.32h.089c2.053 0 3.928-.982 5.178-2.5l.089-.179.089 2.411h2.5V129.26h-2.678v8.392zm18.121 3.481c-.982.982-2.41 1.518-4.017 1.518-2.767 0-5.534-1.696-5.534-5.624 0-3.303 2.321-5.624 5.534-5.624 1.429 0 2.768.536 3.839 1.518l.089.089 1.696-1.786-.089-.089c-1.607-1.517-3.482-2.232-5.624-2.232-4.91 0-8.213 3.303-8.213 8.124 0 5.624 4.107 8.123 8.213 8.123h.089c2.143 0 4.196-.803 5.624-2.321l.089-.089-1.785-1.785zm17.14-11.873h-3.482l-6.338 6.517v-13.033h-2.678v22.228h2.678v-7.32l7.231 7.23.089.09h3.214v-.268l-8.123-8.034z"/><path fill="@{peach}" fill-rule="evenodd" d="M91.946 107.122c29.581 0 53.561-23.98 53.561-53.561S121.527 0 91.947 0C62.364 0 38.384 23.98 38.384 53.561s23.98 53.561 53.561 53.561z" clip-rule="evenodd"/><path fill="#ddd" fill-rule="evenodd" d="M99.478 93.522c0-.418.103-.513-1.227-3.165-3.535-7.079-7.088-17.059-5.472-23.495.294-1.17-3.33-43.304-5.892-44.661-2.848-1.518-6.351-3.925-9.556-4.46-1.626-.26-3.758-.138-5.425.087-.296.04-.308.572-.025.668 1.094.37 2.423 1.014 3.206 1.988.148.184-.051.474-.287.482-.738.028-2.077.337-3.844 1.838-.204.173-.035.495.228.443 3.797-.75 7.674-.38 9.96 1.696.148.135.07.377-.123.43C61.19 30.76 65.117 48.01 70.396 69.177c4.654 18.666 6.435 24.81 7.012 26.727a.72.72 0 0 0 .424.469c6.85 2.697 21.646 2.805 21.646-1.805z" clip-rule="evenodd"/><path fill="#fff" d="M102.198 97.498c-2.406.941-7.114 1.36-9.833 1.36-3.988 0-9.73-.628-11.821-1.57-1.293-3.976-5.16-16.303-8.978-31.956l-.374-1.53-.003-.012c-4.54-18.542-8.248-33.687 12.074-38.445.185-.043.276-.265.153-.411-2.331-2.766-6.7-3.673-12.222-1.768-.227.079-.424-.15-.283-.344 1.083-1.493 3.2-2.64 4.244-3.144.216-.104.203-.42-.025-.491a23 23 0 0 0-3.156-.753c-.31-.05-.338-.58-.027-.623 7.83-1.053 16.006 1.298 20.109 6.466a.27.27 0 0 0 .155.096c15.024 3.226 16.1 26.977 14.369 28.059-.341.213-1.434.09-2.877-.07-5.846-.655-17.422-1.95-7.868 15.856.094.176-.03.409-.228.44-5.388.837 1.517 17.719 6.591 28.84"/><path fill="#3ca82b" d="M108.919 75.904c-1.144-.53-5.542 2.624-8.461 5.045-.61-.863-1.76-1.49-4.355-1.04-2.27.396-3.524.943-4.084 1.887-3.584-1.359-9.614-3.456-11.07-1.43-1.593 2.214.397 12.687 2.512 14.047 1.104.71 6.386-2.685 9.144-5.026.445.627 1.162.986 2.634.952 2.228-.052 5.841-.57 6.401-1.608q.051-.095.089-.222c2.835 1.06 7.824 2.18 8.939 2.014 2.905-.437-.405-13.996-1.749-14.619"/><path fill="@{green}" d="M100.725 81.26c.121.214.217.44.3.67.404 1.13 1.062 4.726.564 5.614s-3.732 1.317-5.727 1.351-2.444-.695-2.848-1.825c-.324-.904-.483-3.03-.479-4.247-.082-1.806.578-2.44 3.627-2.934 2.257-.365 3.45.06 4.138.786 3.204-2.39 8.549-5.765 9.07-5.148 2.6 3.075 2.928 10.394 2.365 13.34-.184.962-8.791-.955-8.791-1.993 0-4.311-1.119-5.494-2.219-5.615zM81.87 79.913c.706-1.116 6.422.272 9.56 1.668 0 0-.644 2.922.382 6.364.3 1.007-7.22 5.488-8.201 4.717-1.134-.891-3.222-10.404-1.74-12.75z"/><path fill="@{yellow}" fill-rule="evenodd" d="M84.64 57.249c.462-2.012 2.617-5.802 10.31-5.71 3.89-.016 8.722-.001 11.926-.365a43 43 0 0 0 10.65-2.59c3.331-1.27 4.513-.988 4.927-.227.456.835-.081 2.278-1.245 3.606-2.223 2.536-6.219 4.502-13.277 5.085s-11.734-1.31-13.746 1.Line truncated
|
||||
content: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
.header_headerButton__cLYU3 {
|
||||
color: @text !important;
|
||||
}
|
||||
.sideMenu_sideMenuContent__OE7n9,.searchbox_iconWrapper__suWUe {
|
||||
background-color: @surface0 !important;
|
||||
}
|
||||
.button_primary__e2_Sy {
|
||||
color: @mantle !important;
|
||||
}
|
||||
.searchbox_hasQuery__j8_VE:hover .searchbox_searchButton__F5Bwq:not(:disabled), .searchbox_hasQuery__j8_VE:focus-within {
|
||||
color: @mantle !important;
|
||||
background-color: @accent-color !important;
|
||||
}
|
||||
}}
|
||||
|
||||
/* prettier-ignore */
|
||||
@catppuccin: {
|
||||
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
|
||||
|
||||
Reference in new issue
Block a user