Catppuccin for VSCode
Simple NPM package containing all compiled themes of Catppuccin for VSCode.
You can use these definitions with libraries like Shiki.
npm install @catppuccin/vscode
pnpm add @catppuccin/vscode
yarn add @catppuccin/vscode
// the themes with default options
import { latte, frappe, macchiato, mocha } from "@catppuccin/vscode";
// alternatively, import the JSON files:
import latte from "@catppuccin/vscode/themes/latte.json" with { type: "json" };
import frappe from "@catppuccin/vscode/themes/frappe.json" with { type: "json" };
import macchiato from "@catppuccin/vscode/themes/macchiato.json" with { type: "json" };
import mocha from "@catppuccin/vscode/themes/mocha.json" with { type: "json" };
To customize the theme, you can use the compile()
function, optionally passing in options that the VSCode theme supports.
import { compile } from "@catppuccin/vscode";
const myMocha = compile("mocha", {
colorOverrides: {
mocha: {
base: "#000000",
mantle: "#010101",
crust: "#020202",
},
},
});
Copyright © 2021-present Catppuccin Org