diff --git a/src/components/ColorSwitcher.astro b/src/components/ColorSwitcher.astro index 3c8c8fd..3296161 100644 --- a/src/components/ColorSwitcher.astro +++ b/src/components/ColorSwitcher.astro @@ -61,7 +61,7 @@ const item = aria-label={p.label} > - + - + {palettes[0].label} @@ -101,7 +101,7 @@ const item = aria-expanded="false" title="Brand color" > - + @@ -116,7 +116,7 @@ const item = > {palettes.map(p => ( - { - ui === "icons" && ( -
- - - -
- ) - } - - { - ui === "menu" && ( -
- - - -
- ) - } + + - +/* Check icon ONLY on active item */ +#{containerId} [role="menuitemradio"][aria-checked="true"] [data-check] { + opacity: 1 !important; + transform: scale(1) !important; +} + \ No newline at end of file diff --git a/src/pages/theme.astro b/src/pages/theme.astro index 0a6cc44..4a5bdeb 100644 --- a/src/pages/theme.astro +++ b/src/pages/theme.astro @@ -8,13 +8,12 @@ import Base from "../layouts/Base.astro";
+ +