panglesd / slipshow

An engine for displaying slips, the next-gen version of slides
MIT License
654 stars 12 forks source link

Add support for themes #3

Closed voodoos closed 4 years ago

voodoos commented 4 years ago

Problem

The actual theme is inspired by Warsaw but it would be great to have a way to easily change or modify the theme, without tinkering with the distributed css.

Naive suggestion

panglesd commented 4 years ago

That is a good idea. Currently the css files need a lot to be tidied.

Currently, the "theme" .css would need to include:

panglesd commented 4 years ago

Since dd884bae5bd2916b16c68cfdc8ca11233e29d552, there is an entry in the doc about using and writing a theme. I will see if I want to have a default theme always loaded. If yes, I can have only one css file. Otherwise, I will have to split wisely the slip core and the theme.

For now, I close the issue and keep the default theme always loaded. Themes loaded on top will override the default values.