sass-site/source/_includes/code_snippets/example-module-migrator.liquid

26 lines
383 B
Plaintext
Raw Normal View History

2023-05-24 02:17:27 +02:00
```shellsession
$ cat style.scss
$body-bg: #000;
$body-color: #111;
@import "bootstrap";
@include media-breakpoint-up(sm) {
.navbar {
display: block;
}
}
$ sass-migrator --migrate-deps module style.scss
$ cat style.scss
@use "bootstrap" with (
$body-bg: #000,
$body-color: #111
);
@include bootstrap.media-breakpoint-up(sm) {
.navbar {
display: block;
}
}
```