uncenter a6e92f63c1
refactor: use single whiskers template for both output formats (#8)
* refactor: use single whiskers template for both output formats

* fix: extra spacing

* style: yaml indentation

* something something save it

* feat: the rest of the classes/tokens

* fix: support bold/italic/underline styles

* fix: misc

* fix: optional color

* refactor: clean up template

* fix: use array of styles for xml

* chore: delete old templates
2025-04-19 01:24:37 +01:00
2024-04-14 18:08:31 +05:30
2023-07-05 21:30:20 +05:30
2024-04-14 18:08:53 +05:30
2024-08-27 01:24:03 +01:00

Logo
Catppuccin for Chroma

Previews

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

Usage

Chroma CLI

CSS Styles

  • Specify the output format as html when invoking chroma with chroma -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.

XML Styles

  • Specify the path (on your device) to the dist/{flavor}-chroma-style.xml when invoking chroma with the -s flag.

Hugo 🛠️

  • Set markup.highlight.noClasses to false in your Hugo config.
  • Include the desired stylesheet — dist/{flavor}-chroma-style.css in your layouts, e.g. in a head partial to make it available on all pages.

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org

Description
No description provided
Readme MIT 1.8 MiB
Languages
Just 100%