Skip to content

Commit e46374c

Browse files
committed
lint
1 parent 90ca840 commit e46374c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/theming/high-contrast-mode.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ Not sure how to change the system settings? Here's how to enable high contrast m
126126
import SystemHighContrastMode from '@site/static/usage/v8/theming/system-high-contrast-mode/index.md';
127127

128128
<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
130132
high contrast dark theme must be imported after `dark.system.css`. Otherwise, the standard contrast theme will take priority.
131133
:::
132134

@@ -182,10 +184,12 @@ Not sure how to change the system settings? Here's how to enable high contrast m
182184
import ClassHighContrastMode from '@site/static/usage/v8/theming/class-high-contrast-mode/index.md';
183185

184186
<ClassHighContrastMode />
187+
185188
:::caution
186189
The high contrast light theme must be imported after [core.css](../layout/global-stylesheets#corecss),
187190
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+
:::
189193

190194
:::caution
191195
The `.ion-theme-high-contrast` class **must** be added to the `html` element in order to work with the imported high contrast theme.

0 commit comments

Comments
 (0)