Creating New Themes
How to create and contribute with new themes
Themes in Navidrome are simple Material-UI themes. They are basic JS objects, that allow you to override almost every visual aspect of Navidrome’s UI.
Steps to create a new theme:
- Create a new JS file in the
ui/src/themesfolder that exports an object containing your theme. Create the theme based on the ReactAdmin/Material UI documentation below. See the existing themes for examples. - Add a
themeNameproperty to your theme. This will be displayed in the theme selector - Add your new theme to the
ui/src/themes/index.jsfile - Start the application, your new theme should now appear as an option in the theme selector
Including your theme in Navidrome
Share your theme in Discussions → Ideas first, with lots of screenshots and a link to the branch in your fork. Navidrome only accepts pull requests for approved issues, so please wait for the approval before you open one.
Before submitting the pull request, please test your theme thoroughly and format it by running npm run prettier in
the ui folder.
Resources for Material-UI theming
- Start reading ReactAdmin documentation
- Color Tool: https://material-ui.com/customization/color/#official-color-tool
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can make this documentation even better.
Sorry to hear that. Please tell us how we can improve this documentation.