4f47971f58
Change config.js to constants.js
1.2 KiB
1.2 KiB
StackEdit theming guide
In StackEdit, a theme is pretty much a LESS file that overrides the default look and feel.
Create your special theme very quickly by following these steps
-
Fork StackEdit on GitHub and clone the repository localy.
-
Install the development tools as described in the Developer guide.
-
In
res/themes
, create a LESS file, just like the other themes.You can put images in
res/img
. -
Add an entry in
THEME_LIST
at the end ofpublic/res/constants.js
with the filename as a key and the name of your theme as a value.Example:
"cool": "The coolest ever"
-
Run the application on your machine using the
?debug
flag. Basically:http://localhost/stackedit/?debug
-
Go to
Settings -> Editor -> Theme
and select your theme. Check that everything is fine. -
Commit, push, create a pull request and wait for publishing.
Written with StackEdit.