diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 463429630bf6..b48b672f6116 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -14,10 +14,6 @@ */ --site-primary-hue-saturation: 167 68%; --site-primary-hue-saturation-light: 167 56%; /* do we really need this extra one? */ - --site-color-favorite-background: #f6fdfd; - --site-color-tooltip: #fff; - --site-color-tooltip-background: #353738; - --site-color-checkbox-checked-bg: hsl(167deg 56% 73% / 25%); --site-color-feedback-background: #f0f8ff; --docusaurus-highlighted-code-line-bg: rgb(0 0 0 / 10%); /* Use a darker color to ensure contrast, ideally we don't need important */ @@ -27,8 +23,6 @@ html[data-theme='dark'] { --site-color-feedback-background: #2a2929; - --site-color-favorite-background: #1d1e1e; - --site-color-checkbox-checked-bg: hsl(167deg 56% 73% / 10%); --docusaurus-highlighted-code-line-bg: rgb(66 66 66 / 35%); } diff --git a/website/src/pages/showcase/_components/ShowcaseCards/styles.module.css b/website/src/pages/showcase/_components/ShowcaseCards/styles.module.css index b3cb35f09387..f26e29a4c9f6 100644 --- a/website/src/pages/showcase/_components/ShowcaseCards/styles.module.css +++ b/website/src/pages/showcase/_components/ShowcaseCards/styles.module.css @@ -14,7 +14,11 @@ .showcaseFavorite { padding-top: 2rem; padding-bottom: 2rem; - background-color: var(--site-color-favorite-background); + background-color: #f6fdfd; +} + +html[data-theme='dark'] .showcaseFavorite { + background-color: #1d1e1e; } .headingFavorites { diff --git a/website/src/pages/showcase/_components/ShowcaseTagSelect/styles.module.css b/website/src/pages/showcase/_components/ShowcaseTagSelect/styles.module.css index 736714703605..ea6cb1939424 100644 --- a/website/src/pages/showcase/_components/ShowcaseTagSelect/styles.module.css +++ b/website/src/pages/showcase/_components/ShowcaseTagSelect/styles.module.css @@ -28,7 +28,7 @@ input:focus-visible + .checkboxLabel { input:checked + .checkboxLabel { opacity: 0.9; - background-color: var(--site-color-checkbox-checked-bg); + background-color: hsl(167deg 56% 73% / 25%); border: 2px solid var(--ifm-color-primary-darkest); } @@ -36,3 +36,7 @@ input:checked + .checkboxLabel:hover { opacity: 0.75; box-shadow: 0 0 2px 1px var(--ifm-color-primary-dark); } + +html[data-theme='dark'] input:checked + .checkboxLabel { + background-color: hsl(167deg 56% 73% / 10%); +}