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
See all the available [Barceloneta SCSS files](https://github.com/plone/plonetheme.barceloneta/tree/master/scss), and import the ones that you want to use.
153
+
```
154
+
155
+
- Add `@plone/plonetheme-barceloneta-base` as a dependency.
156
+
157
+
```shell
158
+
yarn add @plone/plonetheme-barceloneta-base
159
+
```
160
+
161
+
- Add ascript in {file}`package.json` to compile the CSS.
Look at [`plonetheme.barcelonta`'s {file}`package.json`](https://github.com/plone/plonetheme.barceloneta/blob/master/package.json) for a few more scripts that can prefix and minify your CSS and get a bundle for use in production.
169
+
```
170
+
171
+
- Run the compilation.
172
+
173
+
```shell
174
+
yarn run css-compile-main
175
+
```
176
+
177
+
- Finally, {ref}`register the bundle <classic-ui-from-scratch-bundle-registration-label>`.
178
+
179
+
With this guide, you will save yourself quite some work on styling the toolbar, the add and edit forms, and control panels, while keeping the rest of your theming separate.
0 commit comments