Skip to content

Commit

Permalink
docs: fix mdc class coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Aug 15, 2023
1 parent 2e5c7f7 commit 879db4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/3.guide/1.writing/3.mdc.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ To create inline spans in your text you can use the `[]` identifier.
```

::code-block{label="Preview"}
Hello [World]{.bg-primary-500}!
Hello [World]{style="background-color: var(--color-primary-500)"}!
::
::

Expand All @@ -326,7 +326,7 @@ Attributes are useful for highlighting and modifying part of paragraph. The synt
```

::code-block{label="Preview"}
Hello [World]{.text-primary-500}!
Hello [World]{style="color: var(--color-primary-500)"}!
::
::

Expand Down

0 comments on commit 879db4b

Please sign in to comment.