Posts Can Have Custom Styles

design css

Custom Styling Per Post

This section has custom styles!

The not-prose class lets us escape the default typography styles and do whatever we want.

How It Works

Since posts are MDX files, you can use any HTML or React component with Tailwind classes directly in your content.

Want a different color scheme? Add custom CSS. Want a completely different layout? Create a custom layout component.

Example: A Callout Box

💡
Pro tip:

You can build reusable callout components and import them in any post.

The possibilities are endless. Each post can be a creative playground while still sharing the same navigation and overall site structure.