Update theming.md
Change config.js to constants.js
This commit is contained in:
parent
6558d73425
commit
4f47971f58
@ -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"`
|
||||
|
||||
@ -31,4 +31,4 @@ In **StackEdit**, a theme is pretty much a [LESS][1] file that overrides the def
|
||||
|
||||
[1]: http://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
|
||||
|
Loading…
Reference in New Issue
Block a user