package
File icon theme for VS Code backed by source SVGs.
npm install @pierre/vscode-iconsGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
96.2 kB
Includes dependencies.
File icon theme for VS Code with three tiers and per-icon palette colors.
The extension ships three icon themes, each building on the last:
Colors come from the Pierre palette, using level 400 for dark themes and 600 for light themes -- the same scale used for syntax tokens in the Pierre color theme.
Minimal and default tiers are monochrome (gray 400 / 800). The complete tier applies per-icon colors, with two modes:
color(hue)) -- one palette hue for all paths. Duo-tone icons get visual weight from the opacity attribute baked into the SVG's background path.duoColor(fg, bg)) -- separate palette hues for foreground and background paths. Requires SVG paths to have class="fg" and class="bg" attributes (set in Figma). The build injects a <style> block to override bg fills via CSS.npm run buildThis reads source SVGs from svgs/, optimizes them with SVGO, stamps dark/light fill colors, and writes the output to icons/. Three theme JSON files are generated: theme-minimal.json, theme-default.json, and theme-complete.json.
For development, watch mode rebuilds on SVG changes:
npm run watchnpm run build.F5 to launch an Extension Development Host.npm run packageThen install the generated .vsix in VS Code or Cursor.
svgs/. For duo-tone icons, use class="bg" and class="fg" on paths.scripts/build-icon-theme.mjs:// Single color
{ name: "react", color: color(palette.cyan), fileExtensions: ["jsx", "tsx"] }
// Dual color (fg + bg)
{ name: "lang-python", color: duoColor(palette.blue, palette.yellow), fileExtensions: ["py"] }
// Monochrome (no color property)
{ name: "font", fileExtensions: ["ttf", "otf", "woff", "woff2"] }npm run build.imownbey
imownbey@gmail.com