forked from extern/StartTree
added gen_css skeleton
This commit is contained in:
parent
d2b80fd1eb
commit
527a1a8712
@ -15,6 +15,9 @@ A terminal-style home page replicating the tree command.
|
|||||||
- [ ] Install the update script into a `$PATH` directory
|
- [ ] Install the update script into a `$PATH` directory
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
font_size: 15
|
||||||
|
theme: void
|
||||||
|
|
||||||
Tree_1:
|
Tree_1:
|
||||||
General:
|
General:
|
||||||
Google: "https://www.google.com/"
|
Google: "https://www.google.com/"
|
||||||
@ -23,3 +26,9 @@ Tree_1:
|
|||||||
Homepage: "https://www.reddit.com/"
|
Homepage: "https://www.reddit.com/"
|
||||||
Unixporn: "https://www.reddit.com/r/unixporn/"
|
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`.
|
||||||
|
@ -98,9 +98,13 @@ def gen_html(file_dict):
|
|||||||
|
|
||||||
print("Done!")
|
print("Done!")
|
||||||
|
|
||||||
|
|
||||||
|
def gen_css(file_dict):
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
file_dict = parse_yaml()
|
file_dict = parse_yaml()
|
||||||
gen_html(file_dict)
|
gen_html(file_dict)
|
||||||
|
gen_css(file_dict)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
|
24
themes/void.css
Normal file
24
themes/void.css
Normal file
@ -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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user