fix: sass add missing list import
This commit is contained in:
parent
3f62c013ba
commit
04bc1ab118
|
|
@ -24,6 +24,8 @@ withDefaults(defineProps<{
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
@use 'sass:list';
|
||||||
|
|
||||||
.progress-bar {
|
.progress-bar {
|
||||||
--progress-height: #{$size-normal};
|
--progress-height: #{$size-normal};
|
||||||
--progress-bar-background-color: var(--border-light, #{$border-light});
|
--progress-bar-background-color: var(--border-light, #{$border-light});
|
||||||
|
|
@ -73,7 +75,7 @@ withDefaults(defineProps<{
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
@each $name, $pair in $colors {
|
@each $name, $pair in $colors {
|
||||||
$color: nth($pair, 1);
|
$color: list.nth($pair, 1);
|
||||||
&.is-#{$name} {
|
&.is-#{$name} {
|
||||||
--progress-value-background-color: var(--#{$name}, #{$color});
|
--progress-value-background-color: var(--#{$name}, #{$color});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
@use 'sass:list';
|
||||||
|
|
||||||
.field.has-addons .button {
|
.field.has-addons .button {
|
||||||
height: 2.5rem;
|
height: 2.5rem;
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
|
|
@ -20,8 +22,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@each $name, $pair in $colors {
|
@each $name, $pair in $colors {
|
||||||
$color: nth($pair, 1);
|
$color: list.nth($pair, 1);
|
||||||
$color-invert: nth($pair, 2);
|
$color-invert: list.nth($pair, 2);
|
||||||
|
|
||||||
&.is-#{$name} {
|
&.is-#{$name} {
|
||||||
&.is-active,
|
&.is-active,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue