
Catppuccin for Tridactyl
To apply a Catppuccin theme to Tridactyl, you'll use the :colourscheme
command. Replace <flavor>
with your desired Catppuccin palette: latte
, frappe
, macchiato
, or mocha
.
For example, to set the Mocha theme:
:colourscheme --url https://raw.githubusercontent.com/devnullvoid/tridactyl/main/themes/catppuccin-mocha.css catppuccin-mocha
Once executed, the theme should apply instantly.
Want to tweak the colors or fonts to perfectly match your setup? It's easy to create your own custom version of the theme.
-
Fork the repository: Start by forking the
devnullvoid/tridactyl
repository on GitHub to your own account. -
Edit the CSS variables: Navigate to the
catppuccin-<flavor>.css
file (e.g.,catppuccin-mocha.css
) within your forked repository. You can edit this file directly on GitHub or clone the repository to your local machine.You'll find a set of CSS variables that control the theme's colors and fonts. Feel free to modify them to your liking.
-
Change a specific Tridactyl UI element's color:
/* Changes the foreground color of the URL in the command line */ --tridactyl-url-fg: var(--rosewater); /* Changes the border color of Tridactyl UI elements */ --tridactyl-border: var(--lavender);
In the examples above, you can replace
var(--rosewater)
orvar(--lavender)
with any of the available Catppuccin colors (e.g.,var(--pink)
,var(--mauve)
,var(--red)
, etc.) or even a specific hex code like#FF0000
. -
Change the font used throughout Tridactyl:
/* Sets the default font to a monospace font */ --font: monospace;
Replace
monospace
with your preferred font. If the font name contains spaces, remember to wrap it in quotes, e.g.,font: "Fira Code";
.
-
-
Apply your custom theme: After saving your changes to the CSS file in your forked repository, use the
:colourscheme
command, but point the--url
to your repository and give your custom theme a unique name (e.g., appending_custom
)::colourscheme --url [https://raw.githubusercontent.com/](https://raw.githubusercontent.com/)<your-username>/tridactyl/main/themes/catppuccin-<flavor>.css catppuccin-<flavor>_custom
Remember to replace
<your-username>
with your GitHub username and<flavor>
with the base flavor you modified.
Copyright © 2021-present Catppuccin Org