aboutsummaryrefslogtreecommitdiff
path: root/themes/src/dark/yaru.ts
diff options
context:
space:
mode:
authorGravatar Daniel Smith <rdnlsmith@gmail.com> 2018-10-26 11:59:49 -0400
committerGravatar Daniel Smith <rdnlsmith@gmail.com> 2018-10-26 11:59:49 -0400
commitd50c6bb9e3899e52818878a71348a1bb556555e1 (patch)
treefd5c8ec76d1209b1e4c56af7b6c46502d35864ec /themes/src/dark/yaru.ts
parent32f83805bf3c6c11a9e79d914ec2cc8ec7de1a9b (diff)
Yaru: Add theme (preliminary)
Diffstat (limited to 'themes/src/dark/yaru.ts')
-rw-r--r--themes/src/dark/yaru.ts67
1 files changed, 67 insertions, 0 deletions
diff --git a/themes/src/dark/yaru.ts b/themes/src/dark/yaru.ts
new file mode 100644
index 0000000..a1a38cd
--- /dev/null
+++ b/themes/src/dark/yaru.ts
@@ -0,0 +1,67 @@
+import * as path from 'path';
+import { generateTheme, IColorSet } from 'vscode-theme-generator';
+
+const themeName = 'Yaru';
+const colors = {
+ black: '#111111',
+ white: '#FFFFFF',
+ blue: '#5555FF',
+ red: '#FF5555',
+ green: '#55FF55',
+ yellow: '#FFFF33',
+ ubuntuGray: '#2b2929',
+ ubuntuMediumGray: '#1e1d1d',
+ ubuntuDarkGray: '#111111',
+ ubuntuOrange: '#e95420',
+ lightAubergine: '#77216f',
+ lighterAubergine: '#9f639a',
+ midAubergine: '#5e2750',
+ darkAubergine: '#2c001e'
+}
+
+const colorSet: IColorSet = {
+ base: {
+ background: colors.ubuntuGray,
+ foreground: colors.white,
+ color1: colors.ubuntuOrange,
+ color2: colors.red,
+ color3: colors.green,
+ color4: colors.lighterAubergine
+ },
+ syntax: {
+ keyword: colors.lighterAubergine
+ },
+ terminal: {
+ black: '#000000',
+ red: '#aa0000',
+ green: '#00aa00',
+ yellow: '#aa5500',
+ blue: '#0000aa',
+ magenta: '#aa00aa',
+ cyan: '#00aaaa',
+ white: '#aaaaaa',
+ brightBlack: '#555555',
+ brightRed: '#ff5555',
+ brightGreen: '#55ff55',
+ brightYellow: '#ffff55',
+ brightBlue: '#5555ff',
+ brightMagenta: '#ff55ff',
+ brightCyan: '#55ffff',
+ brightWhite: '#ffffff',
+ },
+ overrides: {
+ 'editor.background': colors.ubuntuDarkGray,
+ 'editorGroupHeader.tabsBackground': colors.ubuntuGray,
+ 'panel.background': colors.ubuntuDarkGray,
+ 'sideBar.background': colors.ubuntuGray,
+ 'terminal.background': '#300a24',
+ }
+};
+
+var fileName = themeName
+ .toLowerCase()
+ .replace(/\[\w*\]/, '')
+ .trim()
+ .replace(/\s+/, '-') + '.json';
+
+generateTheme(themeName, colorSet, path.join(__dirname, fileName)); \ No newline at end of file