arclanguage / anarki

Community-managed fork of the Arc dialect of Lisp; for commit privileges submit a pull request.
http://arclanguage.github.io
Other
1.17k stars 160 forks source link

Add support for themes #171

Closed kennethrapp closed 5 years ago

kennethrapp commented 5 years ago

Allows support for themes, selectable through the user panel. I basically just divided the news stylesheet between layout and theme css, and added a quick dark theme.

ATM there doesn't seem to be a way to add select menus to the user panel so you have to enter a number for the theme - 0 or any invalid value is default, 1 is the dark theme. Add new themes by copying and changing a theme file and adding the filename to the list of themes in news.arc.