Skip to content

Commit 0c10cdd

Browse files
committed
improvements
1 parent 53714cf commit 0c10cdd

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

docs/classic-ui/theming/barceloneta.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ All the theming relevant files are now located inside `src/plonetheme/themebased
118118

119119
## npm package
120120

121-
To compile the SCSS code you have to install the required dependencies with `npm`
122-
and run the package script `build` inside the `theme/` folder:
121+
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:
123122

124123
```shell
125124
npm install
@@ -153,27 +152,26 @@ scss/_variables.scss
153152

154153
### SCSS and root variables
155154

156-
To set a custom font you have three variables you can modify:
155+
To set a custom font you define the font variables in `scss/_variables.scss`:
157156

158157
```scss
159-
$font-family-sans-serif: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif!default;
160-
$font-family-condensed: "Roboto Condensed", "Arial Narrow", sans-serif!default; //just on toolbar
161-
$font-family-serif: Georgia, "Times New Roman", Times, serif!default;
158+
$font-family-sans-serif: Tahoma, Calimati, Geneva, sans-serif;
159+
$font-family-serif: Georgia, Norasi, serif;
162160
```
163161

164-
TODO: Link to training docs or take parts over here?
162+
This will override the default values from barceloneta.
163+
165164

166165
### Properties
167166

168-
If you want to disable rounded corners for borders:
167+
Same procedure if you want to disable rounded corners for borders:
169168

170169
```scss
171170
$enabled-rounded: false;
172171
```
173172

174-
A complete list of all properties see below. (Link?)
173+
A complete list of all properties see {ref}`classic-ui-theming-barceloneta-default-variables-properties-label`.
175174

176-
TODO: screenshot?
177175

178176

179177
### Maps
@@ -190,7 +188,7 @@ $state-colors: (
190188
) !default;
191189
```
192190

193-
If you have a custom workflow state you can add your state color to the default map:
191+
If you have a custom workflow state you can add your state color to the default map. Just add the following to `scss/_maps.scss`:
194192

195193
```scss
196194
$custom-state-colors: (

0 commit comments

Comments
 (0)