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/CHANGELOG.md +5 -0
- package/dist/dso.css +2 -2
- package/dist/dso.css.map +1 -1
- package/dist/dso.min.css +1 -1
- package/dist/dso.min.css.map +1 -1
- package/package.json +1 -1
- package/src/components/delete/delete.mixins.scss +12 -3
- package/src/variables/colors.scss +2 -0
package/package.json
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
@use "../../variables/colors";
|
|
2
2
|
@use "../../global/mixins/set-colors.mixin" as set-colors;
|
|
3
3
|
|
|
4
|
-
|
|
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
|
-
|
|
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
|