@ihk-gfi/lux-components-theme 11.4.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 (34) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +198 -0
  3. package/README.md +120 -0
  4. package/package.json +25 -0
  5. package/prebuilt-themes/luxtheme-blue-min.css +1 -0
  6. package/prebuilt-themes/luxtheme-blue-min.css.map +1 -0
  7. package/prebuilt-themes/luxtheme-blue.css +6451 -0
  8. package/prebuilt-themes/luxtheme-blue.css.map +1 -0
  9. package/prebuilt-themes/luxtheme-green-min.css +1 -0
  10. package/prebuilt-themes/luxtheme-green-min.css.map +1 -0
  11. package/prebuilt-themes/luxtheme-green.css +6598 -0
  12. package/prebuilt-themes/luxtheme-green.css.map +1 -0
  13. package/prebuilt-themes/luxtheme-orange-min.css +1 -0
  14. package/prebuilt-themes/luxtheme-orange-min.css.map +1 -0
  15. package/prebuilt-themes/luxtheme-orange.css +6490 -0
  16. package/prebuilt-themes/luxtheme-orange.css.map +1 -0
  17. package/src/base/_luxcomponents.scss +768 -0
  18. package/src/base/_luxfocus.scss +698 -0
  19. package/src/base/_luxicons.scss +2 -0
  20. package/src/base/_luxstyles.scss +503 -0
  21. package/src/base/_luxtheme.scss +7 -0
  22. package/src/blue/_custom.scss +0 -0
  23. package/src/blue/_luxcommon.scss +64 -0
  24. package/src/blue/_luxpalette.scss +105 -0
  25. package/src/blue/luxtheme.scss +11 -0
  26. package/src/green/_custom.scss +219 -0
  27. package/src/green/_luxcommon.scss +64 -0
  28. package/src/green/_luxpalette.scss +106 -0
  29. package/src/green/luxtheme.scss +13 -0
  30. package/src/orange/_custom.scss +66 -0
  31. package/src/orange/_luxcommon.scss +64 -0
  32. package/src/orange/_luxpalette.scss +106 -0
  33. package/src/orange/luxtheme.scss +11 -0
  34. package/src/public/global.scss +13 -0
