Browse Source

Remove # from color outputs

pull/3/head
Gabriel Fontes 3 years ago
parent
commit
77c901dc61
  1. 16
      AutoBase16Theme.py
  2. 16
      \
  3. 20
      base16-template.yml
  4. 32
      emacs-base16-theme-template.el
  5. 2
      terminator-base16-theme-template

16
AutoBase16Theme.py

@ -316,14 +316,14 @@ def main(inputColorsFilename, outputTemplateFilename, outputFilename):
outputTemplate = ''.join(outputTemplateFile.readlines())
outputTemplateFile.close()
outputText = outputTemplate.format(base16Colors[0].color, base16Colors[1].color,
base16Colors[2].color, base16Colors[3].color,
base16Colors[4].color, base16Colors[5].color,
base16Colors[6].color, base16Colors[7].color,
base16Colors[8].color, base16Colors[9].color,
base16Colors[10].color, base16Colors[11].color,
base16Colors[12].color, base16Colors[13].color,
base16Colors[14].color, base16Colors[15].color)
outputText = outputTemplate.format((base16Colors[0].color)[1:], (base16Colors[1].color)[1:],
(base16Colors[2].color)[1:], (base16Colors[3].color)[1:],
(base16Colors[4].color)[1:], (base16Colors[5].color)[1:],
(base16Colors[6].color)[1:], (base16Colors[7].color)[1:],
(base16Colors[8].color)[1:], (base16Colors[9].color)[1:],
(base16Colors[10].color)[1:], (base16Colors[11].color)[1:],
(base16Colors[12].color)[1:], (base16Colors[13].color)[1:],
(base16Colors[14].color)[1:], (base16Colors[15].color)[1:])
outputFile = open(outputFilename, 'w')
outputFile.write(outputText)

16
\

@ -0,0 +1,16 @@
[global_config]
borderless = True
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
[[[window0]]]
parent = ""
type = Window
[plugins]
[profiles]
[[default]]
cursor_color = "#aaaaaa"
palette = "#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}"

20
base16-template.yml

@ -0,0 +1,20 @@
scheme: "Wallpaper"
author: "Auto"
base00: "{}"
base01: "{}"
base02: "{}"
base03: "{}"
base04: "{}"
base05: "{}"
base06: "{}"
base07: "{}"
base08: "{}"
base09: "{}"
base0A: "{}"
base0B: "{}"
base0C: "{}"
base0D: "{}"
base0E: "{}"
base0F: "{}"

32
emacs-base16-theme-template.el

@ -5,22 +5,22 @@
(require 'base16-theme)
(defvar base16-my-auto-colors
'(:base00 "{}"
:base01 "{}"
:base02 "{}"
:base03 "{}"
:base04 "{}"
:base05 "{}"
:base06 "{}"
:base07 "{}"
:base08 "{}"
:base09 "{}"
:base0A "{}"
:base0B "{}"
:base0C "{}"
:base0D "{}"
:base0E "{}"
:base0F "{}")
'(:base00 "#{}"
:base01 "#{}"
:base02 "#{}"
:base03 "#{}"
:base04 "#{}"
:base05 "#{}"
:base06 "#{}"
:base07 "#{}"
:base08 "#{}"
:base09 "#{}"
:base0A "#{}"
:base0B "#{}"
:base0C "#{}"
:base0D "#{}"
:base0E "#{}"
:base0F "#{}")
"All colors for Base16 Macoy are defined here.")
;; Define the theme

2
terminator-base16-theme-template

@ -13,4 +13,4 @@
[profiles]
[[default]]
cursor_color = "#aaaaaa"
palette = "{}:{}:{}:{}:{}:{}:{}:{}:{}:{}:{}:{}:{}:{}:{}:{}"
palette = "#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}:#{}"

Loading…
Cancel
Save