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
: Base theme file which follows "Option B" of customizing Bootstrap imports to enable custom variable and map injections.
103
+
Note that the order of these imports is mandatory to ensure overriding the defaults.
104
+
See https://getbootstrap.com/docs/5.3/customize/sass/#importing
102
105
103
-
### `scss/theme.scss`
106
+
`styles/theme.css[.min]`
107
+
: Compiled CSS styles.
104
108
105
-
- Base theme file which follows "Option B" of customizing Bootstrap imports
106
-
to enable custom variable and map injections. Note that the order of these imports is mandatory to ensure overriding the defaults. See https://getbootstrap.com/docs/5.3/customize/sass/#importing
To compile the SCSS code you have to install Node.js (v16+) and the required dependencies with `npm`. Then run the package script `build` inside the `theme/` folder:
117
+
To compile the SCSS code you have to install the required dependencies with `npm`.
118
+
Then run the package script `build` inside the `theme/` folder:
122
119
123
120
```shell
124
121
npm install
@@ -131,52 +128,55 @@ During theme development you can run:
131
128
npm run watch
132
129
```
133
130
134
-
this compiles the SCSS resources on the fly when you change something inside
135
-
the `scss/` folder.
131
+
This compiles the SCSS resources on the fly when you change something inside the `scss/` folder.
132
+
You can preview your changes when you reload your browser.
Inside the file `theme/_custom.scss` you can write all your custom CSS/Sass code
206
-
to adapt the theme to your needs. Feel free to add more files inside the `scss/` folder to make your code more readable. Don't forget to import your custom files in `scss/theme.scss`.
206
+
Inside the file `theme/_custom.scss` you can write all your custom CSS/Sass code to adapt the theme to your needs.
207
+
Feel free to add more files inside the `scss/` folder to make your code more readable.
208
+
Don't forget to import your custom files in `scss/theme.scss`.
0 commit comments