You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/updating/8-0.md
+28
Original file line number
Diff line number
Diff line change
@@ -108,6 +108,34 @@ While migrating to include the new dark theme files is unlikely to cause breakin
108
108
109
109
For more information on the new dark theme files, refer to the [Dark Mode documentation](../theming/dark-mode).
110
110
111
+
### Step Color Tokens
112
+
113
+
To better support the high contrast theme in Ionic 8, separate step colors tokens have been introduced for text and background color. Previously both text and background color were controlled by a single set of `--ion-color-step-[number]` tokens.
114
+
115
+
Using the newly imported dark theme mentioned above will also import these new step color tokens. However, developers will need to update any step color tokens that were manually defined in an application.
116
+
117
+
`--ion-color-step-[number]` usages for **background color** can be migrated by renaming the token to `--ion-background-color-step-[number]`.
`--ion-color-step-[number]` usages for **text color** can be migrated by renaming the token to `--ion-text-color-step-[number]` and subtracting the number from 1000.
0 commit comments