File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,9 @@ Not sure how to change the system settings? Here's how to enable high contrast m
126
126
import SystemHighContrastMode from '@site/static /usage/v8/theming/system-high-contrast-mode/index.md';
127
127
128
128
<SystemHighContrastMode />
129
- :::caution The high contrast light theme must be imported after [ core.css] ( ../layout/global-stylesheets#corecss ) , and the
129
+
130
+ ::: caution
131
+ The high contrast light theme must be imported after [ core.css] ( ../layout/global-stylesheets#corecss ) , and the
130
132
high contrast dark theme must be imported after ` dark.system.css ` . Otherwise, the standard contrast theme will take priority.
131
133
:::
132
134
@@ -182,10 +184,12 @@ Not sure how to change the system settings? Here's how to enable high contrast m
182
184
import ClassHighContrastMode from '@site/static /usage/v8/theming/class-high-contrast-mode/index.md';
183
185
184
186
<ClassHighContrastMode />
187
+
185
188
::: caution
186
189
The high contrast light theme must be imported after [ core.css] ( ../layout/global-stylesheets#corecss ) ,
187
190
and the high contrast dark theme must be imported after ` dark.class.css ` . Otherwise, the standard contrast theme will take
188
- priority. :::
191
+ priority.
192
+ :::
189
193
190
194
::: caution
191
195
The ` .ion-theme-high-contrast ` class ** must** be added to the ` html ` element in order to work with the imported high contrast theme.
You can’t perform that action at this time.
0 commit comments