blue-react 9.0.0 → 9.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/dist/neu.scss CHANGED
@@ -54,17 +54,31 @@ $neu-steps: (
54
54
  @mixin neu-define-utility-classes() {
55
55
  @each $unit, $value in $neu-steps {
56
56
  .neu-shadow-#{$unit} {
57
- box-shadow: var(--neu-shadow-#{$unit}) !important;
57
+ box-shadow: #{neu-shadow($value, $inset: false, $switch: false)} !important;
58
+
59
+ @each $unit, $value in $neu-steps {
60
+ &.neu-shadow-inset-#{$unit} {
61
+ box-shadow: #{neu-shadow($value, $inset: false, $switch: false)},
62
+ #{neu-shadow($value, $inset: true, $switch: false)} !important;
63
+ }
64
+
65
+ &.neu-shadow-inset-switch-#{$unit} {
66
+ box-shadow: #{neu-shadow($value, $inset: false, $switch: false)},
67
+ #{neu-shadow($value, $inset: true, $switch: true)} !important;
68
+ }
69
+ }
58
70
  }
59
71
  .neu-shadow-inset-#{$unit} {
60
- box-shadow: var(--neu-shadow-inset-#{$unit}) !important;
72
+ box-shadow: #{neu-shadow($value, $inset: true, $switch: false)} !important;
61
73
  }
62
74
 
63
- .neu-shadow-switch-#{$unit} {
64
- box-shadow: var(--neu-shadow-switch-#{$unit}) !important;
65
- }
75
+ // Uncommented to reduce CSS size.
76
+ // I don't see that `.neu-shadow-switch-#{$unit}` should be used in practice.
77
+ // .neu-shadow-switch-#{$unit} {
78
+ // box-shadow: #{neu-shadow($value, $inset: false, $switch: true)} !important;
79
+ // }
66
80
  .neu-shadow-inset-switch-#{$unit} {
67
- box-shadow: var(--neu-shadow-inset-switch-#{$unit}) !important;
81
+ box-shadow: #{neu-shadow($value, $inset: true, $switch: true)} !important;
68
82
  }
69
83
  }
70
84
  }