Skip to content

Themes

A theme describes how to paint four families of elements: text, media, controls and blocks. Each card below is real markup in its loading state.Open the video and card demo.

Choose the theme of an area with data-charpente-theme, or of an entire site withdefaultTheme. You can also create your own.

<section data-charpente-loading data-charpente-theme="cyberpunk" aria-busy="true" inert>
...
</section>
charpente.config.ts
export default defineCharpente({
defaultTheme: 'cyberpunk',
})