dso-toolkit 89.0.0 → 90.1.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.
@@ -89,7 +89,7 @@
89
89
  inline-size: css-search-bar-variables.$block-size;
90
90
 
91
91
  &::before {
92
- @include di.base("times");
92
+ @include di.base("cross");
93
93
 
94
94
  content: "";
95
95
  display: inline-block;
package/src/dso.scss CHANGED
@@ -51,7 +51,6 @@
51
51
  @use "components/input/input";
52
52
  @use "components/insert/insert";
53
53
  @use "components/justify-form-groups/justify-form-groups";
54
- @use "components/label/label";
55
54
  @use "components/label-group/label-group";
56
55
  @use "components/link/link";
57
56
  @use "components/link-list/link-list";
@@ -2,20 +2,28 @@
2
2
 
3
3
  // DSO kleuren http://webaim.org/resources/contrastchecker/ (contrast op een witte achtergrond)
4
4
 
5
+ $grasgroen-130: #285f08;
6
+ $grasgroen-120: #2e6c0a;
5
7
  $grasgroen: #39870c; // 100% tint - Normal text: WCAG AA: OK; WCAG AAA: Fail - Large text: WCAG AA: OK; WCAG AAA: OK;
6
8
  $grasgroen-80: #609f3c; // 80% tint - Normal text: WCAG AA: Fail; WCAG AAA: Fail - Large text: WCAG AA: OK; WCAG AAA: Fail;
9
+ $grasgroen-60: #88b76d;
7
10
  $grasgroen-40: #afcf9d; // 40% tint - niet te gebruiken als leestekst
8
11
  $grasgroen-20: #d7e7ce; // 20% tint - niet te gebruiken als leestekst
9
12
  $grasgroen-10: #ebf3e6; // 10% tint - niet te gebruiken als leestekst
10
13
 
11
14
  $bosgroen: #275937; // 100% tint - Normal text: WCAG AA: OK; WCAG AAA: Fail - Large text: WCAG AA: OK; WCAG AAA: OK;
12
15
  $bosgroen-140: #173521; // 140% tint
16
+ $bosgroen-130: #1b3e27;
17
+ $bosgroen-120: #1f472c;
13
18
  $bosgroen-80: #527a5e; // 80% tint - Normal text: WCAG AA: OK; WCAG AAA: Fail - Large text: WCAG AA: OK; WCAG AAA: OK;
14
19
  $bosgroen-60: #7d9886; // 60% tint - Normal text: WCAG AA: OK; WCAG AAA: Fail - Large text: WCAG AA: OK; WCAG AAA: Fail;
15
20
  $bosgroen-40: #a8bcaf; // 40% tint - niet te gebruiken als leestekst
16
21
  $bosgroen-10: #e9eeeb; // 10% tint - niet te gebruiken als leestekst
17
22
 
23
+ $mauve-130: #61344a;
24
+ $mauve-120: #6f3b55;
18
25
  $mauve: #8b4a6a; // 100% tint
26
+ $mauve-60: #b992a6;
19
27
  $mauve-40: #d1b7c4; // 40% tint
20
28
 
21
29
  $zwart: #000; // 100% tint - Normal text: WCAG AA: OK; WCAG AAA: OK - Large text: WCAG AA: OK; WCAG AAA: OK;
@@ -36,18 +44,31 @@ $lime-10: #f2f8ea; // 10% tint
36
44
  $lime-20: #e4f1d4; // 20% tint
37
45
  $lime-20-5: #d8e5c9; // 20% tint 5% zwart
38
46
  $lime-20-10: #ced9bf; // 20% tint 10% zwart
39
- $rood: #ce3f51; // 100% tint
47
+
48
+ $rood-130: #902c39;
49
+ $rood-120: #a53241;
40
50
  $rood-110: #b62f41; // 110% tint
51
+ $rood: #ce3f51; // 100% tint
41
52
  $rood-10: #faecee; // 10% tint
42
53
  $rood-20: #f5d8dc; // 20% tint
43
54
  $rood-20-5: #e9cdd1; // 20% tint 5% zwart
44
55
  $rood-20-10: #ddc3c6; // 20% tint 10% zwart
56
+ $rood-60: #e28c97;
57
+
58
+ $geel-120: #b0aa00;
59
+ $geel-110: #c6bf00;
45
60
  $geel: #dcd400; // 100% tint
61
+ $geel-60: #eae566;
46
62
  $geel-20: #f8f6cc; // 20% tint
63
+
47
64
  $lichtblauw: #6ca4d9; // 100% tint
48
65
  $lichtblauw-20: #e1ecf7; // 20% tint
49
66
 
67
+ $donkerblauw-130: #1e3d5a;
68
+ $donkerblauw-120: #224666;
50
69
  $donkerblauw: #2b5780;
70
+ $donkerblauw-60: #809ab3;
71
+
51
72
  $mintgroen: #3fb498;
52
73
  $bruin: #644f49;
53
74
  $oranje: #e17000;
@@ -1,2 +0,0 @@
1
- @forward "label.mixins";
2
- @forward "label.variables";
@@ -1,73 +0,0 @@
1
- @use "../../variables/units";
2
- @use "../../variables/colors";
3
- @use "../../variables/typography";
4
- @use "label.variables" as label-variables;
5
- @use "../../global/mixins/set-colors.mixin" as set-colors;
6
- @use "../delete";
7
- @use "../insert";
8
-
9
- @mixin root() {
10
- border-radius: 4px;
11
- display: inline-block;
12
- line-height: 1.5;
13
- max-inline-size: 100%;
14
- padding-block: #{units.$u1 * 0.5};
15
- padding-inline: units.$u1;
16
-
17
- &:focus-within,
18
- &.dso-hover {
19
- text-decoration: line-through;
20
- }
21
-
22
- @include set-colors.apply(label-variables.$default-bg-color, "label");
23
-
24
- &.dso-label-info {
25
- @include set-colors.apply(label-variables.$info-bg-color, "label");
26
- }
27
-
28
- &.dso-label-primary {
29
- @include set-colors.apply(label-variables.$primary-bg-color, "label");
30
- }
31
-
32
- &.dso-label-success {
33
- @include set-colors.apply(label-variables.$success-bg-color, "label");
34
- }
35
-
36
- &.dso-label-warning {
37
- @include set-colors.apply(label-variables.$warning-bg-color, "label");
38
- }
39
-
40
- &.dso-label-error {
41
- @include set-colors.apply(label-variables.$error-bg-color, "label");
42
- }
43
-
44
- &.dso-label-bright {
45
- @include set-colors.apply(label-variables.$bright-bg-color, "label");
46
-
47
- outline: 1px solid label-variables.$bright-border-color;
48
- outline-offset: -1px;
49
- }
50
-
51
- &.dso-label-attention {
52
- @include set-colors.apply(label-variables.$attention-bg-color, "label");
53
- }
54
-
55
- &.dso-label-filter {
56
- @include set-colors.apply(label-variables.$filter-bg-color, "label");
57
-
58
- border-inline-start: 5px solid label-variables.$filter-border-color;
59
- }
60
-
61
- &.dso-label-toegevoegd {
62
- @include insert.root();
63
- }
64
-
65
- &.dso-label-verwijderd {
66
- @include delete.root();
67
- }
68
-
69
- &.dso-compact {
70
- padding-block: 0;
71
- padding-inline: units.$u1;
72
- }
73
- }
@@ -1,61 +0,0 @@
1
- @use "../label";
2
- @use "label.variables" as label-variables;
3
- @use "../../global/mixins/symbol.mixins" as symbol-mixins;
4
- @use "../../variables/units";
5
- @use "../../variables/typography";
6
-
7
- // HTML/CSS
8
- .dso-label {
9
- @include label.root();
10
-
11
- .dso-label-symbol {
12
- @include symbol-mixins.symbolContainer(
13
- label-variables.$symbol-block-size,
14
- label-variables.$symbol-block-size * label-variables.$symbol-aspect-ratio,
15
- 2px
16
- );
17
-
18
- > span {
19
- @include symbol-mixins.symbol();
20
- }
21
- }
22
-
23
- button {
24
- line-height: 0;
25
- background: none;
26
- border: 0;
27
- border-radius: 0 #{units.$u1 * 0.5} #{units.$u1 * 0.5} 0;
28
- color: inherit;
29
- float: inline-end;
30
-
31
- font-size: typography.$root-font-size-base;
32
- margin-block-end: units.$u1 * -0.5;
33
- margin-inline-start: units.$u1;
34
- margin-inline-end: units.$u1 * -0.5;
35
- margin-block-start: 0;
36
- padding: 0;
37
-
38
- &:hover {
39
- cursor: pointer;
40
- }
41
-
42
- > dso-icon {
43
- display: block;
44
- }
45
- }
46
- }
47
-
48
- // Web Component
49
- dso-label {
50
- span[slot="symbol"] {
51
- @include symbol-mixins.symbolContainer(
52
- label-variables.$symbol-block-size,
53
- label-variables.$symbol-block-size * label-variables.$symbol-aspect-ratio,
54
- 2px
55
- );
56
-
57
- > span {
58
- @include symbol-mixins.symbol();
59
- }
60
- }
61
- }
@@ -1,34 +0,0 @@
1
- @use "sass:math";
2
-
3
- @use "../../variables/colors";
4
-
5
- $default-bg-color: colors.$grijs-5;
6
- $default-color: colors.$grijs-90;
7
-
8
- $info-bg-color: colors.$info-color;
9
- $info-color: colors.$zwart;
10
-
11
- $primary-bg-color: colors.$bosgroen;
12
- $primary-color: colors.$wit;
13
-
14
- $success-bg-color: colors.$success-color;
15
- $success-color: colors.$wit;
16
-
17
- $warning-bg-color: colors.$warning-color;
18
- $warning-color: colors.$zwart;
19
-
20
- $error-bg-color: colors.$error-color;
21
- $error-color: colors.$wit;
22
-
23
- $bright-bg-color: colors.$wit;
24
- $bright-color: colors.$grijs-90;
25
- $bright-border-color: colors.$grijs-20;
26
-
27
- $attention-bg-color: colors.$mauve;
28
- $attention-color: colors.$wit;
29
-
30
- $filter-bg-color: colors.$lichtblauw-20;
31
- $filter-border-color: colors.$lichtblauw;
32
-
33
- $symbol-block-size: 20px;
34
- $symbol-aspect-ratio: math.div(30, 25);