Skip to content

Commit

Permalink
Merge pull request #100 from Tencent/fix/radio-button-token
Browse files Browse the repository at this point in the history
fix: radio design token
  • Loading branch information
honkinglin authored Jan 5, 2022
2 parents 2e11e10 + 0061c3e commit ddd7835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion style/web/components/radio/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
&.@{prefix}-is-disabled {

&.@{prefix}-is-checked {
color: @radio-button-color-primary-filled-disabled-checked;
color: @radio-button-color-primary-filled-checked;
}

&.@{prefix}-is-checked ~ .@{radio-cls}-group__bg-block {
Expand Down
7 changes: 3 additions & 4 deletions style/web/components/radio/_var.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,18 @@
@radio-button-color-outline-checked: @brand-color;
@radio-button-background-color-disabled: @bg-color-component-disabled;
@radio-button-color-disabled: @text-color-disabled;
@radio-button-background-color-outline-disabled-checked: @bg-color-container;
@radio-button-background-color-outline-disabled-checked: @bg-color-specialcomponent;
@radio-button-color-disabled-checked: @text-color-disabled;

@radio-button-group-background-color-filled: @bg-color-component;
@radio-button-color-filled: @text-color-secondary;
@radio-button-color-filled-hover: @text-color-primary;
@radio-button-color-default-filled-checked: @text-color-primary;
@radio-button-color-primary-filled-checked: @text-color-anti;
@radio-button-color-default-filled-disabled-checked: @brand-color-disabled;
@radio-button-color-primary-filled-disabled-checked: @text-color-disabled;
@radio-button-color-default-filled-disabled-checked: @text-color-disabled;
@radio-button-background-color-default-filled-checked: @bg-color-container-select;
@radio-button-background-color-primary-filled-checked: @brand-color;
@radio-button-background-color-default-filled-disabled-checked: @bg-color-container;
@radio-button-background-color-default-filled-disabled-checked: @bg-color-component-disabled;
@radio-button-background-color-primary-filled-disabled-checked: @brand-color-disabled;

// 尺寸
Expand Down

0 comments on commit ddd7835

Please sign in to comment.