File tree 3 files changed +10
-5
lines changed
packages/svelte-ux/src/lib/components
3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " svelte-ux " : patch
3
+ ---
4
+
5
+ [ Checkbox/Radio] Improve and align border colors
Original file line number Diff line number Diff line change 84
84
! checked && ! disabled && ' peer-hover:bg-primary/10' ,
85
85
checked
86
86
? disabled
87
- ? ' bg-gray-500 border-gray-500 '
87
+ ? ' bg-surface-content border-surface-content '
88
88
: ' bg-primary border-primary'
89
- : ' border-gray-500 ' ,
89
+ : ' border-surface-content/50 ' ,
90
90
settingsClasses .checkbox ,
91
91
classes .checkbox
92
92
)}
Original file line number Diff line number Diff line change 60
60
! checked && ! disabled && ' peer-hover:bg-primary/10' ,
61
61
checked
62
62
? disabled
63
- ? ' border-surface-content/30 '
63
+ ? ' border-surface-content/50 '
64
64
: ' border-primary'
65
- : ' border-surface-content/30 ' ,
65
+ : ' border-surface-content/50 ' ,
66
66
settingsClasses .radio ,
67
67
classes .radio
68
68
)}
72
72
class ={cls (
73
73
' icon' ,
74
74
' pointer-events-none transition-transform' ,
75
- disabled ? ' text-surface-content/30 border-surface-content/30 ' : ' text-primary' ,
75
+ disabled ? ' text-surface-content' : ' text-primary' ,
76
76
checked ? ' scale-100' : ' scale-0' ,
77
77
settingsClasses .icon ,
78
78
classes .icon
You can’t perform that action at this time.
0 commit comments