-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Creating a new theme
n1474335 edited this page May 19, 2017
·
2 revisions
It's very easy to add a new theme, there are just a few simple steps:
-
Add a new
<option>element toselect#themeinsrc/web/html/index.htmlwith the name of your theme.<option value="mytheme">My Theme</option>
-
Copy the contents of
src/web/stylesheets/themes/_dark.cssinto a new file with the name of your theme i.e.src/web/stylesheets/themes/_mytheme.css. -
Modify the JSDoc comment appropriately.
-
Change the class name attached to the
:rootselector to be the same as the value you gave the<option>tag in step 1.:root.mytheme {
-
Change the values of the CSS properties to modify the theme to your taste.