Skip to content

Commit e4ae725

Browse files
committed
style: move away from deprecated lighten()
1 parent 9ea15ad commit e4ae725

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/scss/themes/basic.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
@import '../modules/colors';
33
@import '../shared/fieldSelect';
44

5+
@use 'sass:color';
6+
57
$input-padding: .3rem .4rem;
68

79
.vue-form-generator {
@@ -94,7 +96,7 @@ $input-padding: .3rem .4rem;
9496
border: 1px solid $primary-default-border;
9597
border-radius: 3px;
9698
&:hover {
97-
background: lighten($primary-default, 2%);
99+
background: color.adjust($primary-default, $lightness: 3%);
98100
}
99101
}
100102

0 commit comments

Comments
 (0)