summaryrefslogtreecommitdiff
path: root/pywal
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-29 22:35:47 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-29 22:35:47 +1000
commit08f396c653e6b3fb738f39d13a9ca5eea0d61f28 (patch)
tree0fd07c4096ee4ca495faecdb2201f76e515da787 /pywal
parent0834cd024ba0988c9241ee8b64c38c2e0c6337cb (diff)
templates: Add background, foreground and cursor.
Diffstat (limited to 'pywal')
-rw-r--r--pywal/templates/colors16
-rw-r--r--pywal/templates/colors.css3
-rw-r--r--pywal/templates/colors.json25
-rw-r--r--pywal/templates/colors.scss3
-rw-r--r--pywal/templates/colors.sh3
5 files changed, 34 insertions, 16 deletions
diff --git a/pywal/templates/colors b/pywal/templates/colors
deleted file mode 100644
index 228f4c8..0000000
--- a/pywal/templates/colors
+++ /dev/null
@@ -1,16 +0,0 @@
-{color0}
-{color1}
-{color2}
-{color3}
-{color4}
-{color5}
-{color6}
-{color7}
-{color8}
-{color9}
-{color10}
-{color11}
-{color12}
-{color13}
-{color14}
-{color15}
diff --git a/pywal/templates/colors.css b/pywal/templates/colors.css
index 439bbad..f55238b 100644
--- a/pywal/templates/colors.css
+++ b/pywal/templates/colors.css
@@ -1,6 +1,9 @@
/* CSS variables
Generated by 'wal' */
:root {{
+ --background: {background};
+ --foreground: {foreground};
+ --cursor: {cursor};
--color0: {color0};
--color1: {color1};
--color2: {color2};
diff --git a/pywal/templates/colors.json b/pywal/templates/colors.json
new file mode 100644
index 0000000..fdd9828
--- /dev/null
+++ b/pywal/templates/colors.json
@@ -0,0 +1,25 @@
+{{
+ "special": {{
+ "background": "{background}",
+ "foreground": "{foreground}",
+ "cursor": "{cursor}"
+ }},
+ "colors": {{
+ "color0": "{color0}",
+ "color1": "{color1}",
+ "color2": "{color2}",
+ "color3": "{color3}",
+ "color4": "{color4}",
+ "color5": "{color5}",
+ "color6": "{color6}",
+ "color7": "{color7}",
+ "color8": "{color8}",
+ "color9": "{color9}",
+ "color10": "{color10}",
+ "color11": "{color11}",
+ "color12": "{color12}",
+ "color13": "{color13}",
+ "color14": "{color14}",
+ "color15": "{color15}"
+ }}
+}}
diff --git a/pywal/templates/colors.scss b/pywal/templates/colors.scss
index c2dc797..1a2e183 100644
--- a/pywal/templates/colors.scss
+++ b/pywal/templates/colors.scss
@@ -1,5 +1,8 @@
// SCSS Variables
// Generated by 'wal'
+$background: {background};
+$foreground: {foreground};
+$cursor: {cursor};
$color0: {color0};
$color1: {color1};
$color2: {color2};
diff --git a/pywal/templates/colors.sh b/pywal/templates/colors.sh
index 1362da2..607d19e 100644
--- a/pywal/templates/colors.sh
+++ b/pywal/templates/colors.sh
@@ -1,5 +1,8 @@
# Shell variables
# Generated by 'wal'
+background='{background}'
+foreground='{foreground}'
+cursor='{cursor}'
color0='{color0}'
color1='{color1}'
color2='{color2}'