$ show catppuccin/vscode-icons
This repository is a Visual Studio Code extension that provides a comprehensive file and folder icon theme using the Catppuccin pastel color palette. It offers icons for over 300 file types and numerous folder types, split across four flavor variants (Latte, FrappΓ©, Macchiato, Mocha). The extension is built with TypeScript and modern tooling (tsup, pnpm, eslint), featuring a modular architecture with separate concerns for configuration, icon compilation, theme generation, and build scripts. Users can customize settings such as monochrome mode, specific folder icons, and custom associations via VS Code settings. The codebase is well-structured, actively maintained, and includes CI/CD pipelines, integrity checks, and preview generation scripts.
The LLM identified 2 files worth highlighting for reuse:
Extracts and structures Catppuccin color palettes (accent, text, overlay1) for all flavors and the CSS-variables variant. Uses the @catppuccin/palette library to build a clean map of color names to hex values or CSS variable strings. This is a self-contained, reusable module for any project needing Catppuccin palette data, requiring only the palette package as a dependency.
Provides functions to apply Catppuccin flavor colors to SVG icons by replacing CSS variable placeholders with actual hex values (or monochrome text color). Includes monochromeIcon, defaultIcon, compileIcon, and helper functions for hashing and path manipulation. The core transformation logic is isolated and could be extracted to theme any SVG asset with Catppuccin colors, given a flavor name and icon SVG string.