diff options
| author | David Hill <[email protected]> | 2025-12-16 17:34:41 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2025-12-16 17:35:04 +0000 |
| commit | 0af2254856de13fe2d7e023ed4f8d16f5201abd9 (patch) | |
| tree | 3d7ca51c28a06e797f765b8099e854cba36480e7 /packages | |
| parent | c2944024a84da85d66c7ed01998e6d9b309f6715 (diff) | |
| download | opencode-0af2254856de13fe2d7e023ed4f8d16f5201abd9.tar.gz opencode-0af2254856de13fe2d7e023ed4f8d16f5201abd9.zip | |
wip: add active state to open select
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/ui/src/components/select.css | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/ui/src/components/select.css b/packages/ui/src/components/select.css index 53d0e4169..e6fd03f27 100644 --- a/packages/ui/src/components/select.css +++ b/packages/ui/src/components/select.css @@ -15,6 +15,18 @@ color: var(--text-weak); transition: transform 0.1s ease-in-out; } + + &[data-expanded] { + &[data-variant="secondary"] { + background-color: var(--button-secondary-hover); + } + &[data-variant="ghost"] { + background-color: var(--surface-raised-base-active); + } + &[data-variant="primary"] { + background-color: var(--icon-strong-active); + } + } } } |
