Skip to content

Commit

Permalink
feat(rootage): $color.bg.brand-weak-pressed 삭제에 따라 Checkbox variant…
Browse files Browse the repository at this point in the history
…=ghost 배경 토큰 수정
  • Loading branch information
te6-in committed Feb 7, 2025
1 parent 9dd4c9a commit a99b8cd
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/public/rootage-next/components/checkbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
"control": {
"color": {
"type": "color",
"value": "$color.bg.brand-weak-pressed"
"value": "$color.palette.carrot-200"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/public/rootage/components/checkbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
},
"pressed,selected": {
"control": {
"color": "$color.bg.brand-weak-pressed"
"color": "$color.palette.carrot-200"
}
},
"disabled": {
Expand Down
4 changes: 2 additions & 2 deletions docs/public/rootage/parsed.json
Original file line number Diff line number Diff line change
Expand Up @@ -13512,9 +13512,9 @@
"type": "token",
"group": [
"color",
"bg"
"palette"
],
"key": "brand-weak-pressed"
"key": "carrot-200"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion packages/rootage/components/checkbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ data:
color: $color.bg.layer-default-pressed
pressed,selected:
control:
color: $color.bg.brand-weak-pressed
color: $color.palette.carrot-200
disabled:
label:
color: $color.fg.disabled
Expand Down
2 changes: 1 addition & 1 deletion packages/stylesheet/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
background: var(--seed-v3-color-bg-layer-default-pressed);
}
.checkbox__control--variant_ghost:is(:active, [data-active]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
background: var(--seed-v3-color-bg-brand-weak-pressed);
background: var(--seed-v3-color-palette-carrot-200);
}
.checkbox__control--variant_ghost:is(:disabled, [disabled], [data-disabled]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
background: none;
Expand Down
2 changes: 1 addition & 1 deletion packages/stylesheet/component.css
Original file line number Diff line number Diff line change
Expand Up @@ -2217,7 +2217,7 @@
}

.checkbox__control--variant_ghost:is(:active, [data-active]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
background: var(--seed-v3-color-bg-brand-weak-pressed);
background: var(--seed-v3-color-palette-carrot-200);
}

.checkbox__control--variant_ghost:is(:disabled, [disabled], [data-disabled]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]), .checkbox__control--variant_ghost:is(:disabled, [disabled], [data-disabled]):is(:active, [data-active]) {
Expand Down
2 changes: 1 addition & 1 deletion packages/stylesheet/component.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/vars/lib/component/checkbox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export declare const vars: {
},
"pressedSelected": {
"control": {
"color": "var(--seed-v3-color-bg-brand-weak-pressed)"
"color": "var(--seed-v3-color-palette-carrot-200)"
}
},
"disabled": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vars/lib/component/checkbox.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const vars = {
},
"pressedSelected": {
"control": {
"color": "var(--seed-v3-color-bg-brand-weak-pressed)"
"color": "var(--seed-v3-color-palette-carrot-200)"
}
},
"disabled": {
Expand Down

0 comments on commit a99b8cd

Please sign in to comment.