Themes allow you to customize the look and feel of the Standard Notes app on all platforms.
You can view the source code of our official themes in order to best understand how to create your own theme.
For how to install a theme, please see Publishing.
Themes are simple CSS files which override a few variables to style the look of the application. CSS themes will automatically work on mobile. Your CSS file should contain content similar to the below.
Note that font and font sizes do not apply to mobile; only desktop/web.
In order to get SN to display a dock icon for your theme (a circle in the lower right corner of the app that allows you to quickly toggle themes), add the following payload into the your ext.json file when publishing your theme:
The mobile app will download a theme once and cache it indefinitely. If you're installing your own mobile theme and make changes, you can press and hold on the theme name in the list to bring up the option to re-download the theme from the server.
Since v3.9.15, the items in the notes list use a new variable for the background color, which will partially break the look of your theme when a note is selected or is hovered upon. In order to fix this, override the
--sn-stylekit-grey-5 color to one which fits your theme. You might also need to override the
--sn-stylekit-grey-4-opacity-variant variable if the tags inside the note item don't look correct.
Our themes are provided open-source mainly for educational and quality purposes. You're free to install them on your own servers, but please consider subscribing to Standard Notes Extended to help sustain future development of the Standard Notes ecosystem.