Overview
By default, every FastStore project comes with the Brandless theme. However, you have the option to use one of the available themes or create a custom theme.
You have the flexibility and freedom to style the theme by overriding it using global or local tokens, or by starting from scratch using your preferred styling tool.
Available Themes
Creating a Custom Theme
- Open your starter project and create a new
.scssfile onsrc/themes(e.g.my-theme.scss). - Add the tokens you want to overwrite inside the
.themeclass.
If you want, you can work oncustom-theme.scssfile that's ready to use. We are using CSS cascade layers feature to better deal with styling specificities issues, so keeping the@layer themein the file is recommended.
- Go to
discovery.config.jsand change thethemefromcustom-themeto your file's name, for example: