3.15.2 • Published 11 months ago

@catppuccin/vscode v3.15.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months 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.15.0

12 months ago

3.15.2

11 months ago

3.15.1

11 months ago

3.14.0

1 year ago

3.13.0

1 year ago

3.12.0

1 year ago

3.11.2

1 year ago

3.11.1

1 year ago

3.11.0

2 years ago

3.10.1

2 years ago

3.10.0

2 years ago