mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 05:00:30 +08:00
border switch color
This commit is contained in:
parent
fa85b365e4
commit
e456259fcb
@ -12,7 +12,8 @@ const BorderSwitch: React.FC<SiderSwitchProps> = (props) => {
|
||||
<Switch
|
||||
classNames={{
|
||||
wrapper: cn('border-2', {
|
||||
'border-transparent': !isShowBorder
|
||||
'border-transparent': !isShowBorder,
|
||||
'border-foreground': isShowBorder
|
||||
}),
|
||||
thumb: cn('absolute z-4', 'transform -translate-x-[2px]'),
|
||||
...classNames
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user