fix: sass add missing list import

This commit is contained in:
Dominik Pschenitschni 2024-11-02 18:53:28 +01:00
parent 3f62c013ba
commit 04bc1ab118
2 changed files with 7 additions and 3 deletions

View File

@ -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});

View File

@ -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,