dso-toolkit 52.0.0 → 52.0.1

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/dist/dso.css CHANGED
@@ -4672,14 +4672,6 @@ form > .row.dso-featured + .row div:not(.dso-rich-content) .h3:first-child {
4672
4672
  .row.dso-banner + .row.dso-featured {
4673
4673
  margin-top: 0;
4674
4674
  }
4675
- .row.dso-banner + .row div:not(.dso-rich-content) h1:first-child,
4676
- .row.dso-banner + .row div:not(.dso-rich-content) .h1:first-child,
4677
- .row.dso-banner + .row div:not(.dso-rich-content) h2:first-child,
4678
- .row.dso-banner + .row div:not(.dso-rich-content) .h2:first-child,
4679
- .row.dso-banner + .row div:not(.dso-rich-content) h3:first-child,
4680
- .row.dso-banner + .row div:not(.dso-rich-content) .h3:first-child {
4681
- margin-top: 0;
4682
- }
4683
4675
  .row.dso-featured {
4684
4676
  margin-left: calc(50% - 50vw);
4685
4677
  margin-right: calc(50% - 50vw);
@@ -5417,6 +5409,21 @@ dso-header nav dso-dropdown-menu[open] > button:not(.dso-primary):not(.dso-secon
5417
5409
  background-image: url("./dso-icons.svg#img-chevron-up-bosgroen");
5418
5410
  }
5419
5411
 
5412
+ h1,
5413
+ .h1,
5414
+ h2,
5415
+ .h2,
5416
+ h3,
5417
+ .h3,
5418
+ h4,
5419
+ .h4,
5420
+ h5,
5421
+ .h5,
5422
+ h6,
5423
+ .h6 {
5424
+ color: #275937;
5425
+ }
5426
+
5420
5427
  h1,
5421
5428
  .h1,
5422
5429
  h2,
@@ -5433,7 +5440,6 @@ h1,
5433
5440
  }
5434
5441
 
5435
5442
  h1 {
5436
- color: #275937;
5437
5443
  font-size: 2rem;
5438
5444
  font-weight: 700;
5439
5445
  }
@@ -5557,6 +5563,7 @@ h6,
5557
5563
  object-fit: cover;
5558
5564
  width: calc(100% + 32px);
5559
5565
  }
5566
+ .dso-highlight-box > .dso-step-counter:first-child + .dso-rich-content *:first-child,
5560
5567
  .dso-highlight-box > .dso-rich-content:first-child *:first-child {
5561
5568
  margin-top: 0 !important;
5562
5569
  }
@@ -5631,6 +5638,7 @@ dso-highlight-box > .dso-highlight-box-banner {
5631
5638
  object-fit: cover;
5632
5639
  width: calc(100% + 32px);
5633
5640
  }
5641
+ dso-highlight-box > .dso-step-counter:first-child + .dso-rich-content *:first-child,
5634
5642
  dso-highlight-box > .dso-rich-content:first-child *:first-child {
5635
5643
  margin-top: 0 !important;
5636
5644
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "dso-toolkit",
3
3
  "description": "DSO Toolkit",
4
4
  "license": "SEE LICENSE IN DISCLAIMER.txt",
5
- "version": "52.0.0",
5
+ "version": "52.0.1",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -101,19 +101,6 @@ form {
101
101
  margin-top: 0;
102
102
  }
103
103
  }
104
-
105
- & + .row div:not(.dso-rich-content) {
106
- h1,
107
- .h1,
108
- h2,
109
- .h2,
110
- h3,
111
- .h3 {
112
- &:first-child {
113
- margin-top: 0;
114
- }
115
- }
116
- }
117
104
  }
118
105
 
119
106
  &.dso-featured {
@@ -1,14 +1,46 @@
1
1
  @use "../../variables/units";
2
2
  @use "../../variables/colors";
3
+ @use "../../variables/typography";
3
4
 
4
- @mixin h1() {
5
+ @mixin base() {
5
6
  color: colors.$bosgroen;
7
+ }
8
+
9
+ @mixin margin-large() {
10
+ margin-bottom: units.$vertical-spacing-medium;
11
+ margin-top: typography.$line-height-computed;
12
+ }
13
+
14
+ @mixin margin-small() {
15
+ margin-bottom: units.$vertical-spacing-medium;
16
+ margin-top: (typography.$line-height-computed * 0.5);
17
+ }
18
+
19
+ @mixin h1() {
6
20
  font-size: units.$font-size-h1;
7
21
  font-weight: 700;
8
22
  }
9
23
 
24
+ @mixin h2() {
25
+ color: colors.$bosgroen;
26
+ font-size: units.$font-size-h2;
27
+ font-weight: 700;
28
+ }
29
+
10
30
  @mixin h3() {
11
31
  color: colors.$bosgroen;
12
32
  font-size: units.$font-size-h3;
13
33
  font-weight: 600;
14
34
  }
35
+
36
+ @mixin h4() {
37
+ color: colors.$bosgroen;
38
+ font-size: units.$font-size-h4;
39
+ font-weight: 600;
40
+ }
41
+
42
+ @mixin h5() {
43
+ color: colors.$grijs-90;
44
+ font-size: units.$font-size-h5;
45
+ font-weight: 600;
46
+ }
@@ -3,14 +3,28 @@
3
3
  @use "../../variables/typography";
4
4
  @use "../headings";
5
5
 
6
+ h1,
7
+ .h1,
8
+ h2,
9
+ .h2,
10
+ h3,
11
+ .h3,
12
+ h4,
13
+ .h4,
14
+ h5,
15
+ .h5,
16
+ h6,
17
+ .h6 {
18
+ @include headings.base();
19
+ }
20
+
6
21
  h1,
7
22
  .h1,
8
23
  h2,
9
24
  .h2,
10
25
  h3,
11
26
  .h3 {
12
- margin-bottom: units.$vertical-spacing-medium;
13
- margin-top: typography.$line-height-computed;
27
+ @include headings.margin-large();
14
28
  }
15
29
 
16
30
  h1,
@@ -28,9 +42,7 @@ h2,
28
42
  }
29
43
 
30
44
  h2 {
31
- color: colors.$bosgroen;
32
- font-size: units.$font-size-h2;
33
- font-weight: 700;
45
+ @include headings.h2();
34
46
  }
35
47
 
36
48
  h3,
@@ -48,8 +60,7 @@ h5,
48
60
  .h5,
49
61
  h6,
50
62
  .h6 {
51
- margin-bottom: units.$vertical-spacing-medium;
52
- margin-top: (typography.$line-height-computed * 0.5);
63
+ @include headings.margin-small();
53
64
  }
54
65
 
55
66
  h4,
@@ -58,9 +69,7 @@ h4,
58
69
  }
59
70
 
60
71
  h4 {
61
- color: colors.$bosgroen;
62
- font-size: units.$font-size-h4;
63
- font-weight: 600;
72
+ @include headings.h4();
64
73
  }
65
74
 
66
75
  h5,
@@ -69,9 +78,7 @@ h5,
69
78
  }
70
79
 
71
80
  h5 {
72
- color: colors.$grijs-90;
73
- font-size: units.$font-size-h5;
74
- font-weight: 600;
81
+ @include headings.h5();
75
82
  }
76
83
 
77
84
  h6,
@@ -48,6 +48,7 @@
48
48
  width: calc(100% + #{units.$u4});
49
49
  }
50
50
 
51
+ > .dso-step-counter:first-child + .dso-rich-content,
51
52
  > .dso-rich-content:first-child {
52
53
  *:first-child {
53
54
  margin-top: 0 !important;