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
Copy file name to clipboardExpand all lines: src/routes/(documentation)/docs/get-started/settings/settings.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,11 +25,13 @@ During installation, the configuration file **garden.config.js** is generated in
25
25
|`additional_style_files`| Path | Add global style files needed for your project, e.g. `'src/assets/scss/base.scss', 'src/assets/scss/main.scss'`|
26
26
|`devices`|`small`: deviceConfig[], `medium`: deviceConfig[], `large`: deviceConfig[]| Set custom device types for each category. |
27
27
|`deviceConfig`| name: String, w: Number, h: Number | Set name, width and height for a device type. |
28
-
|`grid`|`size`: number, `style`: 'dotted' or 'lined', `color`: string | Custom configuration for background grid. |
29
28
|`themes`|`name`: String, `stageBg`: Color, `active`: Boolean | Edit or disable "Themes" depending on whether your app uses themes. Defines a list of display modes of your project to output the components accordingly. |
29
+
|`themes`: `default`| string | Settings for the default theme of the stage where the components are displayed. |
30
+
|`themes`: `extended`| string | Settings for an unlimited number of additional themes for the stage where the components are displayed. Modified values override the values of the default theme. |
30
31
|`themes`: `name`| String | Name of the mode as it appears in the theme navigation. E.g. `name: 'Dark mode'`|
31
32
|`themes`: `stageBg`| String | Sets the background color of the stage for each mode. All common CSS color values can be used as values. E.g. `stageBg: '#101010'`|
32
-
|`themes`: `active`| Boolean | Set the default theme on start: `active: 'true',`. Optionally, if it is empty, the first entry in the list is automatically used as the default. |
33
+
|`themes`: `grid`|`size`: number, `style`: 'dotted' or 'lined', `color`: string | Custom configuration for background grid. |
34
+
|`themes`: `color`| String | Sets the color of the distance measurement element, including the text color of the distance display. |
33
35
|`themeHandler`| Function | The theme handler allows you to select project-specific themes in Gardenjs. |
0 commit comments