Skip to content

Commit 2b0a423

Browse files
fix(radio-button): update radio tokens (#30788)
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - update radio tokens ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> [supporting-text](https://ionic-framework-git-rou-12145-ionic1.vercel.app/src/components/radio-group/test/supporting-text?ionic:theme=ionic)
1 parent 68e634c commit 2b0a423

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core/src/components/radio-group/radio-group.ionic.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
}
1212

1313
.radio-group-top .error-text {
14-
color: globals.$ion-semantics-danger-800;
14+
color: globals.$ion-text-danger;
1515
}
1616

1717
.radio-group-top .helper-text {
18-
color: globals.$ion-primitives-neutral-800;
18+
color: globals.$ion-text-subtlest;
1919
}
2020

2121
// Radio Group Top: in List

core/src/components/radio/radio.ionic.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
// --------------------------------------------------
66

77
:host {
8-
--color: #{globals.$ion-primitives-neutral-500};
9-
--color-checked: #{globals.$ion-semantics-primary-base};
8+
--color: #{globals.$ion-border-input-default};
9+
--color-checked: #{globals.$ion-bg-primary-base-default};
1010
--border-width: #{globals.$ion-border-size-025};
1111
--border-style: #{globals.$ion-border-style-solid};
1212
--border-radius: #{globals.$ion-border-radius-full};
@@ -55,7 +55,7 @@
5555
border-style: var(--border-style);
5656
border-color: var(--color);
5757

58-
background-color: globals.$ion-bg-surface-default;
58+
background-color: globals.$ion-bg-input-default;
5959
}
6060

6161
// Ionic Radio Inner Circle: Unchecked
@@ -67,7 +67,7 @@
6767
width: calc(32% + var(--border-width));
6868
height: calc(32% + var(--border-width));
6969

70-
background-color: globals.$ion-bg-surface-default;
70+
background-color: globals.$ion-bg-surface-inverse;
7171
}
7272

7373
// Ionic Radio Outer Circle: Checked

0 commit comments

Comments
 (0)