@pierre/vscode-icons 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/.github/workflows/publish.yml +62 -0
  2. package/.oxfmtrc.json +4 -0
  3. package/.vscode/launch.json +15 -0
  4. package/.vscode/tasks.json +11 -0
  5. package/.vscodeignore +11 -0
  6. package/LICENSE.md +21 -0
  7. package/README.md +69 -0
  8. package/icon.png +0 -0
  9. package/package.json +69 -0
  10. package/scripts/build-icon-theme.mjs +170 -0
  11. package/scripts/package-vsix.mjs +25 -0
  12. package/scripts/palette.mjs +31 -0
  13. package/scripts/themes/complete.mjs +285 -0
  14. package/scripts/themes/default.mjs +79 -0
  15. package/scripts/themes/minimal.mjs +54 -0
  16. package/scripts/watch-svgs.mjs +38 -0
  17. package/svgo.config.js +25 -0
  18. package/svgs/astro.svg +6 -0
  19. package/svgs/babel.svg +3 -0
  20. package/svgs/bash-duo.svg +6 -0
  21. package/svgs/bash.svg +3 -0
  22. package/svgs/biome.svg +3 -0
  23. package/svgs/bootstrap-duo.svg +6 -0
  24. package/svgs/bootstrap.svg +3 -0
  25. package/svgs/braces.svg +4 -0
  26. package/svgs/browserslist-duo.svg +9 -0
  27. package/svgs/bun-duo.svg +6 -0
  28. package/svgs/bun.svg +3 -0
  29. package/svgs/claude.svg +3 -0
  30. package/svgs/code-block-duo.svg +9 -0
  31. package/svgs/css.svg +1 -0
  32. package/svgs/docker.svg +4 -0
  33. package/svgs/eslint.svg +4 -0
  34. package/svgs/extension.svg +3 -0
  35. package/svgs/file-duo.svg +6 -0
  36. package/svgs/file-text-duo.svg +6 -0
  37. package/svgs/file-text.svg +5 -0
  38. package/svgs/file.svg +3 -0
  39. package/svgs/folder-duo.svg +6 -0
  40. package/svgs/folder-open-duo.svg +6 -0
  41. package/svgs/folder-open.svg +3 -0
  42. package/svgs/folder.svg +3 -0
  43. package/svgs/font.svg +4 -0
  44. package/svgs/git.svg +3 -0
  45. package/svgs/graphql.svg +9 -0
  46. package/svgs/html.svg +4 -0
  47. package/svgs/image-duo.svg +9 -0
  48. package/svgs/image.svg +4 -0
  49. package/svgs/javascript.svg +1 -0
  50. package/svgs/lang-css-duo.svg +10 -0
  51. package/svgs/lang-css.svg +3 -0
  52. package/svgs/lang-go.svg +3 -0
  53. package/svgs/lang-html-duo.svg +6 -0
  54. package/svgs/lang-html.svg +4 -0
  55. package/svgs/lang-html5-duo.svg +6 -0
  56. package/svgs/lang-html5.svg +5 -0
  57. package/svgs/lang-javascript-duo.svg +9 -0
  58. package/svgs/lang-javascript.svg +3 -0
  59. package/svgs/lang-markdown.svg +4 -0
  60. package/svgs/lang-python.svg +6 -0
  61. package/svgs/lang-ruby.svg +3 -0
  62. package/svgs/lang-rust.svg +3 -0
  63. package/svgs/lang-swift.svg +3 -0
  64. package/svgs/lang-typescript-duo.svg +9 -0
  65. package/svgs/lang-typescript.svg +4 -0
  66. package/svgs/markdown.svg +1 -0
  67. package/svgs/mcp.svg +11 -0
  68. package/svgs/nextjs.svg +14 -0
  69. package/svgs/npm-duo.svg +6 -0
  70. package/svgs/npm.svg +3 -0
  71. package/svgs/oxc-fill.svg +3 -0
  72. package/svgs/oxc.svg +3 -0
  73. package/svgs/postcss.svg +23 -0
  74. package/svgs/prettier.svg +6 -0
  75. package/svgs/react.svg +4 -0
  76. package/svgs/rss.svg +3 -0
  77. package/svgs/ruby.svg +1 -0
  78. package/svgs/sass.svg +3 -0
  79. package/svgs/stylelint.svg +10 -0
  80. package/svgs/svelte.svg +3 -0
  81. package/svgs/svg-2.svg +4 -0
  82. package/svgs/svg.svg +3 -0
  83. package/svgs/svgo.svg +4 -0
  84. package/svgs/tailwind.svg +3 -0
  85. package/svgs/terraform.svg +3 -0
  86. package/svgs/typescript.svg +1 -0
  87. package/svgs/vite.svg +3 -0
  88. package/svgs/vscode.svg +11 -0
  89. package/svgs/vue.svg +4 -0
  90. package/svgs/wasm-duo.svg +9 -0
  91. package/svgs/wasm.svg +3 -0
  92. package/svgs/webpack.svg +6 -0
  93. package/svgs/yml.svg +3 -0
  94. package/svgs/zig.svg +5 -0
