mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
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)
This commit is contained in:
@@ -11,11 +11,11 @@
|
||||
}
|
||||
|
||||
.radio-group-top .error-text {
|
||||
color: globals.$ion-semantics-danger-800;
|
||||
color: globals.$ion-text-danger;
|
||||
}
|
||||
|
||||
.radio-group-top .helper-text {
|
||||
color: globals.$ion-primitives-neutral-800;
|
||||
color: globals.$ion-text-subtlest;
|
||||
}
|
||||
|
||||
// Radio Group Top: in List
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--color: #{globals.$ion-primitives-neutral-500};
|
||||
--color-checked: #{globals.$ion-semantics-primary-base};
|
||||
--color: #{globals.$ion-border-input-default};
|
||||
--color-checked: #{globals.$ion-bg-primary-base-default};
|
||||
--border-width: #{globals.$ion-border-size-025};
|
||||
--border-style: #{globals.$ion-border-style-solid};
|
||||
--border-radius: #{globals.$ion-border-radius-full};
|
||||
@@ -55,7 +55,7 @@
|
||||
border-style: var(--border-style);
|
||||
border-color: var(--color);
|
||||
|
||||
background-color: globals.$ion-bg-surface-default;
|
||||
background-color: globals.$ion-bg-input-default;
|
||||
}
|
||||
|
||||
// Ionic Radio Inner Circle: Unchecked
|
||||
@@ -67,7 +67,7 @@
|
||||
width: calc(32% + var(--border-width));
|
||||
height: calc(32% + var(--border-width));
|
||||
|
||||
background-color: globals.$ion-bg-surface-default;
|
||||
background-color: globals.$ion-bg-surface-inverse;
|
||||
}
|
||||
|
||||
// Ionic Radio Outer Circle: Checked
|
||||
|
||||
Reference in New Issue
Block a user