You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To modify a theme or create your own, follow the steps below. You'll need to have Node, and Grunt installed.
Modify an existing theme
Note
Always modify the sass files not the compiled css file
In /wwwroot/lib/themes/ folder are the sources versions of all themes, which will be compiled to the /wwwroot/css/themes/folder.
So modify the /wwwroot/lib/themes/[theme]/bootstrap-forum.scss for the website and the /wwwroot/lib/themes/[theme]/bootstrap-email.scss for the email templates.
And build them with grunt...
> grunt css
and update the email templates (if necessary)
> grunt emailTemplates
Create a new theme
Create a new folder in the /wwwroot/lib/themes/ folder. for easier start just duplicate an existing theme. the folder needs the following files...
File
Description
_variables.scss
variables for the site
_variables-email.scss
variables for the email templates
bootstrap_email.json
config file for email templates
bootstrap_email-digest.json
config file for email digest template
bootstrap_email.scss
main style file for the site
bootstrap-forum.scss
main style file for the email template
in the email template files (bootstrap_email.json and bootstrap_email-digest.json) the theme name need to be updated for the
sass_email_location setting