Skip to content

Commit

Permalink
feat: update icon packs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnWeber committed Nov 22, 2022
1 parent 11b2360 commit e7dfe70
Show file tree
Hide file tree
Showing 15 changed files with 327 additions and 119 deletions.
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"version": "0.2.0",
"configurations": [

{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.4.0 (2022-11-22)

#### Feature

- new icon packs (dot_colored_root, dot_colored, dot_colored_gray, dot_small_root)

## 0.3.0 (2022-02-22)

#### Fix
Expand Down
143 changes: 88 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 25 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "dot-icons",
"displayName": "dot-icons",
"version": "0.3.0",
"version": "0.4.0",
"description": "Icons with a dot",
"publisher": "anweber",
"scripts": {
"start": "npm run compile",
"compile": "ts-node ./src/build.ts",
"prepublish": "npm run compile"
},
Expand Down Expand Up @@ -32,6 +33,11 @@
"label": "dot",
"path": "dist/dot_config.json"
},
{
"id": "dot_colored_root",
"label": "dot (Colored Root)",
"path": "dist/dot_colored_root_config.json"
},
{
"id": "dot_gray",
"label": "dot (gray)",
Expand All @@ -42,10 +48,25 @@
"label": "dot small",
"path": "dist/dot_small_config.json"
},
{
"id": "dot_small_root",
"label": "dot small (Colored Root)",
"path": "dist/dot_small_root_config.json"
},
{
"id": "dot_small_gray",
"label": "dot small (gray)",
"path": "dist/dot_small_gray_config.json"
},
{
"id": "dot_colored",
"label": "dot colored",
"path": "dist/dot_colored_config.json"
},
{
"id": "dot_colored_gray",
"label": "dot colored (gray)",
"path": "dist/dot_colored_gray_config.json"
}
]
},
Expand All @@ -56,8 +77,8 @@
},
"homepage": "https://github.com/anweber/dot-icons#readme",
"devDependencies": {
"@types/node": "^17.0.18",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
"@types/node": "^18.11.9",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
}
}
9 changes: 7 additions & 2 deletions src/build.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

import { dot, dotGrayscaleFolder } from './themeDot';
import { dotSmall, dotSmallGrayscaleFolder } from './themeDotSmall';
import { dot, dotRoot, dotGrayscaleFolder } from './themeDot';
import { dotSmall, dotSmallRoot, dotSmallGrayscaleFolder } from './themeDotSmall';
import { dotColored, dotColoredGrayscaleFolder } from './themeDotColored';
import { IconRootConfig, IconConfig, IconDefinition, VSCodeIconTheme } from './types/vscode';
import { IconTheme, FileIcon, IconColor, FolderIcon } from './types/iconTheme';
import { promises as fs } from 'fs';
Expand All @@ -11,9 +12,13 @@ async function generateAll() {
await initFolders();
const iconThemes: Array<IconTheme> = [
dot,
dotRoot,
dotGrayscaleFolder,
dotSmall,
dotSmallRoot,
dotSmallGrayscaleFolder,
dotColored,
dotColoredGrayscaleFolder
];

const contributes: {iconThemes: Array<VSCodeIconTheme>} = {
Expand Down
Loading

0 comments on commit e7dfe70

Please sign in to comment.