Permalink
Browse files

Update theme guide (WIP)

  • Loading branch information...
1 parent 89e3db7 commit 05c01f09aa85c6d41583b7373d4b1c8c3d4ae6a7 @ameliaikeda ameliaikeda committed Sep 9, 2014
Showing with 6 additions and 6 deletions.
  1. +6 −6 CONTRIBUTING.md
View
@@ -29,14 +29,14 @@ To see where all of the translations are physically on a page, set `"locale" =>
Themes SHOULD replace as LITTLE AS POSSIBLE IN `home.blade.php`. Use partials as much as possible.
All CSS MUST use [Less](http://lesscss.org), using the compiler at `public/themes/theme.less`.
- - Do not replace `default.bootstrap.less` with your less configuration file for bootstrap's options.
- - Uncomment the `<theme>.bootstrap.less` line and fill in your theme name.
+ - Do not replace `variables.less` with your less configuration file for bootstrap's options.
+ - Uncomment the `<theme>/variables.less` line and fill in your theme name.
- Less has the rule "last defined wins".
- You can change as little as you like in this file.
Themes' Less SHOULD be compiled using `recess`, twitter's less compiler. Vagrant should have it.
-Themes' Less files SHOULD be named `<theme_name>.bootstrap.less` and `<theme_name>.less`
-Themes MUST compile their finished CSS to `public/css/<theme_name>.css`
-Themes MUST have their compiled CSS minified (`lessc)
+Themes' Less files SHOULD be named `<theme>/<filename>.less` and `<theme>/variables.less`
+Themes MUST compile their finished CSS to `public/css/<theme>.css`
+Themes MUST have their compiled CSS minified (`recess --compile --compress theme.less > ../css/theme.css`)
-Do not commit your changes to the compiler file. Only commit your `.less` files to the `themes` folder!
+Do not commit your changes to the compiler file. Commit your compiler file in your theme's Less folder (`public/themes/<theme>`).

0 comments on commit 05c01f0

Please sign in to comment.