@onemrvapublic/design-system-theme 18.2.4-develop.5 → 18.2.4-develop.7
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/components/_expansion.scss +2 -0
- package/index.scss +8 -4
- package/package.json +1 -1
- package/utilities/_fonts.scss +12 -2
package/index.scss
CHANGED
|
@@ -136,14 +136,18 @@
|
|
|
136
136
|
@include mat.core();
|
|
137
137
|
@include mat.core-theme(variables.$onemrva-theme);
|
|
138
138
|
@include mat.core-base(variables.$onemrva-theme);
|
|
139
|
-
|
|
139
|
+
// TODO: This should be the way to do it but it does not seem to work correctly when used via npm import
|
|
140
|
+
//@include mat.typography-hierarchy(
|
|
141
|
+
// variables.$onemrva-theme
|
|
142
|
+
//);
|
|
140
143
|
}
|
|
141
144
|
|
|
142
145
|
// Base for Web components
|
|
143
|
-
@mixin base() {
|
|
144
|
-
@include
|
|
145
|
-
@include fonts.theme(variables.$onemrva-theme);
|
|
146
|
+
@mixin base($production: true) {
|
|
147
|
+
@include reset();
|
|
148
|
+
@include fonts.theme(variables.$onemrva-theme, $production);
|
|
146
149
|
@include links.theme(variables.$onemrva-theme);
|
|
150
|
+
@include core();
|
|
147
151
|
}
|
|
148
152
|
|
|
149
153
|
// Load everything (size does not matter)
|
package/package.json
CHANGED
package/utilities/_fonts.scss
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
@use '../components/µ';
|
|
4
4
|
|
|
5
5
|
@mixin theme($onemrva-theme, $production: true) {
|
|
6
|
+
color: µ.grayscale($onemrva-theme, 900);
|
|
7
|
+
$typography: map.get($onemrva-theme, 'typography');
|
|
8
|
+
@include mat.m2-typography-level($typography, 'body-1');
|
|
9
|
+
|
|
6
10
|
@if ($production) {
|
|
7
11
|
@at-root {
|
|
8
12
|
@import url('https://cdn.services.rvaonem.fgov.be/font/poppins/import.css');
|
|
@@ -17,8 +21,14 @@
|
|
|
17
21
|
}
|
|
18
22
|
}
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
.mat-small {
|
|
25
|
+
@include mat.m2-typography-level($typography, 'body-2');
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.mat-body-strong,
|
|
29
|
+
.mat-semibold {
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
}
|
|
22
32
|
|
|
23
33
|
.heading {
|
|
24
34
|
@include mat.m2-typography-level($typography, 'headline-1');
|