@@ -0,0 +1,219 @@
1
+ body {
2
+ color: #003366;
3
+ }
4
+
5
+ lux-card .mat-card {
6
+ color: #003366;
7
+ }
8
+
9
+ lux-panel {
10
+ & .mat-expansion-panel, .mat-expansion-panel-header-title, .mat-expansion-panel-header-description {
11
+ color: #003366;
12
+ }
13
+ }
14
+
15
+ @mixin lux-hovered-mixin-green {
16
+ background-color: #e3ebf5 !important;
17
+ border-radius: 4px;
18
+ }
19
+
20
+ lux-app-header {
21
+ .lux-app-header {
22
+ background-color: $app-header-bg;
23
+
24
+ .lux-show-border {
25
+ border-left: 1px solid #003366;
26
+ }
27
+
28
+ .lux-header-title {
29
+ color: map-get($lux-palette-primary, 500);
30
+ }
31
+
32
+ div.lux-header-action {
33
+ lux-button {
34
+ button {
35
+
36
+ &:not(.mat-accent):not(.mat-warn):not(.mat-primary):not(.mat-button-disabled) {
37
+ color: map-get($lux-palette-primary, 500);
38
+ }
39
+
40
+ &:not(.mat-accent):not(.mat-warn):not(.mat-primary).mat-button-disabled {
41
+ color: $dark-disabled-text;
42
+ }
43
+
44
+ &.mat-accent:not(.mat-button-disabled) {
45
+ color: map-get($lux-palette_accent, A100);
46
+ }
47
+
48
+ &.mat-warn:not(.mat-button-disabled) {
49
+ color: map-get($lux-palette_warn, A100);
50
+ }
51
+
52
+ &.mat-primary:not(.mat-button-disabled) {
53
+ color: map-get($lux-palette_primary, A100);
54
+ }
55
+ }
56
+ }
57
+ }
58
+
59
+ button:not(.mat-primary):not(.mat-warn):not(.mat-accent):not(.lux-button-rounded) {
60
+ color: map-get($lux-palette-primary, 500);
61
+ }
62
+
63
+ .lux-header-user {
64
+ .lux-header-user-short {
65
+ > span {
66
+ color: map-get($lux-palette_primary, 500);
67
+ background-color: map-get($lux-palette-primary, 500);
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+ .lux-side-nav-header, .lux-side-nav-footer {
74
+ color: map-get($lux-palette_primary, A400);
75
+ }
76
+
77
+ .lux-header-side-nav {
78
+ .lux-side-nav-trigger-active {
79
+ background-color: $dark-focused;
80
+ }
81
+ }
82
+
83
+ .lux-side-nav .lux-side-nav-content {
84
+ lux-button, .lux-menu-item, .lux-action-nav-menu lux-button {
85
+ color: map-get($lux-palette_primary, 500);
86
+ }
87
+ }
88
+ }
89
+
90
+ lux-app-header {
91
+ .lux-app-header-title-label {
92
+ &:focus {
93
+ @include focus-dark-mixin;
94
+ }
95
+
96
+ &:hover {
97
+ @include lux-hovered-mixin-green;
98
+ color: #003366 !important;
99
+ }
100
+ }
101
+
102
+ & .lux-side-nav-trigger button:not([disabled]) {
103
+ &:focus {
104
+ @include focus-dark-mixin;
105
+ }
106
+
107
+ &:hover {
108
+ background-color: $lux-hover-color !important;
109
+ color: #003366 !important;
110
+ }
111
+
112
+ &:hover lux-icon {
113
+ background-color: $lux-hover-color;
114
+ color: #003366 !important;
115
+ }
116
+ }
117
+
118
+ & .lux-header-action button:not([disabled]) {
119
+ &:focus {
120
+ @include focus-dark-mixin;
121
+ }
122
+
123
+ color: #003366 !important;
124
+
125
+ &.mat-accent lux-icon {
126
+ color: map-get($lux-palette_accent, 500) !important;
127
+ }
128
+
129
+ &.mat-warn lux-icon {
130
+ color: map-get($lux-palette_warn, 500) !important;
131
+ }
132
+
133
+ &.mat-primary lux-icon {
134
+ color: map-get($lux-palette_primary, 500) !important;
135
+ }
136
+
137
+ &:hover {
138
+ color: #003366 !important;
139
+ background-color: $lux-hover-color !important;
140
+
141
+ &.mat-accent lux-icon {
142
+ color: map-get($lux-palette_accent, 500) !important;
143
+ }
144
+
145
+ &.mat-warn lux-icon {
146
+ color: map-get($lux-palette_warn, 500) !important;
147
+ }
148
+
149
+ &.mat-primary lux-icon {
150
+ color: map-get($lux-palette_primary, 500) !important;
151
+ }
152
+ }
153
+ }
154
+
155
+ & lux-image:focus {
156
+ @include focus-dark-mixin;
157
+ }
158
+
159
+ & lux-icon:focus {
160
+ @include focus-dark-mixin;
161
+ }
162
+
163
+ lux-menu-trigger button.lux-right-nav-trigger {
164
+ &:focus {
165
+ @include focus-dark-mixin;
166
+ }
167
+
168
+ &:hover {
169
+ @include lux-hovered-mixin-green;
170
+
171
+ & lux-icon, .lux-header-username {
172
+ color: #003366 !important;
173
+ }
174
+ }
175
+ }
176
+ }
177
+
178
+ /*
179
+ * Theming for LUX-Tile
180
+ */
181
+ lux-tile {
182
+
183
+ .lux-notification-new {
184
+ background-color: #56bd66;
185
+ }
186
+
187
+ h2 {
188
+ color: #003366;
189
+ }
190
+
191
+ .lux-highlight {
192
+ color: #003366;
193
+ }
194
+ }
195
+
196
+ lux-tile {
197
+
198
+ .lux-highlight:hover {
199
+ color: #56BD66;
200
+ }
201
+
202
+ mat-card[class~=lux-cursor] {
203
+
204
+ box-shadow: 0px 2px 1px -1px rgb(0 51 102 / 60%), 0px 1px 1px 0px rgb(0 51 102 / 50%), 0px 1px 3px 0px rgb(0 51 102 / 40%) !important;
205
+
206
+ &:focus {
207
+ @include focus-dark-mixin;
208
+ }
209
+
210
+ &:hover {
211
+ background-color: white !important;
212
+ box-shadow: 0px 2px 1px -1px rgb(46 133 51 / 60%), 0px 1px 1px 0px rgb(46 133 51 / 50%), 0px 1px 3px 0px rgb(46 133 51 / 40%) !important;
213
+
214
+ h2 {
215
+ color: #56BD66;
216
+ }
217
+ }
218
+ }
219
+ }
@@ -0,0 +1,64 @@
1
+ // Allgemein
2
+ $dark-primary-text: #003366;
3
+ $dark-secondary-text: #003366;
4
+ $dark-disabled-text: #636D76;
5
+ $dark-dividers: rgba(black, 0.20);
6
+ $dark-focused: rgba(black, 0.12);
7
+
8
+ $light-primary-text: white;
9
+ $light-secondary-text: rgba(white, 0.7);
10
+ $light-disabled-text: rgba(white, 0.5);
11
+ $light-dividers: #E3EBF5;
12
+ $light-focused: rgba(white, 0.12);
13
+
14
+ // App
15
+ $app-header-bg: #ffffff;
16
+ $app-content-bg: #ffffff;
17
+ $app-footer-bg: #E3EBF5;
18
+ $app-data-bg: #ffffff;
19
+
20
+ // Form
21
+ $form-border-color: rgba(0, 0, 0, 0.42);
22
+
23
+ // Fokus
24
+ $outline-color-bright: #ffffff;
25
+ $outline-color-dark: #000000;
26
+
27
+ // Hover
28
+ $lux-hover-color: #CCEBD1;
29
+ $lux-hover-color-for-dark-background: #e3ebf5;
30
+
31
+ // Selektion
32
+ $lux-selected-border-color: #2E8533;
33
+ $lux-selected-bg-color: #E3EBF5;
34
+
35
+ // Hintergrundfarben (z.B. Badge oder Progress)
36
+ $componentBgColors: (
37
+ "red": #b01211,
38
+ "green": #3e8320,
39
+ "purple": #9900B8,
40
+ "blue": #00569a,
41
+ "gray": #636D76,
42
+ "orange": #c75000,
43
+ "brown": #783f04,
44
+ "black": black,
45
+ "white": #ffffff
46
+ );
47
+
48
+ // Vordergrundfarben (z.B. Badge)
49
+ $componentFontColors: (
50
+ black: #000000,
51
+ white: #ffffff
52
+ );
53
+
54
+ // Farben für einen dunklen Hintergrund (z.B. Snackbar).
55
+ $colorsForDarkBg: (
56
+ "red": #f17474,
57
+ "green": #53b12b,
58
+ "purple": #e561ff,
59
+ "blue": #729eca,
60
+ "gray": #c8c8c8,
61
+ "orange": #ec9c1b,
62
+ "brown": #eb7c05,
63
+ "white": #ffffff
64
+ );
@@ -0,0 +1,106 @@
1
+ /*
2
+ Dieses Partial-SCSS dient der Verwaltung der Farb-Paletten für die LUX-Components.
3
+ */
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 : #002e5e,
13
+ 700 : #002753,
14
+ 800 : #002049,
15
+ 900 : #001438,
16
+ A100 : #6e93ff,
17
+ A200 : #3b6cff,
18
+ A400 : #0846ff,
19
+ A700 : #003bee,
20
+ contrast: (
21
+ 50 : #000000,
22
+ 100 : #000000,
23
+ 200 : #000000,
24
+ 300 : #ffffff,
25
+ 400 : #ffffff,
26
+ 500 : #ffffff,
27
+ 600 : #ffffff,
28
+ 700 : #ffffff,
29
+ 800 : #ffffff,
30
+ 900 : #ffffff,
31
+ A100 : #000000,
32
+ A200 : #ffffff,
33
+ A400 : #ffffff,
34
+ A700 : #ffffff,
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 : #dcffe0,
50
+ A200 : #a9ffb2,
51
+ A400 : #76ff84,
52
+ A700 : #5dff6d,
53
+ contrast: (
54
+ 50 : #000000,
55
+ 100 : #000000,
56
+ 200 : #000000,
57
+ 300 : #000000,
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 : #fceaeb,
73
+ 100 : #f9cbce,
74
+ 200 : #f5a8ad,
75
+ 300 : #f0858c,
76
+ 400 : #ed6b73,
77
+ 500 : #ea515a,
78
+ 600 : #e74a52,
79
+ 700 : #e44048,
80
+ 800 : #e1373f,
81
+ 900 : #db272e,
82
+ A100 : #ffffff,
83
+ A200 : #ffe5e5,
84
+ A400 : #ffb2b4,
85
+ A700 : #ff989b,
86
+ contrast: (
87
+ 50 : #000000,
88
+ 100 : #000000,
89
+ 200 : #000000,
90
+ 300 : #000000,
91
+ 400 : #000000,
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 : #000000,
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,13 @@
1
+ @import "luxpalette";
2
+ @import "../public/global";
3
+ $outline-width: 1px;
4
+ @import "luxcommon";
5
+ @import "../base/luxcomponents";
6
+ $lux-hover-color: #e3ebf5;
7
+ @import "../base/luxfocus";
8
+ @import "../base/luxstyles";
9
+ @import "../base/luxicons";
10
+ @import "../../node_modules/@angular/material/theming";
11
+ @import "../base/luxtheme";
12
+ @import "custom";
13
+
@@ -0,0 +1,66 @@
1
+ /*
2
+ * Theming for LUX-Tile
3
+ */
4
+ lux-tile {
5
+ .lux-notification-new {
6
+ background-color: map-get($lux-palette_accent, 500);
7
+ }
8
+
9
+ .lux-highlight {
10
+ color: map-get($lux-palette_primary, 800);
11
+ }
12
+ }
13
+
14
+ /*
15
+ * Theming for LUX-App-Header
16
+ */
17
+ lux-app-header {
18
+ .lux-header-title {
19
+ color: white;
20
+ }
21
+
22
+ .lux-side-nav-header, .lux-side-nav-footer {
23
+ color: map-get($lux-palette_primary, 800);
24
+ }
25
+ }
26
+
27
+
28
+ lux-app-header {
29
+ .lux-app-header {
30
+
31
+ .lux-show-border {
32
+ border-left: 1px solid $light-dividers;
33
+ }
34
+
35
+ .lux-header-title {
36
+ color: white;
37
+ }
38
+
39
+ div.lux-header-action {
40
+ lux-button {
41
+ button {
42
+
43
+ &:not(.mat-accent):not(.mat-warn):not(.mat-primary):not(.mat-button-disabled) {
44
+ color: white;
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+ button:not(.mat-primary):not(.mat-warn):not(.mat-accent):not(.lux-button-rounded) {
51
+ color: white;
52
+ }
53
+
54
+ .lux-header-user {
55
+ .lux-header-user-short {
56
+ > span {
57
+ background-color:white;
58
+ }
59
+ }
60
+ }
61
+ }
62
+
63
+ .lux-side-nav-header, .lux-side-nav-footer {
64
+ color: map-get($lux-palette_primary, 800);
65
+ }
66
+ }
@@ -0,0 +1,64 @@
1
+ // Allgemein
2
+ $dark-primary-text: rgba(black, 0.87);
3
+ $dark-secondary-text: rgba(black, 0.65);
4
+ $dark-disabled-text: rgba(black, 0.40);
5
+ $dark-dividers: rgba(black, 0.20);
6
+ $dark-focused: rgba(black, 0.12);
7
+
8
+ $light-primary-text: white;
9
+ $light-secondary-text: rgba(white, 0.7);
10
+ $light-disabled-text: rgba(white, 0.5);
11
+ $light-dividers: rgba(white, 0.20);
12
+ $light-focused: rgba(white, 0.12);
13
+
14
+ // App
15
+ $app-header-bg: #9b6100;
16
+ $app-content-bg: #f0f0f2;
17
+ $app-footer-bg: #b98b4a;
18
+ $app-data-bg: #ffffff;
19
+
20
+ // Form
21
+ $form-border-color: rgba(0, 0, 0, 0.42);
22
+
23
+ // Fokus
24
+ $outline-color-bright: #ffffff;
25
+ $outline-color-dark: #000000;
26
+
27
+ // Hover
28
+ $lux-hover-color: #f1e4bc;
29
+ $lux-hover-color-for-dark-background: #9b6100;
30
+
31
+ // Selektion
32
+ $lux-selected-border-color: #b3790b;
33
+ $lux-selected-bg-color: #f1e4bc;
34
+
35
+ // Hintergrundfarben (z.B. Badge oder Progress)
36
+ $componentBgColors: (
37
+ "red": #b01211,
38
+ "green": #3e8320,
39
+ "purple": #9900B8,
40
+ "blue": #00569a,
41
+ "gray": $dark-secondary-text,
42
+ "orange": #c75000,
43
+ "brown": #783f04,
44
+ "black": $dark-primary-text,
45
+ "white": #ffffff
46
+ );
47
+
48
+ // Vordergrundfarben (z.B. Badge)
49
+ $componentFontColors: (
50
+ black: #000000,
51
+ white: #ffffff
52
+ );
53
+
54
+ // Farben für einen dunklen Hintergrund (z.B. Snackbar).
55
+ $colorsForDarkBg: (
56
+ "red": #f17474,
57
+ "green": #53b12b,
58
+ "purple": #e561ff,
59
+ "blue": #729eca,
60
+ "gray": #c8c8c8,
61
+ "orange": #ec9c1b,
62
+ "brown": #eb7c05,
63
+ "white": #ffffff
64
+ );
@@ -0,0 +1,106 @@
1
+ /*
2
+ Dieses Partial-SCSS dient der Verwaltung der Farb-Paletten für die LUX-Components.
3
+ */
4
+
5
+ $lux-palette_primary: (
6
+ 50 : #f9f4e4,
7
+ 100 : #f1e4bc,
8
+ 200 : #e8d290,
9
+ 300 : #dec063,
10
+ 400 : #d7b341,
11
+ 500 : #d0a520,
12
+ 600 : #cb9d1c,
13
+ 700 : #c49318,
14
+ 800 : #be8a13,
15
+ 900 : #b3790b,
16
+ A100 : #fff3e0,
17
+ A200 : #ffe0ad,
18
+ A400 : #ffcc7a,
19
+ A700 : #ffc260,
20
+ contrast: (
21
+ 50 : #000000,
22
+ 100 : #000000,
23
+ 200 : #000000,
24
+ 300 : #000000,
25
+ 400 : #000000,
26
+ 500 : #000000,
27
+ 600 : #000000,
28
+ 700 : #000000,
29
+ 800 : #000000,
30
+ 900 : #ffffff,
31
+ A100 : #000000,
32
+ A200 : #000000,
33
+ A400 : #000000,
34
+ A700 : #000000,
35
+ )
36
+ );
37
+
38
+ $lux-palette_accent: (
39
+ 50 : #e8f0f8,
40
+ 100 : #c5daee,
41
+ 200 : #9ec2e3,
42
+ 300 : #77aad7,
43
+ 400 : #5a97cf,
44
+ 500 : #3d85c6,
45
+ 600 : #377dc0,
46
+ 700 : #2f72b9,
47
+ 800 : #2768b1,
48
+ 900 : #1a55a4,
49
+ A100 : #dae9ff,
50
+ A200 : #a7caff,
51
+ A400 : #74abff,
52
+ A700 : #5b9cff,
53
+ contrast: (
54
+ 50 : #000000,
55
+ 100 : #000000,
56
+ 200 : #000000,
57
+ 300 : #000000,
58
+ 400 : #000000,
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 : #F6E3E2,
73
+ 100 : #e7b8b8,
74
+ 200 : #d88988,
75
+ 300 : #c85958,
76
+ 400 : #bc3635,
77
+ 500 : #b01211,
78
+ 600 : #a9100f,
79
+ 700 : #a00d0c,
80
+ 800 : #970a0a,
81
+ 900 : #870505,
82
+ A100 : #eccaca,
83
+ A200 : #ff8181,
84
+ A400 : #ff4e4e,
85
+ A700 : #ff3535,
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,11 @@
1
+ @import "luxpalette";
2
+ @import "../public/global";
3
+ @import "luxcommon";
4
+ @import "../base/luxcomponents";
5
+ @import "../base/luxfocus";
6
+ @import "../base/luxstyles";
7
+ @import "../base/luxicons";
8
+ @import "../../node_modules/@angular/material/theming";
9
+ @import "../base/luxtheme";
10
+ @import "custom";
11
+
@@ -0,0 +1,13 @@
1
+ // Media Queries
2
+ $mat-xsmall: 'max-width: 599px';
3
+ $mat-small: 'max-width: 959px';
4
+ $mat-medium: 'max-width: 1279px';
5
+ $mat-large: 'max-width: 1919px';
6
+ $mat-xlarge: 'max-width: 5000px';
7
+
8
+ // Font
9
+ $app-font-family: Roboto, Helvetica Neue, sans-serif;
10
+
11
+ // Fokus
12
+ $outline-width: 2px;
13
+ $outline-style: dotted;