Skip to content

Commit 6e1e2e8

Browse files
author
Julien Neuhart
committed
Update first chapter of the Theme documentation
1 parent 9f8f80f commit 6e1e2e8

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed
Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
11
---
2-
title: BootstrapVue
3-
slug: /theme/bootstrap-vue
2+
title: Customization
3+
slug: /theme/customization
44
---
55

6+
## Application Name
7+
8+
Both the `webapp` and `api` services read the `APP_NAME` environment variable.
9+
10+
Its value comes from the root *.env* file.
11+
12+
If you update this value, you will have to restart these services (locally by doing `make down up`).
13+
14+
:::note
15+
16+
📣  Don't forget to update the file *.env.dist* if this change is definitive.
17+
18+
:::
19+
20+
## BootstrapVue
21+
622
The Symfony Boilerplate uses [BootstrapVue](https://bootstrap-vue.org/) as templating framework.
723

824
Of course, you may use another templating framework, although it will require some extra work.
925

10-
## Add Plugin
11-
1226
Most of the components from [BootstrapVue](https://bootstrap-vue.org/) come in the form of plugins.
1327

1428
You have to add them manually in the *src/webapp/nuxt.config.js* file:
@@ -27,15 +41,23 @@ bootstrapVue: {
2741

2842
## Change Colors
2943

44+
### Pages
45+
3046
The file *src/webapp/assets/css/_variables.scss* is where you may define most of the colors.
3147

3248
A few other `.scss` files also contain colors definition.
3349

34-
For the Nuxt.js loading bar, its color is configurable in the *src/webapp/nuxt.config.js* file:
50+
### Loading Bar
51+
52+
Its color is configurable in the *src/webapp/nuxt.config.js* file:
3553

3654
```js title="src/webapp/nuxt.config.js"
3755
loading: {
3856
color: '#a211fa',
3957
height: '3px',
4058
},
41-
```
59+
```
60+
61+
### Emails
62+
63+
The file *src/api/assets/css/emails.css* is where you may define most of the colors.

0 commit comments

Comments
 (0)