Skip to content

Commit f9e0148

Browse files
HugoRCDbenjamincanac
authored andcommitted
docs(color-mode): typo in MDC syntax (#4780)
1 parent b82f53d commit f9e0148

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/content/docs/2.components/color-mode-button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ links:
1515

1616
The ColorModeButton component extends the [Button](/docs/components/button) component, so you can pass any property such as `color`, `variant`, `size`, etc.
1717

18-
::component-code{prefix="color-mode"}
18+
:component-code{prefix="color-mode"}
1919

2020
::note
2121
The button defaults to `color="neutral"` and `variant="ghost"`.

docs/content/docs/2.components/color-mode-select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ links:
1515

1616
The ColorModeSelect component extends the [SelectMenu](/docs/components/select-menu) component, so you can pass any property such as `color`, `variant`, `size`, etc.
1717

18-
::component-code{prefix="color-mode"}
18+
:component-code{prefix="color-mode"}
1919

2020
## Examples
2121

docs/content/docs/2.components/color-mode-switch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ links:
1515

1616
The ColorModeSwitch component extends the [Switch](/docs/components/switch) component, so you can pass any property such as `color`, `size`, etc.
1717

18-
::component-code{prefix="color-mode"}
18+
:component-code{prefix="color-mode"}
1919

2020
## Examples
2121

0 commit comments

Comments
 (0)