more on themes

This commit is contained in:
Athou
2013-05-29 09:21:53 +02:00
parent 91c9173109
commit aaf74efbb9
4 changed files with 14 additions and 4 deletions

View File

@@ -97,11 +97,11 @@ When adding new translations, add them in en.properties then run `mvn -e groovy:
Themes
---------------------
To create a theme, create a new file `src/main/webapp/sass/themes/_<theme>.scss`. Your styles should be wrapped in a `#theme-<theme>` element.
To create a theme, create a new file `src/main/webapp/sass/themes/_<theme>.scss`. Your styles should be wrapped in a `#theme-<theme>` element and use the [SCSS format](http://sass-lang.com/) which is a superset of CSS.
Don't forget to reference your theme in `src/main/webapp/sass/app.scss` and in `src/main/webapp/js/controllers.js` (look for `$scope.themes`).
See _test.scss for an example.
See [_test.scss](https://github.com/Athou/commafeed/blob/master/src/main/webapp/sass/themes/_test.scss) for an example.
Copyright and license