Soothing pastel theme for Nextcloud
Find a file
Tim Jagenberg 7b591ace59
All checks were successful
/ check (push) Successful in 4s
ci: check generated snippets match the template
2026-11-19 12:23:33 +01:00
.forgejo/workflows ci: check generated snippets match the template 2026-11-19 12:23:33 +01:00
themes feat: add Catppuccin theme for Nextcloud 2026-11-19 12:23:33 +01:00
.editorconfig feat: add Catppuccin theme for Nextcloud 2026-11-19 12:23:33 +01:00
.gitignore feat: add Catppuccin theme for Nextcloud 2026-11-19 12:23:33 +01:00
LICENSE feat: add Catppuccin theme for Nextcloud 2026-11-19 12:23:33 +01:00
nextcloud.tera feat: add Catppuccin theme for Nextcloud 2026-11-19 12:23:33 +01:00
README.md docs: add contributing guidelines 2026-11-19 12:23:33 +01:00

Logo
Catppuccin for Nextcloud

Usage

Each snippet in themes/ pairs 🌻 Latte with one dark flavour and follows the user's appearance setting (system default, light theme or dark theme), leaving the high-contrast themes untouched.

  1. Install the Custom CSS app:

    occ app:install theming_customcss
    
  2. Paste the snippet of your choice into Administration settings > Theming > Custom CSS and save.

    Or set it from the command line; the cache buster makes browsers reload it:

    occ config:app:set theming_customcss customcss --value "$(cat themes/catppuccin-latte-mocha-sapphire.css)"
    occ config:app:set theming_customcss cachebuster --value "$(date +%s)"
    
  3. Optional: Nextcloud renders the favicon and e-mails server-side from its own primary colour, which CSS cannot reach. Set it to the snippet's Latte --color-primary:

    occ theming:config primary_color "#<hex>"
    

The snippet applies to every user of the instance and replaces background images with a plain Crust background.

Changing the accent

Snippets are generated with whiskers from nextcloud.tera; whiskers --list-accents lists the choices:

whiskers nextcloud.tera --overrides '{"accent": "mauve"}'

To change the default, edit accent: in the template's frontmatter.

🙋 FAQ

  • Q: Why do Latte buttons look darker than the palette accent?
    A: Latte accents with Base text reach only about 2.3–2.8:1 contrast. For interactive elements the accent is mixed 70/30 with Text, giving at least 3.2:1. Set latte_element_amount: 1.0 in the template frontmatter for the pure accent.
  • Q: Which Nextcloud versions are supported?
    A: Built against the Nextcloud 35 theming variables (apps/theming/lib/Themes/*.php). Older versions may leave some elements unthemed.

Contributing

  • Edit nextcloud.tera, never themes/, and commit the regenerated snippets; whiskers nextcloud.tera --check must pass.
  • Minimalism: a change is done when it delivers the expected behaviour and nothing more can be taken away.
  • Comments explain why, not what.
  • Stick to tool defaults and don't restate them. The exception is Nextcloud's theme variables: set every colour variable explicitly, even where it matches Nextcloud's current value, so the look stays Catppuccin when Nextcloud changes its defaults.
  • Commit messages follow Conventional Commits.

💝 Thanks to

 

Copyright © Tim Jagenberg

License: MIT