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
All [configuration variables](https://github.com/eccenca/gui-elements/blob/develop/src/configuration/_variables.scss) can be set before importing the full library or the default configuration but for the main changes you should need to change only a few parameters:
32
-
33
-
- Basic colors
34
-
-`$eccgui-color-primary`: color for very important buttons and switches
35
-
-`$eccgui-color-primary-contrast`: readable text color used on primary color areas
36
-
-`$eccgui-color-accent`: color for most conformation buttons, links, etc
37
-
-`$eccgui-color-accent-contrast`: readable text color used on accent color areas
38
-
-`$eccgui-color-applicationheader-text`
39
-
-`$eccgui-color-applicationheader-background`
40
-
-`$eccgui-color-workspace-text`
41
-
-`$eccgui-color-workspace-background`
42
-
- Basic sizes
43
-
-`$eccgui-size-typo-base`: size including absolute unit, currently only `px` is supported
44
-
-`$eccgui-size-typo-base-lineheight`: only ratio to font size, no unit!
45
-
-`$eccgui-size-type-levelratio`: ratio without unit! used to calculate different text sizes based on `$eccgui-size-typo-base`
46
-
-`$eccgui-size-block-whitespace`: white space between block level elements, currently only `px` is supported
31
+
All [configuration variables](https://github.com/eccenca/gui-elements/blob/develop/src/configuration/_variables.scss) can be set before importing the full library or the default configuration but for the main properties you should need to change only a few parameters
32
+
33
+
#### Colors
34
+
35
+
Since v25 we use a color palette as basic foundation for color configurations. The palette is defined in 4 sections containing various color tints, each tint includes 5 different weights from 100 (light color) to 900 (dark color).
36
+
37
+
The default palette can be overwritten if it is defined before the configuration or full library is imported to your Sass styles. The palette need to be defined entirely, we currently don't support overwriting it partly.
All palette colors will be transformed into CSS custom properties automatically and can be referenced by name scheme `--eccgui-color-palette-{groupname}-{colortint}-{colorweight}`, e.g. `--eccgui-color-palette-identity-brand-100`.
76
+
77
+
All other colors are based on the palette but it is still possible to set them before the default values are used by importing the configuration or the full library.
78
+
79
+
-`$eccgui-color-primary`: color for very important buttons and switches
80
+
-`$eccgui-color-primary-contrast`: readable text color used on primary color areas
81
+
-`$eccgui-color-accent`: color for most conformation buttons, links, etc
82
+
-`$eccgui-color-accent-contrast`: readable text color used on accent color areas
83
+
-`$eccgui-color-applicationheader-text`
84
+
-`$eccgui-color-applicationheader-background`
85
+
-`$eccgui-color-workspace-text`
86
+
-`$eccgui-color-workspace-background`
87
+
88
+
#### Sizes
89
+
90
+
-`$eccgui-size-typo-base`: size including absolute unit, currently only `px` is supported
91
+
-`$eccgui-size-typo-base-lineheight`: only ratio to font size, no unit!
92
+
-`$eccgui-size-type-levelratio`: ratio without unit! used to calculate different text sizes based on `$eccgui-size-typo-base`
93
+
-`$eccgui-size-block-whitespace`: white space between block level elements, currently only `px` is supported
47
94
48
95
## Development
49
96
@@ -125,7 +172,7 @@ After you tested the GUI elements package locally you can Clean up your applicat
125
172
3. Pull request from release branch into `main` need to be approved
126
173
- then ["Publish: final release "](https://github.com/eccenca/gui-elements/actions/workflows/publish-final-release.yml) can be used on `main` (or `next` and `legacy`) to publish final release packages
127
174
- another PR is automatically created for changes done during publishing process
0 commit comments