From 527a1a87128d8b4b1ce3527778821225acd33a99 Mon Sep 17 00:00:00 2001 From: gideonwolfe Date: Mon, 24 Aug 2020 14:52:50 -0700 Subject: [PATCH] added gen_css skeleton --- README.md | 9 +++++++++ install.py | 4 ++++ themes/void.css | 24 ++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 themes/void.css diff --git a/README.md b/README.md index 35df933..3caf75d 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ A terminal-style home page replicating the tree command. - [ ] Install the update script into a `$PATH` directory ```yaml +font_size: 15 +theme: void + Tree_1: General: Google: "https://www.google.com/" @@ -23,3 +26,9 @@ Tree_1: Homepage: "https://www.reddit.com/" Unixporn: "https://www.reddit.com/r/unixporn/" ``` + +# Themes + +A variety of themes can be found in the `themes` directory. + +If one wishes to dynamically theme from `pywal`, they may select `pywal` as their chosen theme in `config.yaml`. diff --git a/install.py b/install.py index 8eb5354..f516e15 100755 --- a/install.py +++ b/install.py @@ -98,9 +98,13 @@ def gen_html(file_dict): print("Done!") + +def gen_css(file_dict): + def main(): file_dict = parse_yaml() gen_html(file_dict) + gen_css(file_dict) if __name__ == '__main__': main() diff --git a/themes/void.css b/themes/void.css new file mode 100644 index 0000000..121bca4 --- /dev/null +++ b/themes/void.css @@ -0,0 +1,24 @@ +:root { + /* Special */ + --background: #06070A; + --foreground: #79c4c6; + --cursor: #79c4c6; + + /* Colors */ + --color0: #06070A; + --color1: #175564; + --color2: #066C71; + --color3: #414255; + --color4: #0E7587; + --color5: #64468F; + --color6: #8D419F; + --color7: #79c4c6; + --color8: #54898a; + --color9: #175564; + --color10: #066C71; + --color11: #414255; + --color12: #0E7587; + --color13: #64468F; + --color14: #8D419F; + --color15: #79c4c6; +}