@ihk-gfi/lux-components-theme 13.0.0 → 14.0.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.
Files changed (48) hide show
  1. package/README.md +9 -0
  2. package/package.json +7 -7
  3. package/prebuilt-themes/luxtheme-authentic-min.css +1 -0
  4. package/prebuilt-themes/luxtheme-authentic-min.css.map +1 -0
  5. package/prebuilt-themes/{luxtheme-orange.css → luxtheme-authentic.css} +6676 -4808
  6. package/prebuilt-themes/luxtheme-authentic.css.map +1 -0
  7. package/prebuilt-themes/luxtheme-blue-min.css +1 -1
  8. package/prebuilt-themes/luxtheme-blue-min.css.map +1 -1
  9. package/prebuilt-themes/luxtheme-blue.css +4517 -3253
  10. package/prebuilt-themes/luxtheme-blue.css.map +1 -1
  11. package/prebuilt-themes/luxtheme-green-min.css +1 -1
  12. package/prebuilt-themes/luxtheme-green-min.css.map +1 -1
  13. package/prebuilt-themes/luxtheme-green.css +4559 -3310
  14. package/prebuilt-themes/luxtheme-green.css.map +1 -1
  15. package/src/authentic/_custom.scss +873 -0
  16. package/src/authentic/_luxcommon.scss +128 -0
  17. package/src/authentic/_luxpalette.scss +106 -0
  18. package/src/authentic/luxtheme.scss +103 -0
  19. package/src/base/_luxcommon.scss +98 -0
  20. package/src/base/_luxcomponents.scss +374 -188
  21. package/src/base/_luxelevations.scss +8 -10
  22. package/src/base/_luxfocus.scss +196 -100
  23. package/src/base/_luxpalette.scss +9 -0
  24. package/src/base/_luxstyles.scss +139 -116
  25. package/src/base/_luxtheme.scss +10 -6
  26. package/src/base/components/_luxAppHeaderAc.scss +140 -0
  27. package/src/base/components/_luxFormControlWrapper.scss +173 -0
  28. package/src/base/components/_luxFormControlsAuthentic.scss +279 -0
  29. package/src/base/components/_luxLinkPlain.scss +56 -0
  30. package/src/base/components/_luxMasterDetailAc.scss +193 -0
  31. package/src/base/components/_luxTileAc.scss +64 -0
  32. package/src/blue/_custom.scss +103 -1
  33. package/src/blue/_luxcommon.scss +13 -2
  34. package/src/blue/_luxpalette.scss +4 -3
  35. package/src/blue/luxtheme.scss +102 -10
  36. package/src/green/_custom.scss +201 -104
  37. package/src/green/_luxcommon.scss +16 -5
  38. package/src/green/_luxpalette.scss +4 -3
  39. package/src/green/luxtheme.scss +103 -13
  40. package/src/public/global.scss +6 -10
  41. package/prebuilt-themes/luxtheme-orange-min.css +0 -1
  42. package/prebuilt-themes/luxtheme-orange-min.css.map +0 -1
  43. package/prebuilt-themes/luxtheme-orange.css.map +0 -1
  44. package/src/base/_luxicons.scss +0 -2
  45. package/src/orange/_custom.scss +0 -66
  46. package/src/orange/_luxcommon.scss +0 -90
  47. package/src/orange/_luxpalette.scss +0 -106
  48. package/src/orange/luxtheme.scss +0 -10
