Last active
April 3, 2024 13:00
-
-
Save furball514/da6973bd4237ca36d3746db873b0c446 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as path from 'path'; | |
import { generateTheme, IColorSet } from 'vscode-theme-generator'; | |
const themeName = 'Moonero'; | |
const colors = { | |
black: '#222222', | |
white: '#F4F4F4', | |
blue: '#ff7519', | |
red: '#0099ff', | |
green: '#5b9a6f', | |
yellow: '#ffe00a' | |
} | |
const colorSet: IColorSet = { | |
base: { | |
background: colors.black, | |
foreground: colors.white, | |
color1: colors.blue, | |
color2: colors.red, | |
color3: colors.green, | |
color4: colors.yellow | |
} | |
}; | |
generateTheme(themeName, colorSet, path.join(__dirname, 'theme.json')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment