From 2da30795103595b69983b74cacf87efaa7096bcc Mon Sep 17 00:00:00 2001 From: john-rock Date: Mon, 23 Oct 2023 16:17:19 -0400 Subject: [PATCH] style cleanup --- .../quickstartGuideCard/styles.module.css | 13 +++++++++++++ .../src/components/searchInput/styles.module.css | 7 ++++++- .../src/components/selectDropdown/styles.module.css | 7 ++++++- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/website/src/components/quickstartGuideCard/styles.module.css b/website/src/components/quickstartGuideCard/styles.module.css index f475ce03bc1..3397629377a 100644 --- a/website/src/components/quickstartGuideCard/styles.module.css +++ b/website/src/components/quickstartGuideCard/styles.module.css @@ -44,6 +44,10 @@ color:var(--ifm-menu-color) } +[data-theme='dark'] .quickstartCard .recently_updated { + color: #fff; +} + .quickstartCard .start { font-size: 1.125rem; margin-top: auto; @@ -83,6 +87,11 @@ padding: 0rem 0.75rem; } +[data-theme='dark'] .quickstartCard .tag_container .tag { + background: #374151; + color: #fff; +} + .infoContainer { display: flex; margin-bottom: 4rem; @@ -121,6 +130,10 @@ color: var(--color-green-blue); } +[data-theme='dark'] .infoContainer .recently_updated { + color: #fff; +} + @media (max-width: 996px) { .infoContainer { gap: 1rem; diff --git a/website/src/components/searchInput/styles.module.css b/website/src/components/searchInput/styles.module.css index df7d6509524..1e3e6d617fa 100644 --- a/website/src/components/searchInput/styles.module.css +++ b/website/src/components/searchInput/styles.module.css @@ -3,7 +3,7 @@ border-radius: 0.3125rem; border: 2px solid var(--navy-200-c-6-ccd-4, #C6CCD4); min-height: 38px; - font-size: .875rem; + font-size: .975rem; font-family: var(--ifm-font-family-base); } @@ -16,3 +16,8 @@ all: unset; -webkit-text-security: initial; } + +[data-theme='dark'] .inputContainer { + background: #1b1b1d; + color: #e3e3e3; +} diff --git a/website/src/components/selectDropdown/styles.module.css b/website/src/components/selectDropdown/styles.module.css index afe8b8d742f..66cc1f4b837 100644 --- a/website/src/components/selectDropdown/styles.module.css +++ b/website/src/components/selectDropdown/styles.module.css @@ -45,8 +45,13 @@ padding: 0 0 0 .5rem; } +[data-theme='dark'] .selectContainer [class$="-multiValue"] { + background: var(--color-green-blue); + color: #fff; +} + [data-theme='dark'] .selectContainer [class$="-option"]:hover { - + background: var(--color-green-blue); } .selectContainer [aria-label^="Remove"] {