template my .Xresources

Amolith created

Change summary

dot_Xresources.tmpl | 47 +++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 45 insertions(+), 2 deletions(-)

Detailed changes

dot_Xresources → dot_Xresources.tmpl 🔗

@@ -6,10 +6,11 @@ Xft.hinting: 1
 Xft.antialias: 1
 Xft.rgba: rgb
 
-! Dracula PRO Xresources palette
-!
 ! Xresources has a base colour and a bright variant. The first block contains
 ! the base colours and the second block contains their bright counterparts.
+!
+{{- if eq .theme_variant "dark" }}
+! Dracula PRO Xresources palette
 
 *.foreground: #F8F8F2
 *.background: #22212C
@@ -47,3 +48,45 @@ Xft.rgba: rgb
 *.color14:    #99FFEE
 ! White
 *.color15:    #FFFFFF
+{{- end }}
+{{- if eq .theme_variant "light" }}
+! Doom One Light Xresources palette
+
+*.foreground: #383A42
+*.background: #FAFAFA
+
+! Black
+*.color0:     #22212C
+! Red
+*.color1:     #e45649
+! Green
+*.color2:     #50a14f
+! Yellow
+*.color3:     #986801
+! Blue
+*.color4:     #a0bcf8
+! Magenta
+*.color5:     #a626a4
+! Cyan
+*.color6:     #005478
+! White
+*.color7:     #F8F8F2
+
+! Black
+*.color8:     #e7e7e7
+! Red
+*.color9:     #da8548
+! Green
+*.color10:    #4db5bd
+! Yellow
+! TODO
+*.color11:    #986801
+! Blue
+*.color12:    #4078f2
+! Magenta
+*.color13:    #b751b6
+! Cyan
+*.color14:    #0184bc
+! White
+*.color15:    #1c1f24
+{{- end }}