Skip to content

Instantly share code, notes, and snippets.

@furball514
Last active April 3, 2024 13:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save furball514/da6973bd4237ca36d3746db873b0c446 to your computer and use it in GitHub Desktop.
Save furball514/da6973bd4237ca36d3746db873b0c446 to your computer and use it in GitHub Desktop.
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