Commit 0862c32 1 parent fbea704 commit 0862c32 Copy full SHA for 0862c32
File tree 4 files changed +8
-5
lines changed
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change
1
+ // stylelint-disable scss/load-partial-extension
1
2
@import ' @ditojs/ui/imports.scss' ;
2
3
@import ' _settings' ;
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ export function defineViteConfig({
56
56
postcss : getPostCssConfig ( ) ,
57
57
preprocessorOptions : {
58
58
scss : {
59
- // https://sass-lang.com/documentation/breaking-changes/legacy-js-api/
60
- // TODO: Remove once vite has been updated to new API:
61
- silenceDeprecations : [ 'legacy-js-api ' ]
59
+ // TODO: Convert all @import statements to @use:
60
+ // https://sass-lang.com/documentation/breaking-changes/import/
61
+ silenceDeprecations : [ 'import ' ]
62
62
}
63
63
}
64
64
}
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ export default {
374
374
375
375
<style lang="scss">
376
376
@import '../styles/_imports';
377
- @import '../styles/transitions/index.scss ';
377
+ @import '../styles/transitions';
378
378
379
379
.dito-trigger-container {
380
380
position: relative;
Original file line number Diff line number Diff line change
1
+ @use ' sass:map' ;
2
+
1
3
$angles : (
2
4
up : 135deg ,
3
5
down : -45deg ,
@@ -18,7 +20,7 @@ $angles: (
18
20
width : $size ;
19
21
height : $size ;
20
22
pointer-events : none ;
21
- transform : rotate (map_get ($angles , $direction ));
23
+ transform : rotate (map . get ($angles , $direction ));
22
24
margin : auto ;
23
25
top : 0 ;
24
26
bottom : 0 ;
You can’t perform that action at this time.
0 commit comments