From 4d881aaacb70e9ff8c284047906ee06f42fdc45a Mon Sep 17 00:00:00 2001 From: ryuta69 Date: Sat, 5 Sep 2020 18:56:44 +0900 Subject: Add themer template --- pywal/templates/colors-themer.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pywal/templates/colors-themer.js diff --git a/pywal/templates/colors-themer.js b/pywal/templates/colors-themer.js new file mode 100644 index 0000000..88fbc57 --- /dev/null +++ b/pywal/templates/colors-themer.js @@ -0,0 +1,20 @@ +module.exports.colors = { + dark: { + accent0: "{color0}", + accent1: "{color1}", + accent2: "{color2}", + accent3: "{color3}", + accent4: "{color4}", + accent5: "{color5}", + accent6: "{cursor}", + accent7: "{color7}", + shade0: "{background}", + shade1: "{color9}", + shade2: "{color10}", + shade3: "{color11}", + shade4: "{color12}", + shade5: "{color13}", + shade6: "{color14}", + shade7: "{foreground}" + }, +}; -- cgit v1.2.3 From bb6bbd2d641e440da1d65b0c45cd2c01935f6b87 Mon Sep 17 00:00:00 2001 From: ryuta69 Date: Sat, 5 Sep 2020 19:55:21 +0900 Subject: Fix brackets --- pywal/templates/colors-themer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pywal/templates/colors-themer.js b/pywal/templates/colors-themer.js index 88fbc57..43e43e9 100644 --- a/pywal/templates/colors-themer.js +++ b/pywal/templates/colors-themer.js @@ -1,5 +1,5 @@ -module.exports.colors = { - dark: { +module.exports.colors = {{ + dark: {{ accent0: "{color0}", accent1: "{color1}", accent2: "{color2}", @@ -16,5 +16,5 @@ module.exports.colors = { shade5: "{color13}", shade6: "{color14}", shade7: "{foreground}" - }, -}; + }}, +}}; -- cgit v1.2.3