@@ -0,0 +1,62 @@
1
+ name: Publish
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ package:
9
+ name: Publish to VS Marketplace & Open VSX
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: '20'
20
+ cache: 'npm'
21
+
22
+ - name: Install dependencies
23
+ run: npm ci
24
+
25
+ - name: Build theme
26
+ run: npm run build
27
+
28
+ - name: Rename package for extension publishing
29
+ run: jq '.name = "pierre-vscode-icons"' package.json > tmp.json && mv tmp.json package.json
30
+
31
+ - name: Publish to VS Marketplace
32
+ env:
33
+ VSCE_PAT: ${{ secrets.VSCE_PAT }}
34
+ run: npx @vscode/vsce publish --pat $VSCE_PAT
35
+
36
+ - name: Publish to Open VSX
37
+ env:
38
+ OVSX_PAT: ${{ secrets.OPEN_VSX_TOKEN }}
39
+ run: npx ovsx publish --pat $OVSX_PAT
40
+
41
+ npm:
42
+ name: Publish to npm
43
+ runs-on: ubuntu-latest
44
+ permissions:
45
+ id-token: write
46
+ contents: read
47
+
48
+ steps:
49
+ - name: Checkout code
50
+ uses: actions/checkout@v4
51
+
52
+ - name: Setup Node.js
53
+ uses: actions/setup-node@v4
54
+ with:
55
+ node-version: '20'
56
+ cache: 'npm'
57
+ registry-url: 'https://registry.npmjs.org'
58
+
59
+ - name: Publish to npm
60
+ env:
61
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
62
+ run: npm publish --access public --provenance
package/.oxfmtrc.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "./node_modules/oxfmt/configuration_schema.json",
3
+ "ignorePatterns": []
4
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "name": "Run Icon Theme Extension",
6
+ "type": "extensionHost",
7
+ "request": "launch",
8
+ "preLaunchTask": "build icon theme",
9
+ "args": [
10
+ "--extensionDevelopmentPath=${workspaceFolder}",
11
+ "${workspaceFolder}"
12
+ ]
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "version": "2.0.0",
3
+ "tasks": [
4
+ {
5
+ "label": "build icon theme",
6
+ "type": "shell",
7
+ "command": "npm run build",
8
+ "problemMatcher": []
9
+ }
10
+ ]
11
+ }
package/.vscodeignore ADDED
@@ -0,0 +1,11 @@
1
+ .vscode/**
2
+ .github/
3
+ .gitignore
4
+ node_modules/
5
+ package-lock.json
6
+ scripts/
7
+ svgs/
8
+ svgo.config.js
9
+ test/
10
+ .oxfmtrc.json
11
+ *.vsix
package/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 The Pierre Computer Company
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,69 @@
1
+ # Pierre Icons for VS Code
2
+
3
+ File icon theme for VS Code with three tiers and per-icon palette colors.
4
+
5
+ ## Themes
6
+
7
+ The extension ships three icon themes, each building on the last:
8
+
9
+ - **Pierre Icons (Minimal)** -- file, folder, text, and image icons only. Monochrome.
10
+ - **Pierre Icons** -- adds language icons (JS, TS, CSS, HTML, Python, Go, Rust, Ruby, Swift, Bash, Markdown) plus font, SVG, JSON, and git. Monochrome.
11
+ - **Pierre Icons (Complete)** -- adds framework, tooling, and config icons (React, Vue, Svelte, Astro, Docker, Tailwind, ESLint, Prettier, npm, Vite, webpack, and more). Uses per-icon colors from the [Pierre palette](https://github.com/pierrecomputer/theme).
12
+
13
+ ## Color system
14
+
15
+ 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](https://github.com/pierrecomputer/theme).
16
+
17
+ Minimal and default tiers are monochrome (gray `400` / `800`). The complete tier applies per-icon colors, with two modes:
18
+
19
+ - **Single color** (`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.
20
+ - **Dual color** (`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.
21
+
22
+ ## Build
23
+
24
+ ```bash
25
+ npm run build
26
+ ```
27
+
28
+ This 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`.
29
+
30
+ For development, watch mode rebuilds on SVG changes:
31
+
32
+ ```bash
33
+ npm run watch
34
+ ```
35
+
36
+ ## Load locally
37
+
38
+ ### Run from source (VS Code)
39
+
40
+ 1. Open this folder in VS Code.
41
+ 2. Run `npm run build`.
42
+ 3. Press `F5` to launch an Extension Development Host.
43
+ 4. Choose one of the Pierre Icons themes from **File Icon Theme**.
44
+
45
+ ### Package a VSIX
46
+
47
+ ```bash
48
+ npm run package
49
+ ```
50
+
51
+ Then install the generated `.vsix` in VS Code or Cursor.
52
+
53
+ ## Adding icons
54
+
55
+ 1. Add or update SVGs in `svgs/`. For duo-tone icons, use `class="bg"` and `class="fg"` on paths.
56
+ 2. Add an entry to the appropriate tier array in `scripts/build-icon-theme.mjs`:
57
+
58
+ ```js
59
+ // Single color
60
+ { name: "react", color: color(palette.cyan), fileExtensions: ["jsx", "tsx"] }
61
+
62
+ // Dual color (fg + bg)
63
+ { name: "lang-python", color: duoColor(palette.blue, palette.yellow), fileExtensions: ["py"] }
64
+
65
+ // Monochrome (no color property)
66
+ { name: "font", fileExtensions: ["ttf", "otf", "woff", "woff2"] }
67
+ ```
68
+
69
+ 3. Run `npm run build`.
package/icon.png ADDED
Binary file
package/package.json ADDED
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "@pierre/vscode-icons",
3
+ "displayName": "Pierre VS Code Icons",
4
+ "description": "File icon theme for VS Code backed by source SVGs.",
5
+ "version": "0.0.1",
6
+ "publisher": "pierrecomputer",
7
+ "license": "MIT",
8
+ "type": "module",
9
+ "icon": "icon.png",
10
+ "galleryBanner": {
11
+ "color": "#141415",
12
+ "theme": "dark"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/pierrecomputer/vscode-icons"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/pierrecomputer/vscode-icons/issues"
20
+ },
21
+ "engines": {
22
+ "vscode": "^1.90.0"
23
+ },
24
+ "categories": [
25
+ "Themes"
26
+ ],
27
+ "keywords": [
28
+ "icons",
29
+ "pierre",
30
+ "file-icons",
31
+ "icon-theme"
32
+ ],
33
+ "scripts": {
34
+ "build": "node scripts/build-icon-theme.mjs",
35
+ "watch": "node scripts/watch-svgs.mjs",
36
+ "package": "npm run build && node scripts/package-vsix.mjs",
37
+ "lint": "oxlint scripts/",
38
+ "format": "oxfmt scripts/",
39
+ "format:check": "oxfmt --check scripts/"
40
+ },
41
+ "contributes": {
42
+ "iconThemes": [
43
+ {
44
+ "id": "pierre-icons-minimal",
45
+ "label": "Pierre Icons (Minimal)",
46
+ "path": "./icons/theme-minimal.json"
47
+ },
48
+ {
49
+ "id": "pierre-icons",
50
+ "label": "Pierre Icons",
51
+ "path": "./icons/theme-default.json"
52
+ },
53
+ {
54
+ "id": "pierre-icons-complete",
55
+ "label": "Pierre Icons (Complete)",
56
+ "path": "./icons/theme-complete.json"
57
+ }
58
+ ]
59
+ },
60
+ "publishConfig": {
61
+ "access": "public"
62
+ },
63
+ "devDependencies": {
64
+ "@vscode/vsce": "^3.2.2",
65
+ "oxfmt": "^0.41.0",
66
+ "oxlint": "^1.56.0",
67
+ "svgo": "^4.0.1"
68
+ }
69
+ }
@@ -0,0 +1,170 @@
1
+ import { mkdir, readFile, writeFile } from "node:fs/promises";
2
+ import path from "node:path";
3
+ import { fileURLToPath } from "node:url";
4
+ import { optimize } from "svgo";
5
+ import { SVGOConfig } from "../svgo.config.js";
6
+ import { fill } from "./palette.mjs";
7
+ import minimal from "./themes/minimal.mjs";
8
+ import defaults from "./themes/default.mjs";
9
+ import complete from "./themes/complete.mjs";
10
+
11
+ const __filename = fileURLToPath(import.meta.url);
12
+ const __dirname = path.dirname(__filename);
13
+ const rootDir = path.resolve(__dirname, "..");
14
+ const iconOutputDir = path.join(rootDir, "icons");
15
+ const svgDir = path.join(rootDir, "svgs");
16
+
17
+ const tiers = {
18
+ minimal,
19
+ default: [...minimal, ...defaults],
20
+ complete: [...minimal, ...defaults, ...complete],
21
+ };
22
+
23
+ // ---------------------------------------------------------------------------
24
+ // SVG generation — read source, optimize, stamp dark/light fills
25
+ // ---------------------------------------------------------------------------
26
+
27
+ function normalizeSvg(svg) {
28
+ return svg.replaceAll("#6c6c71", "currentColor");
29
+ }
30
+
31
+ function applyOpacity(svg, opacity) {
32
+ if (!opacity || opacity === 1) return svg;
33
+ return svg.replace("<svg", `<svg opacity="${opacity}"`);
34
+ }
35
+
36
+ function applyBgStyle(svg, bgColor) {
37
+ return svg.replace(">", `><style>.bg{fill:${bgColor}}</style>`);
38
+ }
39
+
40
+ function optimizeSvg(raw) {
41
+ return normalizeSvg(optimize(raw, SVGOConfig).data);
42
+ }
43
+
44
+ async function generateSvgPair(name, { opacity } = {}) {
45
+ const srcPath = path.join(svgDir, `${name}.svg`);
46
+ const raw = await readFile(srcPath, "utf8");
47
+ const optimized = optimizeSvg(raw);
48
+
49
+ const darkSvg = applyOpacity(optimized.replaceAll("currentColor", fill.dark), opacity);
50
+ const lightSvg = applyOpacity(optimized.replaceAll("currentColor", fill.light), opacity);
51
+
52
+ await writeFile(path.join(iconOutputDir, `${name}.svg`), darkSvg);
53
+ await writeFile(path.join(iconOutputDir, `${name}-light.svg`), lightSvg);
54
+ }
55
+
56
+ async function generateColoredSvg(name, iconColor, { opacity } = {}) {
57
+ const srcPath = path.join(svgDir, `${name}.svg`);
58
+ const raw = await readFile(srcPath, "utf8");
59
+ const optimized = optimizeSvg(raw);
60
+
61
+ let darkSvg, lightSvg;
62
+
63
+ if (iconColor.fg) {
64
+ darkSvg = applyBgStyle(
65
+ optimized.replaceAll("currentColor", iconColor.fg.dark),
66
+ iconColor.bg.dark,
67
+ );
68
+ lightSvg = applyBgStyle(
69
+ optimized.replaceAll("currentColor", iconColor.fg.light),
70
+ iconColor.bg.light,
71
+ );
72
+ } else {
73
+ darkSvg = optimized.replaceAll("currentColor", iconColor.dark);
74
+ lightSvg = optimized.replaceAll("currentColor", iconColor.light);
75
+ }
76
+
77
+ darkSvg = applyOpacity(darkSvg, opacity);
78
+ lightSvg = applyOpacity(lightSvg, opacity);
79
+
80
+ await writeFile(path.join(iconOutputDir, `${name}-color.svg`), darkSvg);
81
+ await writeFile(path.join(iconOutputDir, `${name}-color-light.svg`), lightSvg);
82
+ }
83
+
84
+ // ---------------------------------------------------------------------------
85
+ // Theme builders
86
+ // ---------------------------------------------------------------------------
87
+
88
+ function buildTheme(icons, { colored = false } = {}) {
89
+ const iconDefinitions = {};
90
+ const fileExtensions = {};
91
+ const lightFileExtensions = {};
92
+ const fileNames = {};
93
+ const lightFileNames = {};
94
+
95
+ for (const { name, color: iconColor, fileExtensions: exts, fileNames: names } of icons) {
96
+ const hasColor = colored && iconColor;
97
+ const darkPath = hasColor ? `./${name}-color.svg` : `./${name}.svg`;
98
+ const lightPath = hasColor ? `./${name}-color-light.svg` : `./${name}-light.svg`;
99
+ iconDefinitions[name] = { iconPath: darkPath };
100
+ iconDefinitions[`${name}_light`] = { iconPath: lightPath };
101
+
102
+ if (exts) {
103
+ for (const ext of exts) {
104
+ fileExtensions[ext] = name;
105
+ lightFileExtensions[ext] = `${name}_light`;
106
+ }
107
+ }
108
+ if (names) {
109
+ for (const fn of names) {
110
+ fileNames[fn] = name;
111
+ lightFileNames[fn] = `${name}_light`;
112
+ }
113
+ }
114
+ }
115
+
116
+ const theme = {
117
+ iconDefinitions,
118
+ file: "file-duo",
119
+ folder: "folder-duo",
120
+ folderExpanded: "folder-open-duo",
121
+ fileExtensions,
122
+ light: {
123
+ file: "file-duo_light",
124
+ folder: "folder-duo_light",
125
+ folderExpanded: "folder-open-duo_light",
126
+ fileExtensions: lightFileExtensions,
127
+ },
128
+ };
129
+
130
+ if (Object.keys(fileNames).length > 0) {
131
+ theme.fileNames = fileNames;
132
+ theme.light.fileNames = lightFileNames;
133
+ }
134
+
135
+ return theme;
136
+ }
137
+
138
+ // ---------------------------------------------------------------------------
139
+ // Build
140
+ // ---------------------------------------------------------------------------
141
+
142
+ await mkdir(iconOutputDir, { recursive: true });
143
+
144
+ const allIcons = new Map();
145
+ for (const icons of Object.values(tiers)) {
146
+ for (const icon of icons) {
147
+ allIcons.set(icon.name, icon);
148
+ }
149
+ }
150
+ await Promise.all(
151
+ [...allIcons.values()].map((i) => generateSvgPair(i.name, { opacity: i.opacity })),
152
+ );
153
+
154
+ const coloredIcons = [...allIcons.values()].filter((i) => i.color);
155
+ await Promise.all(
156
+ coloredIcons.map((i) => generateColoredSvg(i.name, i.color, { opacity: i.opacity })),
157
+ );
158
+
159
+ const tierOptions = {
160
+ minimal: { colored: false },
161
+ default: { colored: false },
162
+ complete: { colored: true },
163
+ };
164
+
165
+ for (const [name, icons] of Object.entries(tiers)) {
166
+ const theme = buildTheme(icons, tierOptions[name]);
167
+ const out = path.join(iconOutputDir, `theme-${name}.json`);
168
+ await writeFile(out, `${JSON.stringify(theme, null, 2)}\n`);
169
+ console.log(`Wrote ${path.relative(rootDir, out)}`);
170
+ }
@@ -0,0 +1,25 @@
1
+ import { readFileSync, writeFileSync } from "node:fs";
2
+ import { execSync } from "node:child_process";
3
+ import { fileURLToPath } from "node:url";
4
+ import path from "node:path";
5
+
6
+ const __filename = fileURLToPath(import.meta.url);
7
+ const __dirname = path.dirname(__filename);
8
+ const rootDir = path.resolve(__dirname, "..");
9
+ const pkgPath = path.join(rootDir, "package.json");
10
+
11
+ const original = readFileSync(pkgPath, "utf-8");
12
+ const pkg = JSON.parse(original);
13
+
14
+ const originalName = pkg.name;
15
+ pkg.name = "pierre-vscode-icons";
16
+
17
+ console.log(`Temporarily renaming package: ${originalName} → ${pkg.name}\n`);
18
+
19
+ try {
20
+ writeFileSync(pkgPath, JSON.stringify(pkg, null, 2) + "\n");
21
+ execSync("npx @vscode/vsce package", { stdio: "inherit", cwd: rootDir });
22
+ } finally {
23
+ writeFileSync(pkgPath, original);
24
+ console.log(`\nRestored package name: ${originalName}`);
25
+ }
@@ -0,0 +1,31 @@
1
+ export const palette = {
2
+ gray: {
3
+ 400: "#adadb1",
4
+ 500: "#8E8E95",
5
+ 600: "#84848A",
6
+ 700: "#79797F",
7
+ 800: "#6C6C71",
8
+ },
9
+ red: { 400: "#ff6762", 600: "#d52c36" },
10
+ orange: { 400: "#ffa359", 600: "#d47628" },
11
+ yellow: { 400: "#ffd452", 600: "#d5a910" },
12
+ green: { 400: "#5ecc71", 600: "#199f43" },
13
+ mint: { 400: "#61d5c0", 600: "#16a994" },
14
+ teal: { 400: "#64d1db", 600: "#17a5af" },
15
+ cyan: { 400: "#68cdf2", 600: "#1ca1c7" },
16
+ blue: { 400: "#69b1ff", 600: "#1a85d4" },
17
+ indigo: { 400: "#9d6afb", 600: "#693acf" },
18
+ purple: { 400: "#d568ea", 600: "#a631be" },
19
+ pink: { 400: "#ff678d", 600: "#d32a61" },
20
+ brown: { 400: "#c3987b", 600: "#956b4f" },
21
+ };
22
+
23
+ export const fill = { dark: palette.gray[400], light: palette.gray[800] };
24
+
25
+ export function color(hue) {
26
+ return { dark: hue[400], light: hue[600] };
27
+ }
28
+
29
+ export function duoColor(fg, bg) {
30
+ return { fg: color(fg), bg: color(bg) };
31
+ }