@qsxy/element-plus-react 1.0.0-next.18 → 1.0.0-next.21

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.
Files changed (144) hide show
  1. package/README.md +12 -39
  2. package/dist/Breadcrumb/BreadcrumbItem.js +4 -7
  3. package/dist/Switch/Switch.js +50 -17
  4. package/dist/Switch/typings.d.ts +4 -0
  5. package/dist/Tooltip/Tooltip.js +2 -1
  6. package/dist/index.css +1 -1
  7. package/dist/index.d.ts +5 -5
  8. package/dist/index.js +2 -2
  9. package/package.json +1 -2
  10. package/theme-chalk/{avatar/index.scss → avatar.scss} +1 -1
  11. package/theme-chalk/{badge/index.scss → badge.scss} +1 -1
  12. package/theme-chalk/{breadcrumb/index.scss → breadcrumb.scss} +1 -1
  13. package/theme-chalk/build.scss +1 -1
  14. package/theme-chalk/button/_mixins.scss +3 -3
  15. package/theme-chalk/button/button-group.scss +1 -1
  16. package/theme-chalk/button/button.scss +2 -2
  17. package/theme-chalk/button/index.scss +2 -2
  18. package/theme-chalk/button--bak/_mixins.scss +317 -0
  19. package/theme-chalk/button--bak/button-group.scss +83 -0
  20. package/theme-chalk/button--bak/button.scss +382 -0
  21. package/theme-chalk/button--bak/index.scss +2 -0
  22. package/theme-chalk/button-group.scss +80 -0
  23. package/theme-chalk/button.scss +304 -0
  24. package/theme-chalk/calendar/date-picker.scss +1 -1
  25. package/theme-chalk/calendar/date-range-picker.scss +1 -1
  26. package/theme-chalk/calendar/date-table.scss +164 -156
  27. package/theme-chalk/calendar/date-table.scss--bak +156 -0
  28. package/theme-chalk/calendar/index.scss +6 -6
  29. package/theme-chalk/calendar/month-table.scss +1 -1
  30. package/theme-chalk/calendar/picker-panel.scss +1 -1
  31. package/theme-chalk/calendar/year-table.scss +1 -1
  32. package/theme-chalk/{card/index.scss → card.scss} +1 -1
  33. package/theme-chalk/{carousel/index.scss → carousel.scss} +1 -1
  34. package/theme-chalk/{cascader/cascader-panel.scss → cascader-panel.scss} +1 -1
  35. package/theme-chalk/{cascader/cascader.scss → cascader.scss} +1 -1
  36. package/theme-chalk/{checkbox-button/index.scss → checkbox-button.scss} +1 -1
  37. package/theme-chalk/{checkbox-group/index.scss → checkbox-group.scss} +1 -1
  38. package/theme-chalk/{checkbox/index.scss → checkbox.scss} +2 -1
  39. package/theme-chalk/col/_mixins.scss +5 -3
  40. package/theme-chalk/col/index.scss +2 -2
  41. package/theme-chalk/{collapse/index.scss → collapse.scss} +1 -1
  42. package/theme-chalk/color/index.scss +20 -0
  43. package/theme-chalk/{color-picker/index.scss → color-picker.scss} +3 -3
  44. package/theme-chalk/common/index.scss +127 -178
  45. package/theme-chalk/common/var.scss +1632 -0
  46. package/theme-chalk/dark/css-vars.scss +39 -0
  47. package/theme-chalk/dark/var.scss +225 -0
  48. package/theme-chalk/{date-picker/index.scss → date-picker.scss} +1 -1
  49. package/theme-chalk/{date-time-picker/time-picker.scss → date-time-picker.scss} +1 -1
  50. package/theme-chalk/{descriptions/descriptions-item.scss → descriptions-item.scss} +1 -1
  51. package/theme-chalk/{descriptions/descriptions.scss → descriptions.scss} +1 -1
  52. package/theme-chalk/dev.scss +2 -2
  53. package/theme-chalk/{dialog/index.scss → dialog.scss} +1 -1
  54. package/theme-chalk/display.scss +1 -1
  55. package/theme-chalk/{divider/index.scss → divider.scss} +1 -1
  56. package/theme-chalk/doc.scss +2 -2
  57. package/theme-chalk/{drawer/index.scss → drawer.scss} +1 -1
  58. package/theme-chalk/{dropdown/index.scss → dropdown.scss} +1 -1
  59. package/theme-chalk/{empty/index.scss → empty.scss} +1 -1
  60. package/theme-chalk/{form/index.scss → form.scss} +1 -1
  61. package/theme-chalk/icon/fonts.scss +9 -9
  62. package/theme-chalk/icon/index.scss +1 -1
  63. package/theme-chalk/icon/scss/_animated.scss +1 -0
  64. package/theme-chalk/icon/scss/_bordered-pulled.scss +1 -0
  65. package/theme-chalk/icon/scss/_core.scss +2 -0
  66. package/theme-chalk/icon/scss/_duotone-icons.scss +3 -4
  67. package/theme-chalk/icon/scss/_fixed-width.scss +1 -0
  68. package/theme-chalk/icon/scss/_functions.scss +2 -1
  69. package/theme-chalk/icon/scss/_icons.scss +3 -4
  70. package/theme-chalk/icon/scss/_list.scss +1 -0
  71. package/theme-chalk/icon/scss/_mixins.scss +10 -7
  72. package/theme-chalk/icon/scss/_rotated-flipped.scss +1 -0
  73. package/theme-chalk/icon/scss/_screen-reader.scss +2 -0
  74. package/theme-chalk/icon/scss/_shims.scss +292 -290
  75. package/theme-chalk/icon/scss/_sizing.scss +2 -0
  76. package/theme-chalk/icon/scss/_stacked.scss +1 -0
  77. package/theme-chalk/icon/scss/brands.scss +8 -6
  78. package/theme-chalk/icon/scss/duotone.scss +6 -5
  79. package/theme-chalk/icon/scss/fontawesome.scss +13 -13
  80. package/theme-chalk/icon/scss/index.scss +12 -15
  81. package/theme-chalk/icon/scss/light.scss +3 -2
  82. package/theme-chalk/icon/scss/regular.scss +3 -2
  83. package/theme-chalk/icon/scss/solid.scss +3 -2
  84. package/theme-chalk/icon/scss/thin.scss +3 -2
  85. package/theme-chalk/icon/scss/{_variables.scss → variables.scss} +2 -0
  86. package/theme-chalk/index.scss +63 -57
  87. package/theme-chalk/input/_mixins.scss +1 -1
  88. package/theme-chalk/input/index.scss +2 -3
  89. package/theme-chalk/input/input-range.scss +2 -1
  90. package/theme-chalk/input/input.scss +2 -1
  91. package/theme-chalk/{input-number/index.scss → input-number.scss} +4 -4
  92. package/theme-chalk/{link/index.scss → link.scss} +1 -1
  93. package/theme-chalk/{loading/index.scss → loading.scss} +1 -1
  94. package/theme-chalk/{message-box/index.scss → message-box.scss} +1 -1
  95. package/theme-chalk/{message/index.scss → message.scss} +2 -1
  96. package/theme-chalk/mixins/_button.scss +224 -0
  97. package/theme-chalk/mixins/_col.scss +33 -0
  98. package/theme-chalk/mixins/_var.scss +67 -0
  99. package/theme-chalk/{common/_var.scss → mixins/config.scss} +5 -6
  100. package/theme-chalk/mixins/function.scss +99 -0
  101. package/theme-chalk/mixins/mixins.scss +240 -0
  102. package/theme-chalk/mixins/utils.scss +39 -0
  103. package/theme-chalk/{notification/index.scss → notification.scss} +2 -1
  104. package/theme-chalk/pagination.scss +303 -0
  105. package/theme-chalk/{popconfirm/index.scss → popconfirm.scss} +1 -1
  106. package/theme-chalk/{popover/index.scss → popover.scss} +1 -1
  107. package/theme-chalk/popper.scss +104 -0
  108. package/theme-chalk/{popper/index.scss → popper.scss--bak} +1 -1
  109. package/theme-chalk/{progress/index.scss → progress.scss} +1 -1
  110. package/theme-chalk/radio-button.scss +169 -0
  111. package/theme-chalk/{radio/radio-button.scss → radio-button.scss--bak} +1 -1
  112. package/theme-chalk/{radio-group/index.scss → radio-group.scss} +1 -10
  113. package/theme-chalk/{radio/radio.scss → radio.scss} +1 -1
  114. package/theme-chalk/{row/index.scss → row.scss} +1 -1
  115. package/theme-chalk/{scrollbar/index.scss → scrollbar.scss} +1 -1
  116. package/theme-chalk/select/index.scss +1 -1
  117. package/theme-chalk/{skeleton/index.scss → skeleton.scss} +1 -1
  118. package/theme-chalk/switch.scss +300 -0
  119. package/theme-chalk/{switch/index.scss → switch.scss--bak} +1 -1
  120. package/theme-chalk/{table/index.scss → table.scss} +1 -1
  121. package/theme-chalk/{tabs/index.scss → tabs.scss} +1 -1
  122. package/theme-chalk/{tag/index.scss → tag.scss} +1 -1
  123. package/theme-chalk/{time-line/_timeline.scss → time-line.scss} +1 -1
  124. package/theme-chalk/{time-picker/index.scss → time-picker.scss} +1 -1
  125. package/theme-chalk/{date-time-picker/time-range-picker.scss → time-range-picker.scss} +1 -1
  126. package/theme-chalk/{time-line/_timeline-item.scss → timeline-item.scss} +1 -1
  127. package/theme-chalk/{tooltip/index.scss → tooltip.scss} +1 -1
  128. package/theme-chalk/{transfer/index.scss → transfer.scss} +1 -1
  129. package/theme-chalk/{transition/index.scss → transition.scss} +1 -1
  130. package/theme-chalk/tree/_directory.scss +1 -1
  131. package/theme-chalk/tree/_tree.scss +1 -1
  132. package/theme-chalk/tree/index.scss +2 -2
  133. package/theme-chalk/{tree-select/index.scss → tree-select.scss} +1 -1
  134. package/theme-chalk/{upload/index.scss → upload.scss} +1 -1
  135. package/theme-chalk/var.scss +83 -0
  136. package/theme-chalk/cascader/index.scss +0 -2
  137. package/theme-chalk/common/index.ts +0 -1
  138. package/theme-chalk/date-time-picker/index.scss +0 -3
  139. package/theme-chalk/descriptions/index.scss +0 -2
  140. package/theme-chalk/icon/scss/v4-shims.scss +0 -3
  141. package/theme-chalk/pagination/index.scss +0 -303
  142. package/theme-chalk/placeholder/index.scss +0 -120
  143. package/theme-chalk/radio/index.scss +0 -2
  144. package/theme-chalk/time-line/index.scss +0 -2
