Skip to content

Commit

Permalink
fix(scss): Dart Sass 3.0.0 compatibility
Browse files Browse the repository at this point in the history
fixes #7772
fixes #7771
  • Loading branch information
nolimits4web committed Nov 1, 2024
1 parent f53e103 commit fbd2ba4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/core.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@at-root {
:root {
--swiper-theme-color: #{$themeColor};
--swiper-theme-color: #{vars.$themeColor};
/*
--swiper-preloader-color: var(--swiper-theme-color);
--swiper-wrapper-transition-timing-function: initial;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/navigation/navigation.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../swiper-vars.scss';
@use '../../swiper-vars.scss' as vars;
@at-root {
:root {
--swiper-navigation-size: 44px;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/pagination/pagination.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../swiper-vars.scss';
@use '../../swiper-vars.scss' as vars;
@at-root {
:root {
/*
Expand Down
2 changes: 1 addition & 1 deletion src/swiper.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'swiper-vars.scss';
@use 'swiper-vars.scss' as vars;
@at-root {
@font-face {
font-family: 'swiper-icons';
Expand Down

0 comments on commit fbd2ba4

Please sign in to comment.