claritas-web-framework 8.5.4 → 8.5.6
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/index.css +1 -1
- package/package.json +1 -1
- package/sass/_variables.scss +1 -0
- package/sass/mixins/_button.scss +8 -8
- package/sass/modules/_form.scss +1 -1
package/package.json
CHANGED
package/sass/_variables.scss
CHANGED
|
@@ -376,6 +376,7 @@ $button-color-flip-threshold: 60% !default;
|
|
|
376
376
|
$button-color-flip-l: 35% !default;
|
|
377
377
|
$button-disabled-border-alpha: 50% !default;
|
|
378
378
|
$button-hover-background-alpha: 10% !default;
|
|
379
|
+
$button-outline-background: #fff !default;
|
|
379
380
|
|
|
380
381
|
/* ---------------------------------- close --------------------------------- */
|
|
381
382
|
$close-indicator-color: $white !default;
|
package/sass/mixins/_button.scss
CHANGED
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
--button-focus-background: color-mix(in oklab, var(--#{$main}), #000 #{$border-shade-percentage});
|
|
24
24
|
--button-active-background: color-mix(in oklab, var(--#{$main}), #000 #{$border-shade-percentage});
|
|
25
25
|
--button-disabled-background: hsl(from var(--#{$main}) h s l / #{$button-disabled-border-alpha});
|
|
26
|
-
--button-box-shadow: 0 0 0 0.125em
|
|
27
|
-
--button-hover-box-shadow: 0 0 0 0.125em
|
|
26
|
+
--button-box-shadow: 0 0 0 0.125em transparent;
|
|
27
|
+
--button-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
28
28
|
--button-focus-box-shadow: 0 0 0 0.125em hsl(from var(--#{$main}) h s l / 20%);
|
|
29
29
|
--button-active-box-shadow: 0 0 0 0.125em hsl(from var(--#{$main}) h s l / 20%);
|
|
30
|
-
--button-disabled-box-shadow: 0 0 0 0.125em
|
|
30
|
+
--button-disabled-box-shadow: 0 0 0 0.125em transparent;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
@mixin button-variant-outline(
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
--button-focus-border-color: #{$border-color};
|
|
48
48
|
--button-active-border-color: #{$border-color};
|
|
49
49
|
--button-disabled-border-color: #{$border-color-disabled};
|
|
50
|
-
--button-background:
|
|
50
|
+
--button-background: #{$button-outline-background};
|
|
51
51
|
--button-hover-background: var(--#{$main});
|
|
52
52
|
--button-focus-background: var(--#{$main});
|
|
53
53
|
--button-active-background: color-mix(in oklab, var(--#{$main}), #000 #{$border-shade-percentage});
|
|
54
|
-
--button-disabled-background:
|
|
55
|
-
--button-box-shadow: 0 0 0 0.125em
|
|
56
|
-
--button-hover-box-shadow: 0 0 0 0.125em
|
|
54
|
+
--button-disabled-background: transparent;
|
|
55
|
+
--button-box-shadow: 0 0 0 0.125em transparent;
|
|
56
|
+
--button-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
57
57
|
--button-focus-box-shadow: 0 0 0 0.125em hsl(from var(--#{$main}) h s l / 20%);
|
|
58
58
|
--button-active-box-shadow: 0 0 0 0.125em hsl(from var(--#{$main}) h s l / 20%);
|
|
59
|
-
--button-disabled-box-shadow: 0 0 0 0.125em
|
|
59
|
+
--button-disabled-box-shadow: 0 0 0 0.125em transparent;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
@mixin button-variant-link($color) {
|
package/sass/modules/_form.scss
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
--input-active-background: var(--white);
|
|
37
37
|
--input-disabled-background: hsl(from var(--body-color) h s l / 5%);
|
|
38
38
|
--input-detail-background: var(--primary);
|
|
39
|
-
--input-disabled-detail-background: hsl(from var(--primary) / #{$color-disabled-alpha});
|
|
39
|
+
--input-disabled-detail-background: hsl(from var(--primary) h s l / #{$color-disabled-alpha});
|
|
40
40
|
--input-box-shadow: 0 0 0 0.125em transparent;
|
|
41
41
|
--input-hover-box-shadow: 0 0 0 0.125em transparent;
|
|
42
42
|
--input-focus-box-shadow: 0 0 0 0.125em hsl(from var(--body-color) h s l / 20%);
|