Article
Article is used to set typograhy on content defined in mdx files.
It is uses tailwind utility class .prose
.
Usage
text
text
text
<article class="c-acticle">
<h1>text</h1>
<p>text</p>
<p>text</p>
</article>
Implementation
Type | Name | |
---|---|---|
Elements | ||
Article | .c-article | |
Modifiers | ||
Size | .prose-[any] | |
States | None |
Modifiers
It is possible to modify .article
with tailwind prose element modifiers.
text
text
text
<article class="c-acticle prose-h1:text-5xl prose-a:text-pink">
<h1>text</h1>
<p>text</p>
<p>text</p>
</article>