We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
It's very easy to add a new theme, there are just a few simple steps:
Add a new <option> element to select#theme in src/web/html/index.html with the name of your theme.
<option>
select#theme
src/web/html/index.html
<option value="mytheme">My Theme</option>
Copy the contents of src/web/stylesheets/themes/_dark.css into a new file with the name of your theme i.e. src/web/stylesheets/themes/_mytheme.css.
src/web/stylesheets/themes/_dark.css
src/web/stylesheets/themes/_mytheme.css
Modify the JSDoc comment appropriately.
Change the class name attached to the :root selector to be the same as the value you gave the <option> tag in step 1.
:root
:root.mytheme {
Add an import for your theme in src/web/stylesheets/index.css.
src/web/stylesheets/index.css
@import "./themes/mytheme.css";
Change the values of the CSS properties to modify the theme to your taste.
Submit a pull request!