️(frontend) improve contrast for selected options

add dark inner border to enhance visibility and accessibility
This commit is contained in:
Cyril
2026-01-14 13:55:46 +01:00
committed by aleb_the_flash
parent 51d22783b2
commit 902b005f32
2 changed files with 3 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ and this project adheres to
### Fixed
- 🔒(backend) prevent automatic upgrade setuptools
- ♿(frontend) improve contrast for selected options #863
## [1.3.0] - 2026-01-13

View File

@@ -112,7 +112,8 @@ export const buttonRecipe = cva({
},
transition: 'box-shadow 0.2s ease-in-out',
'&[data-selected]': {
boxShadow: 'token(colors.primary.400) 0px 0px 0px 3px inset',
boxShadow:
'0 0 0 3px token(colors.primary.600) inset, 0 0 0 5px white inset',
},
'&[data-disabled]': {
backgroundColor: 'greyscale.100',