Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update theming.md #271

Merged
merged 1 commit into from
Jan 19, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update theming.md
Change config.js to constants.js
  • Loading branch information
AmmarCodes committed Jan 19, 2014
commit 4f47971f582b224c9b1e884127d00e0dd15d78cb
4 changes: 2 additions & 2 deletions doc/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In **StackEdit**, a theme is pretty much a [LESS][1] file that overrides the def

> You can put images in `res/img`.

4. Add an entry in `THEME_LIST` at the end of `config.js` with the filename as a key and the name of your theme as a value.
4. Add an entry in `THEME_LIST` at the end of `public/res/constants.js` with the filename as a key and the name of your theme as a value.

> **Example:** `"cool": "The coolest ever"`

Expand All @@ -31,4 +31,4 @@ In **StackEdit**, a theme is pretty much a [LESS][1] file that overrides the def

[1]: http:https://lesscss.org/
[2]: https://github.com/benweet/stackedit
[3]: https://github.com/benweet/stackedit/blob/master/doc/developer-guide.md#getting-started
[3]: https://github.com/benweet/stackedit/blob/master/doc/developer-guide.md#getting-started