| 1 | # themes |
| 2 | Dojo 1.x modern themes |
| 3 | |
| 4 | While still being maintained, new development is primarily focused on modern Dojo. |
| 5 | |
| 6 | Checkout the [Dojo framework website](https://dojo.io/) or if you want a more detailed technical status and overview, checkout the [`Dojo roadmap`](https://dojo.io/community/). |
| 7 | |
| 8 | ### Getting Started |
| 9 | |
| 10 | 1. Install globally Stylus and GruntJS. |
| 11 | * `npm install -g stylus` |
| 12 | * `npm install -g grunt-cli` |
| 13 | 2. Run `grunt THEME_NAME` to compile css and open test application. |
| 14 | |
| 15 | ### Contributing New Themes |
| 16 | |
| 17 | For general contributing guidelines see [Dojo's Contributing Guildlines](https://github.com/dojo/dojo/blob/master/CONTRIBUTING.md). |
| 18 | |
| 19 | Adding a new theme: |
| 20 | |
| 21 | 1. Create a uniquely named directory, also being the name of the theme. |
| 22 | 2. Add [Grunt](http://gruntjs.com/) tasks for the theme to `Gruntfile.js`. |
| 23 | |
| 24 | Helpful information: |
| 25 | |
| 26 | * [Dojo Documentation](http://dojotoolkit.org/documentation/) |
| 27 | * Kenneth Franqueiro's [dijit-claro-stylus](https://github.com/kfranqueiro/dijit-claro-stylus) |
| 28 | * [Stylus](https://learnboost.github.io/stylus/) |
| 29 | * [Grunt](http://gruntjs.com/) |
| 30 | |
| 31 | ## Themes |
| 32 | |
| 33 | ### Flat Theme |
| 34 | |
| 35 | A flat theme for Dojo Dijit, Dojox and dgrid. |
| 36 | |
| 37 | This theme is currently in **development**. Contributions welcome. |
| 38 | |
| 39 | Run `grunt flat` to compile CSS and open Flat Theme's test application for development. |
| 40 | |
| 41 | To use Flat Theme right away simply copy the `flat` directory and its contents to a location in your app, add/import `flat.css` and add `class="flat"` to the body tag. |