We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 960acb5 + 1a3ac17 commit c5c10b4Copy full SHA for c5c10b4
1 file changed
v2/pink-sb/src/lib/selector/Checkbox.svelte
@@ -96,7 +96,7 @@
96
border-radius: var(--border-radius-xxs);
97
}
98
99
- &:hover:not(.active):not([aria-disabled='true']) {
+ &:hover:not(.active):not([aria-disabled='true']):not([disabled]) {
100
background-color: var(--overlay-button-neutral-hover);
101
102
@@ -105,9 +105,15 @@
105
background-color: var(--bgcolor-neutral-invert);
106
107
108
- &:disabled {
+ &:disabled,
109
+ &[aria-disabled='true'] {
110
opacity: 0.4;
111
+ cursor: default;
112
background-color: var(--bgcolor-neutral-tertiary);
113
+
114
+ &:hover {
115
+ background-color: var(--bgcolor-neutral-tertiary);
116
+ }
117
118
119
&:focus,
0 commit comments