@softheon/armature 19.15.0 → 19.17.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 +15 -23
- package/assets/styles/_responsive.scss +92 -0
- package/assets/styles/_typography.scss +15 -6
- package/assets/styles/_utility.scss +48 -815
- package/assets/styles/_variables.scss +1 -0
- package/assets/styles/material-override/_button-toggle-group.scss +4 -1
- package/assets/styles/mixins/_button-theme-emphasis-mixin.scss +4 -4
- package/fesm2022/softheon-armature.mjs +95 -53
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/lib/error/components/error-common/error-common.component.d.ts +59 -10
- package/lib/error/error-api.d.ts +0 -3
- package/package.json +1 -1
- package/lib/error/error.module.d.ts +0 -11
- package/lib/error/models/error-common-config.d.ts +0 -21
package/README.md
CHANGED
|
@@ -302,30 +302,28 @@ Its recommended to set the theme in an app initializer, though it can be done fr
|
|
|
302
302
|
"sevenHundred": "#261E6F",
|
|
303
303
|
"eightHundred": "#1F1865",
|
|
304
304
|
"nineHundred": "#130F52",
|
|
305
|
-
"
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
"
|
|
310
|
-
"
|
|
305
|
+
"a50": "rgba(50, 40, 130, 0.04)",
|
|
306
|
+
"a100": "rgba(50, 40, 130, 0.08)",
|
|
307
|
+
"a200": "rgba(50, 40, 130, 0.16)",
|
|
308
|
+
"a300": "rgba(50, 40, 130, 0.24)",
|
|
309
|
+
"a400": "rgba(50, 40, 130, 0.32)",
|
|
310
|
+
"a500": "rgba(50, 40, 130, 0.40)",
|
|
311
|
+
"a600": "rgba(50, 40, 130, 0.48)",
|
|
312
|
+
"a700": "rgba(50, 40, 130, 0.56)",
|
|
313
|
+
"a800": "rgba(50, 40, 130, 0.64)",
|
|
314
|
+
"a900": "rgba(50, 40, 130, 0.72)"
|
|
311
315
|
},
|
|
312
316
|
"primaryContrast": {
|
|
313
|
-
"fifty": "
|
|
314
|
-
"oneHundred": "
|
|
315
|
-
"twoHundred": "
|
|
316
|
-
"threeHundred": "
|
|
317
|
+
"fifty": "rgba(0, 0, 0, 0.87)",
|
|
318
|
+
"oneHundred": "rgba(0, 0, 0, 0.87)",
|
|
319
|
+
"twoHundred": "rgba(0, 0, 0, 0.87)",
|
|
320
|
+
"threeHundred": "rgba(0, 0, 0, 0.87)",
|
|
317
321
|
"fourHundred": "#ffffff",
|
|
318
322
|
"fiveHundred": "#ffffff",
|
|
319
323
|
"sixHundred": "#ffffff",
|
|
320
324
|
"sevenHundred": "#ffffff",
|
|
321
325
|
"eightHundred": "#ffffff",
|
|
322
|
-
"nineHundred": "#ffffff"
|
|
323
|
-
"a100": "#000000",
|
|
324
|
-
"a200": "#000000",
|
|
325
|
-
"a300": "#000000",
|
|
326
|
-
"a400": "#000000",
|
|
327
|
-
"a500": "#000000",
|
|
328
|
-
"a700": "#000000"
|
|
326
|
+
"nineHundred": "#ffffff"
|
|
329
327
|
}
|
|
330
328
|
}
|
|
331
329
|
```
|
|
@@ -346,12 +344,6 @@ export class MyClass {
|
|
|
346
344
|
}
|
|
347
345
|
```
|
|
348
346
|
|
|
349
|
-
### Colors with opacity
|
|
350
|
-
|
|
351
|
-
The theme palettes all offer a rgb value through css variables, the following naming convention is used `--{{palette}}-color-{{partsNumber}}-parts-rgb`. So in order to get an opacity of .2 on the primary color, 500 parts the following css can be used
|
|
352
|
-
|
|
353
|
-
`rgba(var(--primary-color-500-parts-rgb), .2)`
|
|
354
|
-
|
|
355
347
|
## Armature Navigation
|
|
356
348
|
|
|
357
349
|
`<sof-ar-navigation></sof-ar-navigation>` is a mobile-responsive navigation component. It structures the application view content to the right and the navigation to the left.
|
|
@@ -83,3 +83,95 @@
|
|
|
83
83
|
0px 1px 3px 0px rgba(0, 0, 0, 0.12);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
+
|
|
87
|
+
/** Spacing Utility, Mobile responsive */
|
|
88
|
+
|
|
89
|
+
.sm-m-b-16 {
|
|
90
|
+
@media only screen and (max-width: vars.$mat-lt-md) {
|
|
91
|
+
margin-bottom: 16px !important;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sm-m-b-24 {
|
|
96
|
+
@media only screen and (max-width: vars.$mat-lt-md) {
|
|
97
|
+
margin-bottom: 24px !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.sm-m-v-24 {
|
|
102
|
+
@media only screen and (max-width: vars.$mat-lt-md) {
|
|
103
|
+
margin-top: 24px !important;
|
|
104
|
+
margin-bottom: 24px !important;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.sm-m-b-32 {
|
|
109
|
+
@media only screen and (max-width: vars.$mat-lt-md) {
|
|
110
|
+
margin-bottom: 32px !important;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.sm-m-b-64 {
|
|
115
|
+
@media only screen and (max-width: vars.$mat-lt-md) {
|
|
116
|
+
margin-bottom: 64px !important;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.sm-screen-m-a-0 {
|
|
121
|
+
@media screen and (max-width: vars.$mat-lt-md) {
|
|
122
|
+
margin: 0 !important;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.sm-screen-m-l-0 {
|
|
127
|
+
@media screen and (max-width: vars.$mat-lt-md) {
|
|
128
|
+
margin-left: 0 !important;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.sm-screen-m-h-0 {
|
|
133
|
+
@media screen and (max-width: vars.$mat-lt-md) {
|
|
134
|
+
margin-left: 0 !important;
|
|
135
|
+
margin-right: 0 !important;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.sm-screen-p-a-0 {
|
|
140
|
+
@media screen and (max-width: vars.$mat-lt-md) {
|
|
141
|
+
padding: 0 !important;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.sm-screen-p-h-0 {
|
|
146
|
+
@media screen and (max-width: vars.$mat-lt-md) {
|
|
147
|
+
padding-left: 0 !important;
|
|
148
|
+
padding-right: 0 !important;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.md-screen-p-a-0 {
|
|
153
|
+
@media screen and (max-width: vars.$mat-lt-lg) {
|
|
154
|
+
padding: 0 !important;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.md-m-v-24 {
|
|
159
|
+
@media only screen and (max-width: vars.$mat-lt-lg) {
|
|
160
|
+
margin-top: 24px !important;
|
|
161
|
+
margin-bottom: 24px !important;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.mobile-no-h-margin {
|
|
166
|
+
@media only screen and (max-width: vars.$mat-lt-sm) {
|
|
167
|
+
margin-left: 0 !important;
|
|
168
|
+
margin-right: 0 !important;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.mobile-no-h-padding {
|
|
173
|
+
@media only screen and (max-width: vars.$mat-lt-sm) {
|
|
174
|
+
padding-left: 0 !important;
|
|
175
|
+
padding-right: 0 !important;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -42,29 +42,38 @@
|
|
|
42
42
|
/*
|
|
43
43
|
Text Body/Emphasis
|
|
44
44
|
*/
|
|
45
|
-
.body1, .body2, .body3
|
|
45
|
+
.body1, .body2, .body3,
|
|
46
|
+
.link1, .link2, .link3 {
|
|
46
47
|
font-family: var(--sftn-font-family-body, sans-serif); // Consumer = 'Poppins'
|
|
47
48
|
font-style: normal;
|
|
48
|
-
font-weight:
|
|
49
|
+
font-weight: 400;
|
|
49
50
|
letter-spacing: 0px;
|
|
50
|
-
line-height:
|
|
51
|
+
line-height: normal;
|
|
51
52
|
}
|
|
52
53
|
|
|
53
54
|
/* Body/Emphasis 1 */
|
|
54
|
-
.body1 {
|
|
55
|
+
.body1, .link1 {
|
|
55
56
|
font-size: var(--sftn-base-font-size-body-1); // Consumer = 16px
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
/* Body/Emphasis 2 */
|
|
59
|
-
.body2 {
|
|
60
|
+
.body2, .link2 {
|
|
60
61
|
font-size: var(--sftn-base-font-size-body-2); // Consumer = 14px
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
/* Body/Emphasis 3 */
|
|
64
|
-
.body3 {
|
|
65
|
+
.body3, .link3 {
|
|
65
66
|
font-size: 12px;
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
/* Utility/Hyperlink 1 */
|
|
70
|
+
.link1, .link2, .link3 {
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
font-weight: 500 !important;
|
|
73
|
+
text-decoration: underline;
|
|
74
|
+
color: map.get(theme.$arm-primary, 500);
|
|
75
|
+
}
|
|
76
|
+
|
|
68
77
|
/*
|
|
69
78
|
Text Body/Emphasis for mat-form-field's
|
|
70
79
|
*/
|