Commit 787bfb5
committed
feat(react-md): Simplify sass usage with:
With latest `sass-loader` and `sass`, code can be updated to:
```diff
-@import 'react-md/dist/mixins';
+@use 'react-md' as *;
@include react-md-utils;
```
Note: If you override variables, do:
```diff
-@import 'react-md/dist/mixins';
+@use 'react-md' as * with (
+ // all $rmd-* variable overrides
+);
@include react-md-utils;
```@use 'react-md';
1 parent 2d0a0e6 commit 787bfb5
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments