mirror of
https://github.com/Tyriar/vscode-theme-generator.git
synced 2026-09-25 13:31:27 -07:00
Simplify example
This commit is contained in:
@@ -17,7 +17,8 @@ All other VS Code theme colors are then derived from those base colors, with the
|
|||||||
This is all that's needed to generate a great looking theme:
|
This is all that's needed to generate a great looking theme:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
const minimalColorSet: IColorSet = {
|
import { generateTheme, IColorSet } from 'vscode-theme-generator';
|
||||||
|
const colorSet: IColorSet = {
|
||||||
base: {
|
base: {
|
||||||
background: '#12171F',
|
background: '#12171F',
|
||||||
foreground: '#EFEFEF',
|
foreground: '#EFEFEF',
|
||||||
@@ -27,7 +28,7 @@ const minimalColorSet: IColorSet = {
|
|||||||
color4: '#fff099',
|
color4: '#fff099',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
generateTheme('Generated Theme (minimal)', minimalColorSet, path.join(__dirname, 'theme-minimal.json'));
|
generateTheme('My Theme', colorSet, path.join(__dirname, 'theme.json'));
|
||||||
```
|
```
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
Reference in New Issue
Block a user