@sebgroup/green-core 3.12.1 → 3.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/switch/switch.component.js +0 -1
- package/components/switch/switch.styles.js +6 -1
- package/custom-elements.json +31286 -31286
- package/gds-element.js +1 -1
- package/generated/mcp/components.json +1 -1
- package/generated/mcp/icons.json +1 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/tokens.json +1 -1
- package/generated/react/index.d.ts +4 -4
- package/generated/react/index.js +4 -4
- package/package.json +2 -1
- package/tokens/variables.dark.css.js +1 -1
- package/utils/helpers/custom-element-scoping.js +1 -1
|
@@ -192,12 +192,13 @@ const style = css`
|
|
|
192
192
|
left: var(--switch-thumb-left-checked);
|
|
193
193
|
width: var(--switch-thumb-size-checked);
|
|
194
194
|
height: var(--switch-thumb-size-checked);
|
|
195
|
-
background: var(--gds-sys-color-
|
|
195
|
+
background: var(--gds-sys-color-content-neutral-05);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
.checkmark {
|
|
199
199
|
opacity: 1;
|
|
200
200
|
scale: 1;
|
|
201
|
+
color: var(--gds-sys-color-l3-positive-01);
|
|
201
202
|
}
|
|
202
203
|
|
|
203
204
|
.perimeter {
|
|
@@ -227,6 +228,10 @@ const style = css`
|
|
|
227
228
|
opacity: 0.6;
|
|
228
229
|
}
|
|
229
230
|
|
|
231
|
+
.switch.disabled .checkmark {
|
|
232
|
+
color: var(--gds-sys-color-l3-disabled-01);
|
|
233
|
+
}
|
|
234
|
+
|
|
230
235
|
@media (prefers-color-scheme: dark) {
|
|
231
236
|
.switch.disabled .track {
|
|
232
237
|
opacity: 0.4;
|