@@ -0,0 +1,128 @@
1
+ @use "sass:map";
2
+ @use "luxpalette";
3
+
4
+ $app-font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
5
+ $app-headline-font: "Blogger Sans";
6
+
7
+ body {
8
+ color: map.get(luxpalette.$lux-palette_primary , 500);
9
+ font-family: $app-font-family;
10
+ }
11
+
12
+ p, div {
13
+ font-family: $app-font-family;
14
+ }
15
+
16
+ h1, h2, h3, h4, h5, h6 {
17
+ font-family: $app-font-family;
18
+ color: rgba(black, 0.87);
19
+ font-weight: normal;
20
+ }
21
+
22
+ .cdk-overlay-pane {
23
+ font-family: $app-font-family;
24
+ .mat-menu-item {
25
+ font-family: $app-font-family;
26
+ }
27
+ }
28
+
29
+ // Allgemein
30
+ $dark-primary-text: rgba(black, 0.87);
31
+ $dark-secondary-text: rgba(black, 0.6);
32
+ $dark-disabled-text: rgba(black, 0.38);
33
+ $dark-dividers: rgba(black, 0.12);
34
+ $dark-focused: rgba(black, 0.12);
35
+
36
+
37
+ $light-primary-text: white;
38
+ $light-secondary-text: rgba(white, 0.74);
39
+ $light-disabled-text: rgba(white, 0.38);
40
+ $light-dividers: rgba(white, 0.20);
41
+ $light-focused: rgba(white, 0.12);
42
+
43
+ // App
44
+ $app-header-bg: map.get(luxpalette.$lux-palette_primary, 50);
45
+ $app-content-bg: #ffffff;
46
+ $app-footer-bg: map.get(luxpalette.$lux-palette_primary, 50);
47
+ $app-data-bg: #ffffff;
48
+ $app-gradient: linear-gradient(90deg, #ffffff 0%, #f8fbff 100%);
49
+ $app-gradient-reverse: linear-gradient(270deg, #ffffff 0%, #f8fbff 100%);
50
+ $app-border-color: rgba(black, 0.12);
51
+
52
+ // Form
53
+ $form-border-color: rgba(0, 0, 0, 0.12);
54
+ $form-control-default-height-not-scalable: 30px;
55
+ $form-control-height: 24px;
56
+ $form-control-height-small: 18px;
57
+ $form-control-font-size: 16px;
58
+ $form-control-font-size-small: 12px;
59
+ $form-control-label-padding: 2px 0 0 0;
60
+ $form-control-container-padding: 6px 0 0 0;
61
+ $form-control-misc-margin: 4px 0 2px 0;
62
+ $form-control-complete-height: 70px;
63
+ $form-control-buffer: 4px;
64
+ $form-control-margin: 0px;
65
+
66
+ // Button
67
+ $button-height: 36px;
68
+ $button-font-size: 14px;
69
+ $button-fav-height: 36px;
70
+
71
+ // Fokus
72
+ $outline-color-bright: #ffffff;
73
+ $outline-color-dark: map.get(luxpalette.$lux-palette-primary, A200);
74
+ $outline-width: 4px;
75
+ $outline-style: solid;
76
+
77
+ // Hover
78
+ $lux-hover-color: map.get(luxpalette.$lux-palette-primary, 300);
79
+ $lux-hover-color-for-dark-background: #335c85;
80
+
81
+ // Selektion
82
+ $lux-selected-border-color: luxpalette.$lux-primary-color;
83
+ $lux-selected-bg-color: #f0f3f6;
84
+
85
+ // Stepper (large)
86
+ $lux-stepper-large-backdrop-bg: #636d76;
87
+ $lux-stepper-large-completed-fc: #56bd66;
88
+
89
+ $lux-stepper-large-nav-item-active-fc: #ffffff;
90
+ $lux-stepper-large-nav-item-active-bg: #003366;
91
+ $lux-stepper-large-nav-item-disabled-fg: #003366;
92
+ $lux-stepper-large-nav-item-disabled-bg: #eff3f6;
93
+ $lux-stepper-large-nav-item-completed-fg: #56bd66;
94
+ $lux-stepper-large-nav-item-completed-bg: #ffffff;
95
+
96
+ // Hintergrundfarben (z.B. Badge oder Progress)
97
+ $componentBgColors: (
98
+ "red": luxpalette.$lux-warn-color,
99
+ "green": luxpalette.$lux-accent-color,
100
+ "purple": #9900B8,
101
+ "blue": luxpalette.$lux-primary-color,
102
+ "gray": #666666,
103
+ "orange": rgba(237, 110, 17, 1),
104
+ "brown": #783f04,
105
+ "black": $dark-primary-text,
106
+ "white": #ffffff,
107
+ "yellow": rgba(244, 203, 37, 1),
108
+ "pink": rgba(237, 95, 122, 1),
109
+ "lightblue": rgba(63, 155, 218, 1),
110
+ );
111
+
112
+ // Vordergrundfarben (z.B. Badge)
113
+ $componentFontColors: (
114
+ black: #000000,
115
+ white: #ffffff
116
+ );
117
+
118
+ // Farben für einen dunklen Hintergrund (z.B. Snackbar).
119
+ $colorsForDarkBg: (
120
+ "red": #f17474,
121
+ "green": #53b12b,
122
+ "purple": #e561ff,
123
+ "blue": #729eca,
124
+ "gray": #c8c8c8,
125
+ "orange": #ec9c1b,
126
+ "brown": #eb7c05,
127
+ "white": #ffffff
128
+ );
@@ -0,0 +1,106 @@
1
+ @use "sass:map";
2
+ /*
3
+ Dieses Partial-SCSS dient der Verwaltung der Farb-Paletten für die LUX-Components.
4
+ */
5
+ $lux-palette_primary: (
6
+ 50 : #e0e7ed,
7
+ 100 : #b3c2d1,
8
+ 200 : #8099b3,
9
+ 300 : #4d7094,
10
+ 400 : #26527d,
11
+ 500 : #003366,
12
+ 600 : #002d5d,
13
+ 700 : #002753,
14
+ 800 : #002049,
15
+ 900 : #001438,
16
+ A100 : rgba(24, 186, 255, 1),
17
+ A200 : rgba(0, 152, 218, 1),
18
+ A400 : rgba(0, 134, 192, 1),
19
+ A700 : rgba(0, 124, 177, 1),
20
+ contrast: (
21
+ 50 : #000000,
22
+ 100 : #000000,
23
+ 200 : #000000,
24
+ 300 : #000000,
25
+ 400 : #000000,
26
+ 500 : #ffffff,
27
+ 600 : #ffffff,
28
+ 700 : #ffffff,
29
+ 800 : #ffffff,
30
+ 900 : #ffffff,
31
+ A100 : #000000,
32
+ A200 : #000000,
33
+ A400 : #000000,
34
+ A700 : #000000,
35
+ )
36
+ );
37
+
38
+ $lux-palette_accent: (
39
+ 50 : #ebf7ed,
40
+ 100 : #ccebd1,
41
+ 200 : #abdeb3,
42
+ 300 : #89d194,
43
+ 400 : #6fc77d,
44
+ 500 : #56bd66,
45
+ 600 : #4fb75e,
46
+ 700 : #45ae53,
47
+ 800 : #3ca649,
48
+ 900 : #2b9838,
49
+ A100 : rgba(184, 255, 179, 1),
50
+ A200 : rgba(126, 255, 117, 1),
51
+ A400 : rgba(102, 255, 92, 1),
52
+ A700 : rgba(88, 255, 77, 1),
53
+ contrast: (
54
+ 50 : #000000,
55
+ 100 : #000000,
56
+ 200 : #000000,
57
+ 300 : #ffffff,
58
+ 400 : #ffffff,
59
+ 500 : #ffffff,
60
+ 600 : #ffffff,
61
+ 700 : #ffffff,
62
+ 800 : #ffffff,
63
+ 900 : #ffffff,
64
+ A100 : #000000,
65
+ A200 : #000000,
66
+ A400 : #000000,
67
+ A700 : #000000,
68
+ )
69
+ );
70
+
71
+ $lux-palette_warn: (
72
+ 50 : #ffcacf,
73
+ 100 : #f59594,
74
+ 200 : #ed6b6a,
75
+ 300 : #f64543,
76
+ 400 : #fb2f24,
77
+ 500 : #ec2125,
78
+ 600 : #da101f,
79
+ 700 : #ce0017,
80
+ 800 : #c00007,
81
+ 900 : #bf0006,
82
+ A100 : rgba(237, 95, 122, 1),
83
+ A200 : rgba(63, 155, 218, 1),
84
+ A400 : rgba(244, 203, 37, 1),
85
+ A700 : rgba(237, 110, 17, 1),
86
+ contrast: (
87
+ 50 : #000000,
88
+ 100 : #000000,
89
+ 200 : #000000,
90
+ 300 : #ffffff,
91
+ 400 : #ffffff,
92
+ 500 : #ffffff,
93
+ 600 : #ffffff,
94
+ 700 : #ffffff,
95
+ 800 : #ffffff,
96
+ 900 : #ffffff,
97
+ A100 : #000000,
98
+ A200 : #000000,
99
+ A400 : #000000,
100
+ A700 : #ffffff,
101
+ )
102
+ );
103
+
104
+ $lux-primary-color: map.get($lux-palette_primary, 500);
105
+ $lux-accent-color: map.get($lux-palette_accent, 500);
106
+ $lux-warn-color: map.get($lux-palette_warn, 500);
@@ -0,0 +1,103 @@
1
+ @use "luxpalette" as themePalette;
2
+ @use "../base/luxpalette" with (
3
+ // Farbpaletten
4
+ $lux-palette_primary: themePalette.$lux-palette_primary,
5
+ $lux-palette_accent: themePalette.$lux-palette_accent,
6
+ $lux-palette_warn: themePalette.$lux-palette_warn,
7
+
8
+ // Hauptfarben
9
+ $lux-primary-color: themePalette.$lux-primary-color,
10
+ $lux-accent-color:themePalette.$lux-accent-color,
11
+ $lux-warn-color: themePalette.$lux-warn-color
12
+ );
13
+
14
+ @use "luxcommon" as themeCommon;
15
+
16
+ @use "../public/global";
17
+
18
+ @use "../base/luxcommon" with (
19
+ // Allgemein
20
+ $dark-primary-text: themeCommon.$dark-primary-text,
21
+ $dark-secondary-text: themeCommon.$dark-secondary-text,
22
+ $dark-disabled-text: themeCommon.$dark-disabled-text,
23
+ $dark-dividers: themeCommon.$dark-dividers,
24
+ $dark-focused: themeCommon.$dark-focused,
25
+
26
+ $light-primary-text: themeCommon.$light-primary-text,
27
+ $light-secondary-text: themeCommon.$light-secondary-text,
28
+ $light-disabled-text: themeCommon.$light-disabled-text,
29
+ $light-dividers: themeCommon.$light-dividers,
30
+ $light-focused: themeCommon.$light-focused,
31
+
32
+ // App
33
+ $app-header-bg: themeCommon.$app-header-bg,
34
+ $app-content-bg: themeCommon.$app-content-bg,
35
+ $app-footer-bg: themeCommon.$app-footer-bg,
36
+ $app-data-bg: themeCommon.$app-data-bg,
37
+ $app-gradient: themeCommon.$app-gradient,
38
+ $app-gradient-reverse: themeCommon.$app-gradient-reverse,
39
+ $app-border-color: themeCommon.$app-border-color,
40
+ $app-headline-font: themeCommon.$app-headline-font,
41
+ $app-font-family: themeCommon.$app-font-family,
42
+
43
+ // Form
44
+ $form-border-color: themeCommon.$form-border-color,
45
+ $form-control-default-height-not-scalable: themeCommon.$form-control-default-height-not-scalable,
46
+ $form-control-height: themeCommon.$form-control-height,
47
+ $form-control-height-small: themeCommon.$form-control-height-small,
48
+ $form-control-font-size: themeCommon.$form-control-font-size,
49
+ $form-control-font-size-small: themeCommon.$form-control-font-size-small,
50
+ $form-control-label-padding: themeCommon.$form-control-label-padding,
51
+ $form-control-container-padding: themeCommon.$form-control-container-padding,
52
+ $form-control-misc-margin: themeCommon.$form-control-misc-margin,
53
+ $form-control-complete-height: themeCommon.$form-control-complete-height,
54
+ $form-control-buffer: themeCommon.$form-control-buffer,
55
+ $form-control-margin: themeCommon.$form-control-margin,
56
+
57
+ // Button
58
+ $button-height: themeCommon.$button-height,
59
+ $button-fav-height: themeCommon.$button-fav-height,
60
+ $button-font-size: themeCommon.$button-font-size,
61
+
62
+ // Fokus
63
+ $outline-width: themeCommon.$outline-width,
64
+ $outline-style: themeCommon.$outline-style,
65
+ $outline-color-bright: themeCommon.$outline-color-bright,
66
+ $outline-color-dark: themeCommon.$outline-color-dark,
67
+
68
+ // Hover
69
+ $lux-hover-color: themeCommon.$lux-hover-color,
70
+ $lux-hover-color-for-dark-background: themeCommon.$lux-hover-color-for-dark-background,
71
+
72
+ // Selektion
73
+ $lux-selected-border-color: themeCommon.$lux-selected-border-color,
74
+ $lux-selected-bg-color: themeCommon.$lux-selected-bg-color,
75
+
76
+ // Stepper (large)
77
+ $lux-stepper-large-backdrop-bg: themeCommon.$lux-stepper-large-backdrop-bg,
78
+ $lux-stepper-large-completed-fc: themeCommon.$lux-stepper-large-completed-fc,
79
+
80
+ $lux-stepper-large-nav-item-active-fc: themeCommon.$lux-stepper-large-nav-item-active-fc,
81
+ $lux-stepper-large-nav-item-active-bg: themeCommon.$lux-stepper-large-nav-item-active-bg,
82
+ $lux-stepper-large-nav-item-disabled-fg: themeCommon.$lux-stepper-large-nav-item-disabled-fg,
83
+ $lux-stepper-large-nav-item-disabled-bg: themeCommon.$lux-stepper-large-nav-item-disabled-bg,
84
+ $lux-stepper-large-nav-item-completed-fg: themeCommon.$lux-stepper-large-nav-item-completed-fg,
85
+ $lux-stepper-large-nav-item-completed-bg: themeCommon.$lux-stepper-large-nav-item-completed-bg,
86
+
87
+ // Hintergrundfarben (z.B. Badge oder Progress)
88
+ $componentBgColors: themeCommon.$componentBgColors,
89
+
90
+ // Vordergrundfarben (z.B. Badge)
91
+ $componentFontColors: themeCommon.$componentFontColors,
92
+
93
+ // Farben für einen dunklen Hintergrund (z.B. Snackbar).
94
+ $colorsForDarkBg: themeCommon.$colorsForDarkBg
95
+ );
96
+
97
+ @use "../base/luxelevations";
98
+ @use "../base/luxcomponents";
99
+ @use "../base/luxfocus";
100
+ @use "../base/luxstyles";
101
+ @use "../base/luxtheme";
102
+
103
+ @use "custom";
@@ -0,0 +1,98 @@
1
+ // Allgemein
2
+ $dark-primary-text: mustOverriden !default;
3
+ $dark-secondary-text: mustOverriden !default;
4
+ $dark-disabled-text: mustOverriden !default;
5
+ $dark-dividers: mustOverriden !default;
6
+ $dark-focused: mustOverriden !default;
7
+
8
+ $light-primary-text: mustOverriden !default;
9
+ $light-secondary-text: mustOverriden !default;
10
+ $light-disabled-text: mustOverriden !default;
11
+ $light-dividers: mustOverriden !default;
12
+ $light-focused: mustOverriden !default;
13
+
14
+ // App
15
+ $app-header-bg: mustOverriden !default;
16
+ $app-content-bg: mustOverriden !default;
17
+ $app-footer-bg: mustOverriden !default;
18
+ $app-data-bg: mustOverriden !default;
19
+ $app-gradient: mustOverriden !default;
20
+ $app-gradient-reverse: mustOverriden !default;
21
+ $app-border-color: mustOverriden !default;
22
+ $app-headline-font: mustOverriden !default;
23
+ $app-font-family: mustOverriden !default;
24
+
25
+ // Form
26
+ $form-border-color: mustOverriden !default;
27
+ $form-control-default-height-not-scalable: mustOverriden !default;
28
+ $form-control-height: mustOverriden !default;
29
+ $form-control-height-small: mustOverriden !default;
30
+ $form-control-font-size: mustOverriden !default;
31
+ $form-control-font-size-small: mustOverriden !default;
32
+ $form-control-label-padding: mustOverriden !default;
33
+ $form-control-container-padding: mustOverriden !default;
34
+ $form-control-misc-margin: mustOverriden !default;
35
+ $form-control-complete-height: mustOverriden !default;
36
+ $form-control-buffer: mustOverriden !default;
37
+ $form-control-margin: mustOverriden !default;
38
+
39
+ // Button
40
+ $button-height: mustOverriden !default;
41
+ $button-fav-height: mustOverriden !default;
42
+ $button-font-size: mustOverriden !default;
43
+
44
+ // Fokus
45
+ $outline-width: mustOverriden !default;
46
+ $outline-style: mustOverriden !default;
47
+ $outline-color-bright: mustOverriden !default;
48
+ $outline-color-dark: mustOverriden !default;
49
+
50
+ // Hover
51
+ $lux-hover-color: mustOverriden !default;
52
+ $lux-hover-color-for-dark-background: mustOverriden !default;
53
+
54
+ // Selektion
55
+ $lux-selected-border-color: mustOverriden !default;
56
+ $lux-selected-bg-color: mustOverriden !default;
57
+
58
+ // Stepper (large)
59
+ $lux-stepper-large-backdrop-bg: mustOverriden !default;
60
+ $lux-stepper-large-completed-fc: mustOverriden !default;
61
+
62
+ $lux-stepper-large-nav-item-active-fc: mustOverriden !default;
63
+ $lux-stepper-large-nav-item-active-bg: mustOverriden !default;
64
+ $lux-stepper-large-nav-item-disabled-fg: mustOverriden !default;
65
+ $lux-stepper-large-nav-item-disabled-bg: mustOverriden !default;
66
+ $lux-stepper-large-nav-item-completed-fg: mustOverriden !default;
67
+ $lux-stepper-large-nav-item-completed-bg: mustOverriden !default;
68
+
69
+ // Hintergrundfarben (z.B. Badge oder Progress)
70
+ $componentBgColors: (
71
+ "red": mustOverriden,
72
+ "green": mustOverriden,
73
+ "purple": mustOverriden,
74
+ "blue": mustOverriden,
75
+ "gray": mustOverriden,
76
+ "orange": mustOverriden,
77
+ "brown": mustOverriden,
78
+ "black": mustOverriden,
79
+ "white": mustOverriden
80
+ ) !default;
81
+
82
+ // Vordergrundfarben (z.B. Badge)
83
+ $componentFontColors: (
84
+ black: mustOverriden,
85
+ white: mustOverriden
86
+ ) !default;
87
+
88
+ // Farben für einen dunklen Hintergrund (z.B. Snackbar).
89
+ $colorsForDarkBg: (
90
+ "red": mustOverriden,
91
+ "green": mustOverriden,
92
+ "purple": mustOverriden,
93
+ "blue": mustOverriden,
94
+ "gray": mustOverriden,
95
+ "orange": mustOverriden,
96
+ "brown": mustOverriden,
97
+ "white": mustOverriden
98
+ ) !default;