3.14.0 • Published 1 month ago

@catppuccin/vscode v3.14.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Simple NPM package containing all compiled themes of Catppuccin for VSCode.

Usage

You can use these definitions with libraries like Shiki.

npm install @catppuccin/vscode
pnpm add @catppuccin/vscode
yarn add @catppuccin/vscode

API

// 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",
    },
  },
});

 

3.14.0

1 month ago

3.13.0

2 months ago

3.12.0

3 months ago

3.11.2

3 months ago

3.11.1

4 months ago

3.11.0

5 months ago

3.10.1

5 months ago

3.10.0

5 months ago