@igo2/sdg-core 1.0.0-next.100 → 1.0.0-next.102

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/sdg-core",
3
- "version": "1.0.0-next.100",
3
+ "version": "1.0.0-next.102",
4
4
  "license": "LiLiQ-R",
5
5
  "repository": {
6
6
  "type": "git",
@@ -134,6 +134,6 @@
134
134
  @mixin header-font($header) {
135
135
  font-size: var(--sdg-font-size-#{$header});
136
136
  line-height: var(--sdg-line-height-#{$header});
137
- margin-top: var(--sdg-title-margin-#{$header}-mt) !important;
138
- margin-bottom: var(--sdg-title-margin-#{$header}-mb) !important;
137
+ margin-top: var(--sdg-title-margin-#{$header}-mt);
138
+ margin-bottom: var(--sdg-title-margin-#{$header}-mb);
139
139
  }
@@ -10,10 +10,7 @@
10
10
  @use './token-utils';
11
11
 
12
12
  @mixin theme($withDarkMode: false) {
13
- @include _system-colors();
14
- @include _system-typographies();
15
- @include _system-layout();
16
- @include _system-level-elevation();
13
+ @include system-tokens();
17
14
 
18
15
  @if ($withDarkMode) {
19
16
  body.dark-mode {
@@ -29,6 +26,13 @@
29
26
  @include overrides.material-overrides();
30
27
  }
31
28
 
29
+ @mixin system-tokens() {
30
+ @include _system-colors();
31
+ @include _system-typographies();
32
+ @include _system-layout();
33
+ @include _system-level-elevation();
34
+ }
35
+
32
36
  @mixin _system-level-elevation() {
33
37
  $elevations: sys-elevation.sys-elevation-values();
34
38
  @include token-utils.values($elevations);