claritas-web-framework 8.5.4 → 8.5.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claritas-web-framework",
3
- "version": "8.5.4",
3
+ "version": "8.5.5",
4
4
  "description": "The CSS framework built for Claritas front end.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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;
@@ -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 hsl(from var(--#{$main}) h s l / 0%);
27
- --button-hover-box-shadow: 0 0 0 0.125em hsl(from var(--#{$main}) h s l / 0%);
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 hsl(from var(--#{$main}) h s l / 0%);
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: hsl(from var(--#{$main}) h s l / 0%);
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: hsl(from var(--#{$main}) h s l / 0%);
55
- --button-box-shadow: 0 0 0 0.125em hsl(from var(--#{$main}) h s l / 0%);
56
- --button-hover-box-shadow: 0 0 0 0.125em hsl(from var(--#{$main}) h s l / 0%);
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 hsl(from var(--#{$main}) h s l / 0%);
59
+ --button-disabled-box-shadow: 0 0 0 0.125em transparent;
60
60
  }
61
61
 
62
62
  @mixin button-variant-link($color) {