![Logo](https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png)
Catppuccin for Chroma
- Specify the output format as
html
when invokingchroma
withchroma -f html
. - Clear out the styles from the generated output, i.e. delete everything in between the opening and closing
<style>
tags. - Then just copy and paste the contents of
dist/{flavor}-chroma-style.css
in the cleared space. - You might need to adjust the body's text and background color yourself.
- Specify the path (on your device) to the
dist/{flavor}-chroma-style.xml
when invokingchroma
with the-s
flag.
- Set
markup.highlight.noClasses
tofalse
in your Hugo config. - Include the desired stylesheet —
dist/{flavor}-chroma-style.css
in your layouts, e.g. in ahead
partial to make it available on all pages.
Copyright © 2021-present Catppuccin Org