mirror of
https://github.com/Tyriar/vscode-theme-generator.git
synced 2025-12-07 09:36:11 -08:00
Polish demo
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,4 +2,5 @@ dist/
|
|||||||
node_modules/
|
node_modules/
|
||||||
typings/
|
typings/
|
||||||
|
|
||||||
out/theme.json
|
demo/generate.js
|
||||||
|
demo/theme/theme.json
|
||||||
|
|||||||
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -7,7 +7,7 @@
|
|||||||
"type": "extensionHost",
|
"type": "extensionHost",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"runtimeExecutable": "${execPath}",
|
"runtimeExecutable": "${execPath}",
|
||||||
"args": ["--extensionDevelopmentPath=${workspaceRoot}/out" ]
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}/demo/theme" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,8 +16,10 @@ Support below means that the editor has explicit support for the languages; the
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install
|
npm run dev
|
||||||
npm run build && npm start
|
|
||||||
|
# In another shell
|
||||||
|
npm run demo
|
||||||
```
|
```
|
||||||
|
|
||||||
To test VS Code extensions, <kbd>F5</kbd> will launch the Code debugger with the theme available to switch to.
|
Them in VS Code press <kbd>F5</kbd> to launch the debugger with the generated theme available to switch to.
|
||||||
|
|||||||
@@ -70,4 +70,4 @@ var sapphireColorSet = {
|
|||||||
ansiBrightWhite: '#efefef'
|
ansiBrightWhite: '#efefef'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
dist_1.generateTheme('Sapphire theme', sapphireColorSet, path.join(__dirname, 'theme.json'));
|
dist_1.generateTheme('Generated Theme', sapphireColorSet, path.join(__dirname, 'theme', 'theme.json'));
|
||||||
|
|||||||
@@ -73,4 +73,4 @@ const sapphireColorSet: IColorSet = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
generateTheme('Sapphire theme', sapphireColorSet, path.join(__dirname, 'theme.json'));
|
generateTheme('Generated Theme', sapphireColorSet, path.join(__dirname, 'theme', 'theme.json'));
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "generated-theme",
|
"name": "generated-theme",
|
||||||
"displayName": "Generated THeme",
|
"displayName": "Generated Theme",
|
||||||
"description": "...",
|
"description": "...",
|
||||||
"categories": [ "Themes" ],
|
"categories": [ "Themes" ],
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
"contributes": {
|
"contributes": {
|
||||||
"themes": [
|
"themes": [
|
||||||
{
|
{
|
||||||
"label": "Generated theme",
|
"label": "Generated Theme",
|
||||||
"uiTheme": "vs-dark",
|
"uiTheme": "vs-dark",
|
||||||
"path": "./theme.json"
|
"path": "./theme.json"
|
||||||
}
|
}
|
||||||
@@ -4,8 +4,8 @@
|
|||||||
"description": "Easily generate themes for VS Code with only a few colors",
|
"description": "Easily generate themes for VS Code with only a few colors",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"dev": "tsc -w",
|
||||||
"start": "node dist/index.js"
|
"demo": "tsc demo/generate.ts && node demo/generate.js"
|
||||||
},
|
},
|
||||||
"author": "Tyriar",
|
"author": "Tyriar",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in New Issue
Block a user