Browse Source

Remove # from color outputs

pull/3/head
Gabriel Fontes 6 months ago
parent
commit
77c901dc61
5 changed files with 61 additions and 25 deletions
  1. +8
    -8
      AutoBase16Theme.py
  2. +16
    -0
      \
  3. +20
    -0
      base16-template.yml
  4. +16
    -16
      emacs-base16-theme-template.el
  5. +1
    -1
      terminator-base16-theme-template

+ 8
- 8
AutoBase16Theme.py View File

@@ -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
\ View File

@@ -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
- 0
base16-template.yml View File

@@ -0,0 +1,20 @@
scheme: "Wallpaper"
author: "Auto"

base00: "{}"
base01: "{}"
base02: "{}"
base03: "{}"
base04: "{}"
base05: "{}"
base06: "{}"
base07: "{}"

base08: "{}"
base09: "{}"
base0A: "{}"
base0B: "{}"
base0C: "{}"
base0D: "{}"
base0E: "{}"
base0F: "{}"

+ 16
- 16
emacs-base16-theme-template.el View File

@@ -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


+ 1
- 1
terminator-base16-theme-template View File

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

Loading…
Cancel
Save