From da7f2713263a36695b09df2241ce1363bef3dc2c Mon Sep 17 00:00:00 2001 From: Egor Yurtaev Date: Thu, 24 Aug 2017 17:01:41 +0600 Subject: [PATCH] Migrate from coffeescript to es6 --- Makefile | 2 +- main.coffee => main.js | 321 ++++++++++++++++++++--------------------- 2 files changed, 160 insertions(+), 163 deletions(-) rename main.coffee => main.js (86%) mode change 100644 => 100755 diff --git a/Makefile b/Makefile index a8fd083..c83b3bd 100644 --- a/Makefile +++ b/Makefile @@ -11,4 +11,4 @@ build_jar: build_icls rm "IntelliJ IDEA Global Settings" build_icls: - coffee main.coffee > $(THEME_FILENAME) + node main.js > $(THEME_FILENAME) diff --git a/main.coffee b/main.js old mode 100644 new mode 100755 similarity index 86% rename from main.coffee rename to main.js index 694879c..e450eb6 --- a/main.coffee +++ b/main.js @@ -1,48 +1,46 @@ -syntax_accent = '528bff' -syntax_guide = 'f2f3f5' -syntax_fg = 'abb2bf' -syntax_bg = '282c34' -mono_1 = 'abb2bf' -mono_2 = '828997' -mono_3 = '5c6370' -hue_1 = '56b6c2' -hue_2 = '61afef' -hue_3 = 'c678dd' -hue_4 = '98c379' -hue_5 = 'e06c75' -hue_5_2 = 'be5046' -hue_6 = 'd19a66' -hue_6_2 = 'e5c07b' +const syntax_accent = '528bff' +const syntax_guide = 'f2f3f5' +const syntax_fg = 'abb2bf' +const syntax_bg = '282c34' +const mono_1 = 'abb2bf' +const mono_2 = '828997' +const mono_3 = '5c6370' +const hue_1 = '56b6c2' +const hue_2 = '61afef' +const hue_3 = 'c678dd' +const hue_4 = '98c379' +const hue_5 = 'e06c75' +const hue_5_2 = 'be5046' +const hue_6 = 'd19a66' +const hue_6_2 = 'e5c07b' -syntax_cursor_line = '99BBFF' -caret_row_color = '2C323B' +const syntax_cursor_line = '99BBFF' +const caret_row_color = '2C323B' - -tmpl = """ - +tmpl = ` @@ -895,7 +893,7 @@ tmpl = """ @@ -2158,7 +2156,7 @@ tmpl = """ - -""" +` -console.log tmpl +console.log(tmpl)