@ihk-gfi/lux-components-theme 13.0.0 → 14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/package.json +7 -7
- package/prebuilt-themes/luxtheme-authentic-min.css +1 -0
- package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -0
- package/prebuilt-themes/{luxtheme-orange.css → luxtheme-authentic.css} +7303 -5035
- package/prebuilt-themes/luxtheme-authentic.css.map +1 -0
- package/prebuilt-themes/luxtheme-blue-min.css +1 -1
- package/prebuilt-themes/luxtheme-blue-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-blue.css +4734 -3248
- package/prebuilt-themes/luxtheme-blue.css.map +1 -1
- package/prebuilt-themes/luxtheme-green-min.css +1 -1
- package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
- package/prebuilt-themes/luxtheme-green.css +4920 -3449
- package/prebuilt-themes/luxtheme-green.css.map +1 -1
- package/src/authentic/_custom.scss +1101 -0
- package/src/authentic/_luxcommon.scss +128 -0
- package/src/authentic/_luxpalette.scss +106 -0
- package/src/authentic/luxtheme.scss +103 -0
- package/src/base/_luxSvgIcons.scss +5 -0
- package/src/base/_luxcommon.scss +98 -0
- package/src/base/_luxcomponents.scss +422 -190
- package/src/base/_luxelevations.scss +8 -10
- package/src/base/_luxfocus.scss +276 -107
- package/src/base/_luxpalette.scss +9 -0
- package/src/base/_luxstyles.scss +132 -116
- package/src/base/_luxtheme.scss +10 -6
- package/src/base/components/_luxAppHeaderAc.scss +187 -0
- package/src/base/components/_luxFormControlWrapper.scss +174 -0
- package/src/base/components/_luxFormControlsAuthentic.scss +357 -0
- package/src/base/components/_luxLinkPlain.scss +61 -0
- package/src/base/components/_luxMasterDetailAc.scss +206 -0
- package/src/base/components/_luxTileAc.scss +63 -0
- package/src/blue/_custom.scss +103 -1
- package/src/blue/_luxcommon.scss +13 -2
- package/src/blue/_luxpalette.scss +4 -3
- package/src/blue/luxtheme.scss +102 -10
- package/src/green/_custom.scss +201 -104
- package/src/green/_luxcommon.scss +16 -5
- package/src/green/_luxpalette.scss +4 -3
- package/src/green/luxtheme.scss +103 -13
- package/src/public/global.scss +6 -10
- package/prebuilt-themes/luxtheme-orange-min.css +0 -1
- package/prebuilt-themes/luxtheme-orange-min.css.map +0 -1
- package/prebuilt-themes/luxtheme-orange.css.map +0 -1
- package/src/base/_luxicons.scss +0 -2
- package/src/orange/_custom.scss +0 -66
- package/src/orange/_luxcommon.scss +0 -90
- package/src/orange/_luxpalette.scss +0 -106
- package/src/orange/luxtheme.scss +0 -10
package/src/base/_luxstyles.scss
CHANGED
|
@@ -1,79 +1,92 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "sass:string";
|
|
4
|
+
@use "luxcommon";
|
|
5
|
+
@use "luxpalette";
|
|
6
|
+
@use "../public/global";
|
|
7
|
+
|
|
1
8
|
$sizes: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, A100, A200, A400, A700;
|
|
2
|
-
$paletten:
|
|
9
|
+
$paletten: luxpalette.$lux-palette_primary, luxpalette.$lux-palette_accent, luxpalette.$lux-palette_warn;
|
|
3
10
|
$paletteNamen: primary, accent, warn;
|
|
4
11
|
|
|
5
12
|
:root {
|
|
6
13
|
@for $i from 1 through 3 {
|
|
7
14
|
@each $size in $sizes {
|
|
8
|
-
--lux-theme-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}: #{map
|
|
9
|
-
--lux-theme-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast: #{map
|
|
15
|
+
--lux-theme-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}: #{map.get(list.nth($paletten, $i), $size)};
|
|
16
|
+
--lux-theme-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast: #{map.get(list.nth($paletten, $i), contrast, $size)};
|
|
10
17
|
}
|
|
11
18
|
}
|
|
12
19
|
|
|
13
20
|
// Allgemein
|
|
14
|
-
--lux-theme-dark-primary-text: #{
|
|
15
|
-
--lux-theme-dark-secondary-text: #{
|
|
16
|
-
--lux-theme-dark-disabled-text: #{
|
|
17
|
-
--lux-theme-dark-dividers: #{
|
|
18
|
-
--lux-theme-dark-focused: #{
|
|
19
|
-
|
|
20
|
-
--lux-theme-light-primary-text: #{
|
|
21
|
-
--lux-theme-light-secondary-text: #{
|
|
22
|
-
--lux-theme-light-disabled-text: #{
|
|
23
|
-
--lux-theme-light-dividers: #{
|
|
24
|
-
--lux-theme-light-focused: #{
|
|
21
|
+
--lux-theme-dark-primary-text: #{luxcommon.$dark-primary-text};
|
|
22
|
+
--lux-theme-dark-secondary-text: #{luxcommon.$dark-secondary-text};
|
|
23
|
+
--lux-theme-dark-disabled-text: #{luxcommon.$dark-disabled-text};
|
|
24
|
+
--lux-theme-dark-dividers: #{luxcommon.$dark-dividers};
|
|
25
|
+
--lux-theme-dark-focused: #{luxcommon.$dark-focused};
|
|
26
|
+
|
|
27
|
+
--lux-theme-light-primary-text: #{luxcommon.$light-primary-text};
|
|
28
|
+
--lux-theme-light-secondary-text: #{luxcommon.$light-secondary-text};
|
|
29
|
+
--lux-theme-light-disabled-text: #{luxcommon.$light-disabled-text};
|
|
30
|
+
--lux-theme-light-dividers: #{luxcommon.$light-dividers};
|
|
31
|
+
--lux-theme-light-focused: #{luxcommon.$light-focused};
|
|
25
32
|
|
|
26
33
|
// App
|
|
27
|
-
--lux-theme-app-header-bg: #{
|
|
28
|
-
--lux-theme-app-content-bg: #{
|
|
29
|
-
--lux-theme-app-footer-bg: #{
|
|
30
|
-
--lux-theme-app-data-bg: #{
|
|
34
|
+
--lux-theme-app-header-bg: #{luxcommon.$app-header-bg};
|
|
35
|
+
--lux-theme-app-content-bg: #{luxcommon.$app-content-bg};
|
|
36
|
+
--lux-theme-app-footer-bg: #{luxcommon.$app-footer-bg};
|
|
37
|
+
--lux-theme-app-data-bg: #{luxcommon.$app-data-bg};
|
|
38
|
+
--lux-theme-app-gradient: #{luxcommon.$app-gradient};
|
|
39
|
+
--lux-theme-app-gradient-reverse: #{luxcommon.$app-gradient-reverse};
|
|
40
|
+
--lux-theme-app-border-color: #{app-border-color};
|
|
31
41
|
|
|
32
42
|
// Form
|
|
33
|
-
--lux-theme-form-border-color: #{
|
|
34
|
-
--lux-theme-form-control-default-height-not-scalable: #{
|
|
35
|
-
--lux-theme-form-control-height: #{
|
|
36
|
-
--lux-theme-form-control-height-small: #{
|
|
37
|
-
--lux-theme-form-control-font-size: #{
|
|
38
|
-
--lux-theme-form-control-font-size-small: #{
|
|
39
|
-
--lux-theme-form-control-label-padding: #{
|
|
40
|
-
--lux-theme-form-control-container-padding: #{
|
|
41
|
-
--lux-theme-form-control-misc-margin: #{
|
|
42
|
-
--lux-theme-form-control-complete-height: #{
|
|
43
|
-
--lux-theme-form-control-buffer: #{
|
|
44
|
-
--lux-theme-form-control-margin: #{
|
|
43
|
+
--lux-theme-form-border-color: #{luxcommon.$form-border-color};
|
|
44
|
+
--lux-theme-form-control-default-height-not-scalable: #{luxcommon.$form-control-default-height-not-scalable};
|
|
45
|
+
--lux-theme-form-control-height: #{luxcommon.$form-control-height};
|
|
46
|
+
--lux-theme-form-control-height-small: #{luxcommon.$form-control-height-small};
|
|
47
|
+
--lux-theme-form-control-font-size: #{luxcommon.$form-control-font-size};
|
|
48
|
+
--lux-theme-form-control-font-size-small: #{luxcommon.$form-control-font-size-small};
|
|
49
|
+
--lux-theme-form-control-label-padding: #{luxcommon.$form-control-label-padding};
|
|
50
|
+
--lux-theme-form-control-container-padding: #{luxcommon.$form-control-container-padding};
|
|
51
|
+
--lux-theme-form-control-misc-margin: #{luxcommon.$form-control-misc-margin};
|
|
52
|
+
--lux-theme-form-control-complete-height: #{luxcommon.$form-control-complete-height};
|
|
53
|
+
--lux-theme-form-control-buffer: #{luxcommon.$form-control-buffer};
|
|
54
|
+
--lux-theme-form-control-margin: #{luxcommon.$form-control-margin};
|
|
45
55
|
|
|
46
56
|
// Button
|
|
47
|
-
--lux-theme-button-
|
|
48
|
-
--lux-theme-button-
|
|
57
|
+
--lux-theme-button-font-size: #{luxcommon.$button-font-size};
|
|
58
|
+
--lux-theme-button-height: #{luxcommon.$button-height};
|
|
59
|
+
--lux-theme-button-fav-height: #{luxcommon.$button-fav-height};
|
|
49
60
|
|
|
50
61
|
// Fokus
|
|
51
|
-
--lux-theme-outline-
|
|
52
|
-
--lux-theme-outline-
|
|
62
|
+
--lux-theme-outline-width: #{luxcommon.$outline-width};
|
|
63
|
+
--lux-theme-outline-style: #{luxcommon.$outline-style};
|
|
64
|
+
--lux-theme-outline-color-bright: #{luxcommon.$outline-color-bright};
|
|
65
|
+
--lux-theme-outline-color-dark: #{luxcommon.$outline-color-dark};
|
|
53
66
|
|
|
54
67
|
// Hover
|
|
55
|
-
--lux-theme-hover-color: #{
|
|
56
|
-
--lux-theme-hover-color-for-dark-background: #{
|
|
68
|
+
--lux-theme-hover-color: #{luxcommon.$lux-hover-color};
|
|
69
|
+
--lux-theme-hover-color-for-dark-background: #{luxcommon.$lux-hover-color-for-dark-background};
|
|
57
70
|
|
|
58
71
|
// Selektion
|
|
59
|
-
--lux-theme-selected-border-color: #{
|
|
60
|
-
--lux-theme-selected-bg-color: #{
|
|
72
|
+
--lux-theme-selected-border-color: #{luxcommon.$lux-selected-border-color};
|
|
73
|
+
--lux-theme-selected-bg-color: #{luxcommon.$lux-selected-bg-color};
|
|
61
74
|
|
|
62
75
|
// Hauptfarben
|
|
63
|
-
--lux-theme-primary-color: #{map
|
|
64
|
-
--lux-theme-accent-color: #{map
|
|
65
|
-
--lux-theme-warn-color: #{map
|
|
76
|
+
--lux-theme-primary-color: #{map.get(luxpalette.$lux-palette_primary, 500)};
|
|
77
|
+
--lux-theme-accent-color: #{map.get(luxpalette.$lux-palette_accent, 500)};
|
|
78
|
+
--lux-theme-warn-color: #{map.get(luxpalette.$lux-palette_warn, 500)};
|
|
66
79
|
|
|
67
80
|
// Hintergrundfarben (z.B. Badge oder Progress)
|
|
68
|
-
@each $colorName, $colorNameHex in
|
|
81
|
+
@each $colorName, $colorNameHex in luxcommon.$componentBgColors {
|
|
69
82
|
--lux-theme-component-bg-#{''+$colorName+''}: #{$colorNameHex};
|
|
70
83
|
}
|
|
71
84
|
|
|
72
|
-
@each $colorName, $colorNameHex in
|
|
85
|
+
@each $colorName, $colorNameHex in luxcommon.$colorsForDarkBg {
|
|
73
86
|
--lux-theme-component-bg-dark-#{''+$colorName+''}: #{$colorNameHex};
|
|
74
87
|
}
|
|
75
88
|
|
|
76
|
-
@each $colorName, $colorNameHex in
|
|
89
|
+
@each $colorName, $colorNameHex in luxcommon.$componentFontColors {
|
|
77
90
|
--lux-theme-component-font-color-#{''+$colorName+''}: #{$colorNameHex};
|
|
78
91
|
}
|
|
79
92
|
}
|
|
@@ -85,7 +98,7 @@ body,
|
|
|
85
98
|
}
|
|
86
99
|
|
|
87
100
|
h1, h2, h3, h4, h5, h6 {
|
|
88
|
-
font-family:
|
|
101
|
+
font-family: luxcommon.$app-headline-font, global.$app-font-family;
|
|
89
102
|
}
|
|
90
103
|
|
|
91
104
|
h1 {
|
|
@@ -131,67 +144,72 @@ h6 {
|
|
|
131
144
|
}
|
|
132
145
|
|
|
133
146
|
.lux-app-header-bg {
|
|
134
|
-
background-color:
|
|
147
|
+
background-color: luxcommon.$app-header-bg;
|
|
135
148
|
}
|
|
136
149
|
|
|
137
150
|
.lux-app-content-bg {
|
|
138
|
-
background-color:
|
|
151
|
+
background-color: luxcommon.$app-content-bg;
|
|
139
152
|
}
|
|
140
153
|
|
|
141
154
|
.lux-app-footer-bg {
|
|
142
|
-
background-color:
|
|
155
|
+
background-color: luxcommon.$app-footer-bg;
|
|
143
156
|
}
|
|
144
157
|
|
|
145
158
|
.lux-app-data-bg {
|
|
146
|
-
background-color:
|
|
159
|
+
background-color: luxcommon.$app-data-bg;
|
|
147
160
|
}
|
|
148
161
|
|
|
149
162
|
.lux-selected-bg {
|
|
150
|
-
background-color:
|
|
163
|
+
background-color: luxcommon.$lux-selected-bg-color;
|
|
151
164
|
}
|
|
152
165
|
|
|
153
166
|
.lux-hover-bg {
|
|
154
|
-
background-color:
|
|
167
|
+
background-color: luxcommon.$lux-hover-color;
|
|
155
168
|
}
|
|
156
169
|
|
|
157
170
|
.lux-hover-dark-bg {
|
|
158
|
-
background-color:
|
|
171
|
+
background-color: luxcommon.$lux-hover-color-for-dark-background;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.lux-gradient-bg {
|
|
175
|
+
background-color: #fff; //Fallback
|
|
176
|
+
background-image: luxcommon.$app-gradient;
|
|
159
177
|
}
|
|
160
178
|
|
|
161
179
|
.lux-color-dark-divider {
|
|
162
|
-
color:
|
|
180
|
+
color: luxcommon.$dark-dividers;
|
|
163
181
|
}
|
|
164
182
|
|
|
165
183
|
.lux-color-light-divider {
|
|
166
|
-
color:
|
|
184
|
+
color: luxcommon.$light-dividers;
|
|
167
185
|
}
|
|
168
186
|
|
|
169
187
|
.lux-outline-color-light {
|
|
170
|
-
color:
|
|
188
|
+
color: luxcommon.$outline-color-bright;
|
|
171
189
|
}
|
|
172
190
|
|
|
173
191
|
.lux-outline-color-dark {
|
|
174
|
-
color:
|
|
192
|
+
color: luxcommon.$outline-color-dark;
|
|
175
193
|
}
|
|
176
194
|
|
|
177
195
|
.lux-outline-width {
|
|
178
|
-
outline-width:
|
|
196
|
+
outline-width: luxcommon.$outline-width;
|
|
179
197
|
}
|
|
180
198
|
|
|
181
199
|
.lux-outline-style {
|
|
182
|
-
outline-style:
|
|
200
|
+
outline-style: luxcommon.$outline-style;
|
|
183
201
|
}
|
|
184
202
|
|
|
185
203
|
.lux-outline-light {
|
|
186
|
-
color:
|
|
187
|
-
outline-width:
|
|
188
|
-
outline-style:
|
|
204
|
+
color: luxcommon.$outline-color-bright;
|
|
205
|
+
outline-width: luxcommon.$outline-width;
|
|
206
|
+
outline-style: luxcommon.$outline-style;
|
|
189
207
|
}
|
|
190
208
|
|
|
191
209
|
.lux-outline-dark {
|
|
192
|
-
color:
|
|
193
|
-
outline-width:
|
|
194
|
-
outline-style:
|
|
210
|
+
color: luxcommon.$outline-color-dark;
|
|
211
|
+
outline-width: luxcommon.$outline-width;
|
|
212
|
+
outline-style: luxcommon.$outline-style;
|
|
195
213
|
}
|
|
196
214
|
|
|
197
215
|
.lux-highlight-section {
|
|
@@ -200,7 +218,7 @@ h6 {
|
|
|
200
218
|
border-radius: 4px;
|
|
201
219
|
margin: 16px 0;
|
|
202
220
|
padding: 16px 16px;
|
|
203
|
-
border: 1px solid
|
|
221
|
+
border: 1px solid luxcommon.$dark-dividers;
|
|
204
222
|
display: flex;
|
|
205
223
|
word-break: break-word;
|
|
206
224
|
|
|
@@ -244,7 +262,7 @@ body {
|
|
|
244
262
|
}
|
|
245
263
|
|
|
246
264
|
div {
|
|
247
|
-
font-family:
|
|
265
|
+
font-family: global.$app-font-family;
|
|
248
266
|
}
|
|
249
267
|
|
|
250
268
|
.cdk-overlay-backdrop.cdk-overlay-backdrop-showing {
|
|
@@ -255,7 +273,7 @@ div {
|
|
|
255
273
|
}
|
|
256
274
|
|
|
257
275
|
.mat-dialog-container {
|
|
258
|
-
background-color:
|
|
276
|
+
background-color: luxcommon.$app-content-bg !important;
|
|
259
277
|
}
|
|
260
278
|
|
|
261
279
|
lux-card.lux-card-grow {
|
|
@@ -284,17 +302,17 @@ lux-card.lux-card-grow {
|
|
|
284
302
|
}
|
|
285
303
|
|
|
286
304
|
.lux-label {
|
|
287
|
-
color:
|
|
305
|
+
color: luxcommon.$dark-secondary-text;
|
|
288
306
|
font-size: 75%;
|
|
289
307
|
}
|
|
290
308
|
|
|
291
309
|
.lux-hint {
|
|
292
|
-
color:
|
|
310
|
+
color: luxcommon.$dark-secondary-text;
|
|
293
311
|
font-size: 12px;
|
|
294
312
|
}
|
|
295
313
|
|
|
296
314
|
.lux-display-none {
|
|
297
|
-
display: none
|
|
315
|
+
display: none;
|
|
298
316
|
}
|
|
299
317
|
|
|
300
318
|
.lux-display-none-important {
|
|
@@ -326,7 +344,7 @@ lux-card.lux-card-grow {
|
|
|
326
344
|
}
|
|
327
345
|
|
|
328
346
|
.lux-black-semi-transparent {
|
|
329
|
-
color:
|
|
347
|
+
color: luxcommon.$dark-primary-text;
|
|
330
348
|
}
|
|
331
349
|
|
|
332
350
|
.lux-semi-transparent {
|
|
@@ -379,8 +397,6 @@ lux-card.lux-card-grow {
|
|
|
379
397
|
}
|
|
380
398
|
|
|
381
399
|
.lux-snackbar {
|
|
382
|
-
top: 68px;
|
|
383
|
-
right: 8px;
|
|
384
400
|
position: relative;
|
|
385
401
|
margin: 0 !important;
|
|
386
402
|
min-width: unset !important;
|
|
@@ -422,21 +438,21 @@ lux-card.lux-card-grow {
|
|
|
422
438
|
$directions: "t", "b", "l", "r";
|
|
423
439
|
$directionsLong: "top", "bottom", "left", "right";
|
|
424
440
|
$pxStep: 2;
|
|
425
|
-
$steps: 0, 1, 2, 3, 4;
|
|
441
|
+
$steps: 0, 1, 2, 3, 4, 5, 6;
|
|
426
442
|
|
|
427
|
-
@for $i from 1 through length($directions) {
|
|
443
|
+
@for $i from 1 through list.length($directions) {
|
|
428
444
|
@each $step in $steps {
|
|
429
445
|
.lux-m-#{$step} {
|
|
430
446
|
margin: pow($pxStep, $step, px);
|
|
431
447
|
}
|
|
432
|
-
.lux-m#{nth($directions, $i)}-#{$step} {
|
|
433
|
-
margin-#{nth($directionsLong, $i)}: pow($pxStep, $step, px);
|
|
448
|
+
.lux-m#{list.nth($directions, $i)}-#{$step} {
|
|
449
|
+
margin-#{list.nth($directionsLong, $i)}: pow($pxStep, $step, px);
|
|
434
450
|
}
|
|
435
451
|
.lux-p-#{$step} {
|
|
436
452
|
padding: pow($pxStep, $step, px);
|
|
437
453
|
}
|
|
438
|
-
.lux-p#{nth($directions, $i)}-#{$step} {
|
|
439
|
-
padding-#{nth($directionsLong, $i)}: pow($pxStep, $step, px);
|
|
454
|
+
.lux-p#{list.nth($directions, $i)}-#{$step} {
|
|
455
|
+
padding-#{list.nth($directionsLong, $i)}: pow($pxStep, $step, px);
|
|
440
456
|
}
|
|
441
457
|
}
|
|
442
458
|
}
|
|
@@ -478,104 +494,104 @@ lux-button.lux-uppercase {
|
|
|
478
494
|
}
|
|
479
495
|
}
|
|
480
496
|
|
|
481
|
-
@each $colorName, $colorNameHex in
|
|
497
|
+
@each $colorName, $colorNameHex in luxcommon.$componentBgColors {
|
|
482
498
|
.lux-color-#{''+$colorName+''} {
|
|
483
499
|
color: $colorNameHex;
|
|
484
500
|
}
|
|
485
501
|
}
|
|
486
502
|
|
|
487
|
-
@each $colorName, $colorNameHex in
|
|
503
|
+
@each $colorName, $colorNameHex in luxcommon.$componentBgColors {
|
|
488
504
|
.lux-bg-color-#{''+$colorName+''} {
|
|
489
505
|
background: $colorNameHex;
|
|
490
506
|
}
|
|
491
507
|
}
|
|
492
508
|
|
|
493
|
-
@each $colorName, $colorNameHex in
|
|
509
|
+
@each $colorName, $colorNameHex in luxcommon.$componentFontColors {
|
|
494
510
|
.lux-font-color-#{''+$colorName+''} {
|
|
495
511
|
color: $colorNameHex;
|
|
496
512
|
}
|
|
497
513
|
}
|
|
498
514
|
|
|
499
515
|
.lux-color-dark-primary-text {
|
|
500
|
-
color:
|
|
516
|
+
color: luxcommon.$dark-primary-text;
|
|
501
517
|
}
|
|
502
518
|
|
|
503
519
|
.lux-color-dark-secondary-text {
|
|
504
|
-
color:
|
|
520
|
+
color: luxcommon.$dark-secondary-text;
|
|
505
521
|
}
|
|
506
522
|
|
|
507
523
|
.lux-color-dark-disabled-text {
|
|
508
|
-
color:
|
|
524
|
+
color: luxcommon.$dark-disabled-text;
|
|
509
525
|
}
|
|
510
526
|
|
|
511
527
|
.lux-color-dark-focused {
|
|
512
|
-
color:
|
|
528
|
+
color: luxcommon.$dark-focused;
|
|
513
529
|
}
|
|
514
530
|
|
|
515
531
|
.lux-color-light-primary-text {
|
|
516
|
-
color:
|
|
532
|
+
color: luxcommon.$light-primary-text;
|
|
517
533
|
}
|
|
518
534
|
|
|
519
535
|
.lux-color-light-secondary-text {
|
|
520
|
-
color:
|
|
536
|
+
color: luxcommon.$light-secondary-text;
|
|
521
537
|
}
|
|
522
538
|
|
|
523
539
|
.lux-color-light-disabled-text {
|
|
524
|
-
color:
|
|
540
|
+
color: luxcommon.$light-disabled-text;
|
|
525
541
|
}
|
|
526
542
|
|
|
527
543
|
.lux-color-light-focused {
|
|
528
|
-
color:
|
|
544
|
+
color: luxcommon.$light-focused;
|
|
529
545
|
}
|
|
530
546
|
|
|
531
547
|
@each $size in $sizes {
|
|
532
548
|
@for $i from 1 through 3 {
|
|
533
|
-
.lux-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
534
|
-
color: map
|
|
549
|
+
.lux-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)} {
|
|
550
|
+
color: map.get(list.nth($paletten, $i), $size);
|
|
535
551
|
}
|
|
536
552
|
|
|
537
|
-
.lux-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
538
|
-
color: map
|
|
553
|
+
.lux-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast {
|
|
554
|
+
color: map.get(list.nth($paletten, $i), contrast, $size);
|
|
539
555
|
}
|
|
540
556
|
|
|
541
|
-
.lux-bg-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
542
|
-
background-color: map
|
|
557
|
+
.lux-bg-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)} {
|
|
558
|
+
background-color: map.get(list.nth($paletten, $i), $size);
|
|
543
559
|
}
|
|
544
560
|
|
|
545
|
-
.lux-bg-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
546
|
-
background-color: map
|
|
561
|
+
.lux-bg-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast {
|
|
562
|
+
background-color: map.get(list.nth($paletten, $i), contrast, $size);
|
|
547
563
|
}
|
|
548
564
|
|
|
549
|
-
.lux-border-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
550
|
-
border-color: map
|
|
565
|
+
.lux-border-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)} {
|
|
566
|
+
border-color: map.get(list.nth($paletten, $i), $size);
|
|
551
567
|
}
|
|
552
568
|
|
|
553
|
-
.lux-border-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
554
|
-
border-color: map
|
|
569
|
+
.lux-border-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast {
|
|
570
|
+
border-color: map.get(list.nth($paletten, $i), contrast, $size);
|
|
555
571
|
}
|
|
556
572
|
|
|
557
|
-
.lux-outline-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
558
|
-
outline-color: map
|
|
573
|
+
.lux-outline-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)} {
|
|
574
|
+
outline-color: map.get(list.nth($paletten, $i), $size);
|
|
559
575
|
}
|
|
560
576
|
|
|
561
|
-
.lux-outline-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
562
|
-
outline-color: map
|
|
577
|
+
.lux-outline-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast {
|
|
578
|
+
outline-color: map.get(list.nth($paletten, $i), contrast, $size);
|
|
563
579
|
}
|
|
564
580
|
|
|
565
|
-
.lux-text-decoration-#{nth($paletteNamen, $i)}-color-#{to-lower-case("" + $size)} {
|
|
566
|
-
text-decoration-color: map
|
|
581
|
+
.lux-text-decoration-#{list.nth($paletteNamen, $i)}-color-#{string.to-lower-case("" + $size)} {
|
|
582
|
+
text-decoration-color: map.get(list.nth($paletten, $i), $size);
|
|
567
583
|
}
|
|
568
584
|
|
|
569
|
-
.lux-text-decoration-#{nth($paletteNamen, $i)}-color-#{to-lower-case("" + $size)}-contrast {
|
|
570
|
-
text-decoration-color: map
|
|
585
|
+
.lux-text-decoration-#{list.nth($paletteNamen, $i)}-color-#{string.to-lower-case("" + $size)}-contrast {
|
|
586
|
+
text-decoration-color: map.get(list.nth($paletten, $i), contrast, $size);
|
|
571
587
|
}
|
|
572
588
|
|
|
573
|
-
.lux-column-rule-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)} {
|
|
574
|
-
column-rule-color: map
|
|
589
|
+
.lux-column-rule-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)} {
|
|
590
|
+
column-rule-color: map.get(list.nth($paletten, $i), $size);
|
|
575
591
|
}
|
|
576
592
|
|
|
577
|
-
.lux-column-rule-color-#{nth($paletteNamen, $i)}-#{to-lower-case("" + $size)}-contrast {
|
|
578
|
-
column-rule-color: map
|
|
593
|
+
.lux-column-rule-color-#{list.nth($paletteNamen, $i)}-#{string.to-lower-case("" + $size)}-contrast {
|
|
594
|
+
column-rule-color: map.get(list.nth($paletten, $i), contrast, $size);
|
|
579
595
|
}
|
|
580
596
|
}
|
|
581
597
|
}
|
|
@@ -596,13 +612,13 @@ lux-button.lux-uppercase {
|
|
|
596
612
|
}
|
|
597
613
|
|
|
598
614
|
&.mat-badge:not(.mat-badge-disabled).mat-badge-accent .mat-badge-content {
|
|
599
|
-
background-color: map
|
|
615
|
+
background-color: map.get(luxcommon.$componentBgColors, "green");
|
|
600
616
|
}
|
|
601
617
|
|
|
602
618
|
&.lux-badge-color-default {
|
|
603
619
|
&.mat-badge:not(.mat-badge-disabled) .mat-badge-content {
|
|
604
620
|
color: white;
|
|
605
|
-
background:
|
|
621
|
+
background: map.get(luxcommon.$componentBgColors, "gray");
|
|
606
622
|
}
|
|
607
623
|
}
|
|
608
624
|
}
|
package/src/base/_luxtheme.scss
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
$lux-warn: mat-palette($lux-palette_warn);
|
|
4
|
-
$lux-theme: mat-light-theme($lux-primary, $lux-accent, $lux-warn);
|
|
1
|
+
@use "@angular/material" as mat;
|
|
2
|
+
@use "luxpalette";
|
|
5
3
|
|
|
6
|
-
@include mat
|
|
7
|
-
|
|
4
|
+
@include mat.core();
|
|
5
|
+
|
|
6
|
+
$lux-primary: mat.define-palette(luxpalette.$lux-palette_primary);
|
|
7
|
+
$lux-accent: mat.define-palette(luxpalette.$lux-palette_accent);
|
|
8
|
+
$lux-warn: mat.define-palette(luxpalette.$lux-palette_warn);
|
|
9
|
+
$lux-theme: mat.define-light-theme($lux-primary, $lux-accent, $lux-warn);
|
|
10
|
+
|
|
11
|
+
@include mat.all-component-themes($lux-theme);
|