Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
added tips for theming the game
  • Loading branch information
leonar15 committed Oct 16, 2014
1 parent 97a74b2 commit 01e0712
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@ Completed todos:
* Add game reset support for doge control
* Correctly display number of mines
* Doge-ified win/loss messages
* Allow easy theming (create a new folder under /themes/my-custom-theme/theme.css) then set the options.theme = 'my-custom-theme' when initializing the game.
* Allow easy theming (create a new folder under /themes/my-theme/theme.css) then set the options.theme = 'my-custom-theme' when initializing the game.

How to create a theme:
* copy the folder /themes/doge into a new folder in the /themes directory
* name this new folder whatever you'd like (we'll use "my-theme" as the example)
* customize the theme.css file to change how things look
* to load a particular theme, just use a special link to set the "theme" option (e.g. /index.html#theme=my-theme)

0 comments on commit 01e0712

Please sign in to comment.