dso-toolkit 65.0.2 → 65.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.
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": "65.0.2",
5
+ "version": "65.1.0",
6
6
  "scripts": {
7
7
  "watch": "gulp"
8
8
  },
@@ -1,10 +1,19 @@
1
1
  @use "../../variables/colors";
2
2
  @use "../../global/mixins/set-colors.mixin" as set-colors;
3
3
 
4
- @mixin root() {
4
+ /// The root mixin to apply the correct color and strikethrough for a delete visualisation.
5
+ /// @param {Boolean} $strikethrough - Whether to apply a strikethrough or not. Default is true. If false, only background color will be applied. Consumers are responsible for setting strikethrough styles. For example with the `delete.strikethrough()` mixin.
6
+ @mixin root($strikethrough: true) {
5
7
  @include set-colors.apply(colors.$rood-20);
6
8
 
7
- & {
8
- text-decoration: line-through;
9
+ @if ($strikethrough) {
10
+ & {
11
+ @include strikethrough();
12
+ }
9
13
  }
10
14
  }
15
+
16
+ /// The mixin to apply a strikethrough to a delete visualisation.
17
+ @mixin strikethrough($_value: line-through) {
18
+ text-decoration: $_value;
19
+ }
@@ -32,9 +32,11 @@ $grijs-5: #f2f2f2; // - niet te gebruiken als leestekst
32
32
  $wit: #fff;
33
33
 
34
34
  $lime: #79b929; // 100% tint
35
+ $lime-10: #f2f8ea; // 10% tint
35
36
  $lime-20: #e4f1d4; // 20% tint
36
37
  $rood: #ce3f51; // 100% tint
37
38
  $rood-110: #b62f41; // 110% tint
39
+ $rood-10: #faecee; // 10% tint
38
40
  $rood-20: #f5d8dc; // 20% tint
39
41
  $geel: #dcd400; // 100% tint
40
42
  $geel-20: #f8f6cc; // 20% tint