@@ -0,0 +1,67 @@
1
+ @use 'sass:map';
2
+ @use 'sass:color';
3
+
4
+ @use 'config';
5
+ @use 'function' as *;
6
+ @use '../common/var' as *;
7
+
8
+ // set css var value, because we need translate value to string
9
+ // for example:
10
+ // @include set-css-var-value(('color', 'primary'), red);
11
+ // --el-color-primary: red;
12
+ @mixin set-css-var-value($name, $value) {
13
+ #{joinVarName($name)}: #{$value};
14
+ }
15
+
16
+ // @include set-css-var-type('color', 'primary', $map);
17
+ // --el-color-primary: #{map.get($map, 'primary')};
18
+ @mixin set-css-var-type($name, $type, $variables) {
19
+ #{getCssVarName($name, $type)}: #{map.get($variables, $type)};
20
+ }
21
+
22
+ @mixin set-css-color-type($colors, $type) {
23
+ @include set-css-var-value(('color', $type), map.get($colors, $type, 'base'));
24
+
25
+ @each $i in (3, 5, 7, 8, 9) {
26
+ @include set-css-var-value(
27
+ ('color', $type, 'light', $i),
28
+ map.get($colors, $type, 'light-#{$i}')
29
+ );
30
+ }
31
+
32
+ @include set-css-var-value(
33
+ ('color', $type, 'dark-2'),
34
+ map.get($colors, $type, 'dark-2')
35
+ );
36
+ }
37
+
38
+ // set all css var for component by map
39
+ @mixin set-component-css-var($name, $variables) {
40
+ @each $attribute, $value in $variables {
41
+ @if $attribute == 'default' {
42
+ #{getCssVarName($name)}: #{$value};
43
+ } @else {
44
+ #{getCssVarName($name, $attribute)}: #{$value};
45
+ }
46
+ }
47
+ }
48
+
49
+ @mixin set-css-color-rgb($type) {
50
+ $color: map.get($colors, $type, 'base');
51
+ @include set-css-var-value(
52
+ ('color', $type, 'rgb'),
53
+ #{color.channel($color, 'red'),
54
+ color.channel($color, 'green'),
55
+ color.channel($color, 'blue')}
56
+ );
57
+ }
58
+
59
+ // generate css var from existing css var
60
+ // for example:
61
+ // @include css-var-from-global(('button', 'text-color'), ('color', $type))
62
+ // --el-button-text-color: var(--el-color-#{$type});
63
+ @mixin css-var-from-global($var, $gVar) {
64
+ $varName: joinVarName($var);
65
+ $gVarName: joinVarName($gVar);
66
+ #{$varName}: var(#{$gVarName});
67
+ }
@@ -1,6 +1,5 @@
1
- $namespace: 'el' !default;
2
- $common-separator: '-' !default;
3
- $element-separator: '__' !default;
4
- $modifier-separator: '--' !default;
5
- $state-prefix: 'is-' !default;
6
- $fa-font-family: 'el-icon' !default;
1
+ $namespace: 'el' !default;
2
+ $common-separator: '-' !default;
3
+ $element-separator: '__' !default;
4
+ $modifier-separator: '--' !default;
5
+ $state-prefix: 'is-' !default;
@@ -0,0 +1,99 @@
1
+ @use 'config';
2
+ @use 'sass:meta';
3
+ @use 'sass:string';
4
+ @use 'sass:math';
5
+ @use 'sass:color';
6
+
7
+ // BEM support Func
8
+ @function selectorToString($selector) {
9
+ $selector: meta.inspect($selector);
10
+ $selector: string.slice($selector, 2, -2);
11
+ @return $selector;
12
+ }
13
+
14
+ @function containsModifier($selector) {
15
+ $selector: selectorToString($selector);
16
+
17
+ @if string.index($selector, config.$modifier-separator) {
18
+ @return true;
19
+ } @else {
20
+ @return false;
21
+ }
22
+ }
23
+
24
+ @function containWhenFlag($selector) {
25
+ $selector: selectorToString($selector);
26
+
27
+ @if string.index($selector, '.' + config.$state-prefix) {
28
+ @return true;
29
+ } @else {
30
+ @return false;
31
+ }
32
+ }
33
+
34
+ @function containPseudoClass($selector) {
35
+ $selector: selectorToString($selector);
36
+
37
+ @if string.index($selector, ':') {
38
+ @return true;
39
+ } @else {
40
+ @return false;
41
+ }
42
+ }
43
+
44
+ @function hitAllSpecialNestRule($selector) {
45
+ @return containsModifier($selector) or containWhenFlag($selector) or
46
+ containPseudoClass($selector);
47
+ }
48
+
49
+ // join var name
50
+ // joinVarName(('button', 'text-color')) => '--el-button-text-color'
51
+ @function joinVarName($list) {
52
+ $name: '--' + config.$namespace;
53
+ @each $item in $list {
54
+ @if $item != '' {
55
+ $name: $name + '-' + $item;
56
+ }
57
+ }
58
+ @return $name;
59
+ }
60
+
61
+ // getCssVarName('button', 'text-color') => '--el-button-text-color'
62
+ @function getCssVarName($args...) {
63
+ @return joinVarName($args);
64
+ }
65
+
66
+ // getCssVar('button', 'text-color') => var(--el-button-text-color)
67
+ @function getCssVar($args...) {
68
+ @return var(#{joinVarName($args)});
69
+ }
70
+
71
+ // getCssVarWithDefault(('button', 'text-color'), red) => var(--el-button-text-color, red)
72
+ @function getCssVarWithDefault($args, $default) {
73
+ @return var(#{joinVarName($args)}, #{$default});
74
+ }
75
+
76
+ // bem('block', 'element', 'modifier') => 'el-block__element--modifier'
77
+ @function bem($block, $element: '', $modifier: '') {
78
+ $name: config.$namespace + config.$common-separator + $block;
79
+
80
+ @if $element != '' {
81
+ $name: $name + config.$element-separator + $element;
82
+ }
83
+
84
+ @if $modifier != '' {
85
+ $name: $name + config.$modifier-separator + $modifier;
86
+ }
87
+
88
+ // @debug $name;
89
+ @return $name;
90
+ }
91
+
92
+ @function roundColor($color) {
93
+ $r: math.round(color.channel($color, 'red'));
94
+ $g: math.round(color.channel($color, 'green'));
95
+ $b: math.round(color.channel($color, 'blue'));
96
+ $a: color.channel($color, 'alpha');
97
+
98
+ @return rgba($r, $g, $b, $a);
99
+ }
@@ -0,0 +1,240 @@
1
+ @use 'function' as *;
2
+ @use '../common/var' as *;
3
+ // forward mixins
4
+ @forward 'config';
5
+ @forward 'function';
6
+ @forward '_var';
7
+ @use 'config' as *;
8
+ @use 'sass:string';
9
+ @use 'sass:map';
10
+
11
+ $B: null;
12
+ $E: null;
13
+
14
+ // Break-points
15
+ @mixin res($key, $map: $breakpoints) {
16
+ // loop breakpoint Map, return if present
17
+ @if map.has-key($map, $key) {
18
+ @media only screen and #{string.unquote(map.get($map, $key))} {
19
+ @content;
20
+ }
21
+ } @else {
22
+ @warn "Undefined points: `#{$map}`";
23
+ }
24
+ }
25
+
26
+ // Scrollbar
27
+ @mixin scroll-bar {
28
+ $scrollbar-thumb-background: getCssVar('text-color', 'disabled');
29
+ $scrollbar-track-background: getCssVar('fill-color', 'blank');
30
+
31
+ &::-webkit-scrollbar {
32
+ z-index: 11;
33
+ width: 6px;
34
+
35
+ &:horizontal {
36
+ height: 6px;
37
+ }
38
+
39
+ &-thumb {
40
+ border-radius: 5px;
41
+ width: 6px;
42
+ background: $scrollbar-thumb-background;
43
+ }
44
+
45
+ &-corner {
46
+ background: $scrollbar-track-background;
47
+ }
48
+
49
+ &-track {
50
+ background: $scrollbar-track-background;
51
+
52
+ &-piece {
53
+ background: $scrollbar-track-background;
54
+ width: 6px;
55
+ }
56
+ }
57
+ }
58
+ }
59
+
60
+ // BEM
61
+ @mixin b($block) {
62
+ $B: $namespace + $common-separator + $block !global;
63
+
64
+ .#{$B} {
65
+ @content;
66
+ }
67
+ }
68
+
69
+ @mixin e($element) {
70
+ $E: $element !global;
71
+ $selector: &;
72
+ $currentSelector: '';
73
+ @each $unit in $element {
74
+ $currentSelector: #{$currentSelector +
75
+ '.' +
76
+ $B +
77
+ $element-separator +
78
+ $unit +
79
+ ','};
80
+ }
81
+
82
+ @if hitAllSpecialNestRule($selector) {
83
+ @at-root {
84
+ #{$selector} {
85
+ #{$currentSelector} {
86
+ @content;
87
+ }
88
+ }
89
+ }
90
+ } @else {
91
+ @at-root {
92
+ #{$currentSelector} {
93
+ @content;
94
+ }
95
+ }
96
+ }
97
+ }
98
+
99
+ @mixin m($modifier) {
100
+ $selector: &;
101
+ $currentSelector: '';
102
+ @each $unit in $modifier {
103
+ $currentSelector: #{$currentSelector +
104
+ $selector +
105
+ $modifier-separator +
106
+ $unit +
107
+ ','};
108
+ }
109
+
110
+ @at-root {
111
+ #{$currentSelector} {
112
+ @content;
113
+ }
114
+ }
115
+ }
116
+
117
+ @mixin configurable-m($modifier, $E-flag: false) {
118
+ $selector: &;
119
+ $interpolation: '';
120
+
121
+ @if $E-flag {
122
+ $interpolation: $element-separator + $E-flag;
123
+ }
124
+
125
+ @at-root {
126
+ #{$selector} {
127
+ .#{$B + $interpolation + $modifier-separator + $modifier} {
128
+ @content;
129
+ }
130
+ }
131
+ }
132
+ }
133
+
134
+ @mixin spec-selector(
135
+ $specSelector: '',
136
+ $element: $E,
137
+ $modifier: false,
138
+ $block: $B
139
+ ) {
140
+ $modifierCombo: '';
141
+
142
+ @if $modifier {
143
+ $modifierCombo: $modifier-separator + $modifier;
144
+ }
145
+
146
+ @at-root {
147
+ #{&}#{$specSelector}.#{$block
148
+ + $element-separator
149
+ + $element
150
+ + $modifierCombo} {
151
+ @content;
152
+ }
153
+ }
154
+ }
155
+
156
+ @mixin meb($modifier: false, $element: $E, $block: $B) {
157
+ $selector: &;
158
+ $modifierCombo: '';
159
+
160
+ @if $modifier {
161
+ $modifierCombo: $modifier-separator + $modifier;
162
+ }
163
+
164
+ @at-root {
165
+ #{$selector} {
166
+ .#{$block + $element-separator + $element + $modifierCombo} {
167
+ @content;
168
+ }
169
+ }
170
+ }
171
+ }
172
+
173
+ @mixin when($state) {
174
+ @at-root {
175
+ &.#{$state-prefix + $state} {
176
+ @content;
177
+ }
178
+ }
179
+ }
180
+
181
+ @mixin extend-rule($name) {
182
+ @extend #{'%shared-' + $name} !optional;
183
+ }
184
+
185
+ @mixin share-rule($name) {
186
+ $rule-name: '%shared-' + $name;
187
+
188
+ @at-root #{$rule-name} {
189
+ @content;
190
+ }
191
+ }
192
+
193
+ @mixin pseudo($pseudo) {
194
+ @at-root #{&}#{':#{$pseudo}'} {
195
+ @content;
196
+ }
197
+ }
198
+
199
+ @mixin picker-popper($background, $border, $box-shadow) {
200
+ &.#{$namespace}-popper {
201
+ background: $background;
202
+ border: $border;
203
+ box-shadow: $box-shadow;
204
+
205
+ .#{$namespace}-popper__arrow {
206
+ &::before {
207
+ border: $border;
208
+ }
209
+ }
210
+
211
+ @each $placement,
212
+ $adjacency
213
+ in ('top': 'left', 'bottom': 'right', 'left': 'bottom', 'right': 'top')
214
+ {
215
+ &[data-popper-placement^='#{$placement}'] {
216
+ .#{$namespace}-popper__arrow::before {
217
+ border-#{$placement}-color: transparent;
218
+ border-#{$adjacency}-color: transparent;
219
+ }
220
+ }
221
+ }
222
+ }
223
+ }
224
+
225
+ // dark
226
+ @mixin dark($block) {
227
+ html.dark {
228
+ @include b($block) {
229
+ @content;
230
+ }
231
+ }
232
+ }
233
+
234
+ @mixin inset-input-border($color, $important: false) {
235
+ @if $important == true {
236
+ box-shadow: 0 0 0 1px $color inset !important;
237
+ } @else {
238
+ box-shadow: 0 0 0 1px $color inset;
239
+ }
240
+ }
@@ -0,0 +1,39 @@
1
+ @mixin utils-clearfix {
2
+ $selector: &;
3
+
4
+ @at-root {
5
+ #{$selector}::before,
6
+ #{$selector}::after {
7
+ display: table;
8
+ content: '';
9
+ }
10
+ #{$selector}::after {
11
+ clear: both;
12
+ }
13
+ }
14
+ }
15
+
16
+ @mixin utils-vertical-center {
17
+ $selector: &;
18
+
19
+ @at-root {
20
+ #{$selector}::after {
21
+ display: inline-block;
22
+ content: '';
23
+ height: 100%;
24
+ vertical-align: middle;
25
+ }
26
+ }
27
+ }
28
+
29
+ @mixin utils-ellipsis {
30
+ overflow: hidden;
31
+ text-overflow: ellipsis;
32
+ white-space: nowrap;
33
+ }
34
+
35
+ @mixin utils-inline-flex-center {
36
+ display: inline-flex;
37
+ justify-content: center;
38
+ align-items: center;
39
+ }
@@ -1,4 +1,5 @@
1
- @use '../common/var';
1
+ @use './mixins/config' as *;
2
+ @use './common/var' as *;
2
3
 
3
4
  .#{$namespace}-notification {
4
5
  --#{$namespace}-notification-shadow: var(--#{$namespace}-box-shadow-light);