From 38c2c1f1ed25d6efe6ab2637ca2d9fbcdafcd240 Mon Sep 17 00:00:00 2001 From: Reuben Tier Date: Wed, 17 May 2023 19:25:05 +0100 Subject: Fix background color on select component (#67) --- .changeset/light-dingos-fry.md | 5 +++++ packages/starlight/components/Select.astro | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/light-dingos-fry.md diff --git a/.changeset/light-dingos-fry.md b/.changeset/light-dingos-fry.md new file mode 100644 index 00000000..01b896e3 --- /dev/null +++ b/.changeset/light-dingos-fry.md @@ -0,0 +1,5 @@ +--- +"@astrojs/starlight": patch +--- + +Fix background color on select component diff --git a/packages/starlight/components/Select.astro b/packages/starlight/components/Select.astro index 1cd5fbd3..86771470 100644 --- a/packages/starlight/components/Select.astro +++ b/packages/starlight/components/Select.astro @@ -72,6 +72,10 @@ interface Props { appearance: none; } + option { + background-color: var(--sl-color-bg-nav); + } + @media (min-width: 50rem) { select { font-size: var(--sl-text-sm); -- cgit