Top Related Projects
Retro groove color scheme for Vim
An arctic, north-bluish clean and elegant Visual Studio Code theme.
🌌 NIGHT OWL: A VS Code dark theme for contrast for nighttime coding, 🦉 LIGHT OWL: a daytime light theme
Quick Overview
Catppuccin for VSCode is a soothing pastel theme for Visual Studio Code. It aims to provide a comfortable and aesthetically pleasing coding environment with its carefully crafted color palette. The theme is part of the larger Catppuccin project, which offers consistent theming across various applications and platforms.
Pros
- Offers multiple flavor variants (Latte, Frappé, Macchiato, Mocha) to suit different preferences
- Provides excellent contrast and readability for extended coding sessions
- Supports a wide range of programming languages and file types
- Regularly updated and maintained by an active community
Cons
- May not appeal to users who prefer high-contrast or traditional color schemes
- Some users might find the pastel colors too soft for their liking
- Limited customization options compared to more complex themes
- Occasional inconsistencies in syntax highlighting for less common languages
Getting Started
To install the Catppuccin theme in Visual Studio Code:
- Open VS Code
- Go to the Extensions view (Ctrl+Shift+X)
- Search for "Catppuccin"
- Click "Install" on the Catppuccin theme
- Once installed, open the Command Palette (Ctrl+Shift+P)
- Type "Color Theme" and select "Preferences: Color Theme"
- Choose your preferred Catppuccin flavor (Latte, Frappé, Macchiato, or Mocha)
Alternatively, you can install it directly from the VS Code Marketplace:
https://marketplace.visualstudio.com/items?itemName=Catppuccin.catppuccin-vsc
After installation, you can further customize the theme by modifying your settings.json
file. For example, to enable italics:
{
"catppuccin.italicKeywords": true,
"catppuccin.italicComments": true
}
For more customization options and detailed information, refer to the official repository's README and documentation.
Competitor Comparisons
Retro groove color scheme for Vim
Pros of Gruvbox
- Established and widely adopted color scheme with a large user base
- Offers a warm, retro-inspired palette that's easy on the eyes
- Available for a wide range of applications beyond VS Code
Cons of Gruvbox
- Limited color variants compared to Catppuccin's extensive palette
- Less frequent updates and maintenance
- Fewer customization options for fine-tuning the theme
Code Comparison
Gruvbox color definition:
let g:gruvbox_color_column = 'bg1'
let g:gruvbox_contrast_dark = 'medium'
let g:gruvbox_italic = 1
Catppuccin color definition:
"workbench.colorCustomizations": {
"editor.background": "#1E1E2E",
"editor.foreground": "#CDD6F4",
"activityBarBadge.background": "#F5E0DC",
"sideBarTitle.foreground": "#CDD6F4"
}
Both Gruvbox and Catppuccin offer visually appealing color schemes for VS Code, but they cater to different preferences. Gruvbox provides a classic, warm aesthetic with a focus on readability, while Catppuccin offers a more modern and customizable approach with its extensive palette and frequent updates. The choice between the two ultimately depends on personal taste and specific needs for theme customization.
An arctic, north-bluish clean and elegant Visual Studio Code theme.
Pros of Visual Studio Code Nord Theme
- Established and widely recognized color scheme with a large user base
- Offers a cohesive and professional look across various applications
- Provides a soothing, low-contrast palette that's easy on the eyes
Cons of Visual Studio Code Nord Theme
- Limited color palette may feel restrictive for some users
- Less customization options compared to Catppuccin's multiple flavors
- May not be as visually striking or vibrant for those who prefer bolder themes
Code Comparison
Nord Theme:
"colors": {
"editor.background": "#2E3440",
"editor.foreground": "#D8DEE9",
"activityBarBadge.background": "#88C0D0",
"sideBarTitle.foreground": "#D8DEE9"
}
Catppuccin Theme:
"colors": {
"editor.background": "${base}",
"editor.foreground": "${text}",
"activityBarBadge.background": "${blue}",
"sideBarTitle.foreground": "${subtext0}"
}
The Nord theme uses specific color values, while Catppuccin uses variables for easier customization across different flavors. Catppuccin's approach allows for more flexibility and easier maintenance of multiple color schemes within the same theme.
🌌 NIGHT OWL: A VS Code dark theme for contrast for nighttime coding, 🦉 LIGHT OWL: a daytime light theme
Pros of Night Owl
- More established theme with a larger user base and longer history
- Specifically designed for readability during nighttime coding sessions
- Includes italic variants for enhanced visual distinction
Cons of Night Owl
- Limited color palette compared to Catppuccin's extensive options
- Less frequent updates and maintenance
- Fewer customization options for different programming languages
Code Comparison
Night Owl:
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": ["source"],
"settings": {
"fontStyle": "italic"
}
}
]
}
}
Catppuccin:
{
"workbench.colorCustomizations": {
"[Catppuccin Mocha]": {
"editor.background": "#1e1e2e",
"editor.foreground": "#cdd6f4",
"activityBarBadge.background": "#f5e0dc",
"activityBarBadge.foreground": "#11111b"
}
}
}
Both themes offer customization options, but Catppuccin provides more granular control over individual color elements, while Night Owl focuses on specific language-based highlighting and readability enhancements.
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Catppuccin for VSCode
Previews
ð» Latte
𪴠Frappé
ðº Macchiato
ð¿ Mocha
Usage
Preferred method of installation
Install the extension from a Marketplace:
Manual method for installation
Download the VSIX from the latest GitHub release. Open the Command Palette and select "Extensions: Install from VSIX...", then open the file you just downloaded.
Using the JSON files
If you need to use the JSON files for libraries like Shiki, the theme files are published to NPM as @catppuccin/vscode
.
Nix (Home-Manager) users
If you would like to change the theme configuration, the theme expects to have a mutable directory to write its JSON files into. This means that you will have to either:
- Install this extension in a non-declarative way so that the extension has permissions to write files.
This means fully excludingnixpkgs.vscode-extensions.catppuccin.catppuccin-vsc
from your configuration; Just usingprograms.vscode.mutableExtensionsDir = true;
will NOT WORK. - Use the
flake.nix
to build it with your VSCode configuration, using overrides.
This is a declarative way to compile the theme with your preferred options. Please refer to the example below for a sample configuration.
âï¸ Nix Configuration
{
# in your inputs:
inputs.catppuccin-vsc.url = "https://flakehub.com/f/catppuccin/vscode/*.tar.gz";
# add the overlay:
nixpkgs.overlays = [inputs.catppuccin-vsc.overlays.default];
# the package will be available as
# - pkgs.catppuccin-vsc
# - pkgs.vscode-extensions.catppuccin.catppuccin-vsc
# in your home-manager options:
programs.vscode.extensions = [
# all the theme options will be available as overrides, these are defaults:
(pkgs.catppuccin-vsc.override {
accent = "mauve";
boldKeywords = true;
italicComments = true;
italicKeywords = true;
extraBordersEnabled = false;
workbenchMode = "default";
bracketMode = "rainbow";
colorOverrides = {};
customUIColors = {};
})
];
}
Customization
[!Note] We also have a Catppuccin Icon Pack!
VSCode settings
The following settings inside your settings.json
are recommended for this plugin:
{
// we try to make semantic highlighting look good
"editor.semanticHighlighting.enabled": true,
// prevent VSCode from modifying the terminal colors
"terminal.integrated.minimumContrastRatio": 1,
// make the window's titlebar use the workbench colors
"window.titleBarStyle": "custom",
// applicable if you use Go, this is an opt-in flag!
"gopls": {
"ui.semanticTokens": true,
},
}
Catppuccin settings
Catppuccin for VSCode can be customized to your liking. If you like the Catppuccin colors but feel that they are a bit too bright for working at night, customization got you covered!
{
// use Mocha as the base
"workbench.colorTheme": "Catppuccin Mocha",
// pink as the accent color
"catppuccin.accentColor": "pink",
// make Mocha specifically very dark
// (this preserves other flavors!)
"catppuccin.colorOverrides": {
"mocha": {
"base": "#000000",
"mantle": "#010101",
"crust": "#020202",
},
},
// use your accent (pink) on the statusBar as well
"catppuccin.customUIColors": {
"mocha": {
"statusBar.foreground": "accent",
},
},
}
ð¸ Preview
To see all available options, open your settings and look for Extensions > Catppuccin
.
Custom accent color
catppuccin.accentColor
You can choose any color as your "accent" color. mauve
is our default, but you can add more personality by using your favorite!
Disable italics & bold fonts
You can toggle whether to use
- italics for keywords:
catppuccin.italicKeywords
- italics for comments:
catppuccin.italicComments
- bold for keywords:
catppuccin.boldKeywords
Flat appearance
catppuccin.workbenchMode
By default, Catppuccin for VSCode uses three shades of our base
color for the workbench.
For example, in Mocha:
base
: #1e1e2e - the editor backgroundmantle
: #181825 - the sidebarcrust
: #11111b - the activity bar, status bar, and title bar
ð¸ Preview
If you'd like a more flat look, you can change it to flat
! This only uses base
and mantle
, reducing it to 2 shades:
base
: #1e1e2e - the editor backgroundmantle
: #181825 - the sidebar, the activity bar, status bar, and title bar
ð¸ Preview
For absolute minimalism, you can go with minimal
; a single shade for the whole workbench.
- This only uses
base
(#1e1e2e)
ð¸ Preview
Paired Brackets
catppuccin.bracketMode
By default, we use red
, peach
, yellow
, green
, blue
, and mauve
for matching bracket pairs. You can change that option if you want different colors:
rainbow
is our default setting, using the colors described above.dimmed
uses the same rainbow colors, but muted by 20%.monochromatic
only uses grayish colors, fromsubtext1
tosurface2
.neovim
uses the same colors thatnvim-ts-rainbow
uses in our Neovim port.
Override palette colors
catppuccin.colorOverrides
Colors can be overwritten in the JSON user settings, like so:
{
// ...your other settings...
"catppuccin.colorOverrides": {
// make text red red all flavors
"all": {
"text": "#ff0000",
},
// make Mocha "OLEDppuccin" - use black editor background
"mocha": {
"base": "#000000",
"mantle": "#010101",
"crust": "#020202",
},
},
}
Use palette colors on workbench elements (UI)
catppuccin.customUIColors
If you want to customize where certain palette colors appear, you can change it like so:
{
"catppuccin.customUIColors": {
// make the breadcrumb "text" on "overlay0" for all flavors
"all": {
"breadcrumb.background": "overlay0",
"breadcrumb.foreground": "text",
},
// but for mocha, use "crust" on your currently selected accent.
"mocha": {
// "accent" selects your current accent color.
"breadcrumb.background": "accent",
"breadcrumb.foreground": "crust",
// you can use opacity, by specifying it after a space
// "rosewater 0.5" would mean 50% opacity, here it's 20%
"minimap.background": "rosewater 0.2",
},
},
}
You can find all the available keys here.
[!Note] This respects your color overrides.
Extension Support
Catppuccin for VSCode also themes the following extensions:
Support
If you have any questions regarding this port, feel free to open an issue or ask in our Discord, where we have a dedicated forum for support.
Development
- Clone and open this repository in VSCode.
- Launch a new instance from "Run and Debug". This will spawn a new instance, which will have the current build of the theme available.
- Make modifications to the JSON files in
./themes
to see the changes immediately. - To preserve changes, they have to be edited in
./src/theme/*.ts
, since the theme builds the JSON files from there.
ð Thanks to
Current maintainers
Contributions
- Lichthagel - GitLens extension support
- suppayami - Workbench appearances
Previous maintainer(s)
Copyright © 2021-present Catppuccin Org
Top Related Projects
Retro groove color scheme for Vim
An arctic, north-bluish clean and elegant Visual Studio Code theme.
🌌 NIGHT OWL: A VS Code dark theme for contrast for nighttime coding, 🦉 LIGHT OWL: a daytime light theme
Convert designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot