2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Docs: add Sass deprecations notices (#41283)

Co-authored-by: Mark Otto <markdotto@gmail.com>
Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
Maxime Lardenois
2025-04-07 20:23:25 +02:00
committed by GitHub
parent 33bb9911e7
commit 6f10a1edbb
5 changed files with 42 additions and 2 deletions
+3
View File
@@ -8,6 +8,9 @@ toc: true
Utilize our source Sass files to take advantage of variables, maps, mixins, and more.
{{< callout warning >}}
Sass deprecation warnings are shown when compiling source Sass files with the latest versions of Dart Sass. This does not prevent compilation or usage of Bootstrap. We're [working on a long-term fix]({{< param repo >}}/issues/40962), but in the meantime these deprecation notices can be ignored.
{{< /callout >}}
## File structure
Whenever possible, avoid modifying Bootstrap's core files. For Sass, that means creating your own stylesheet that imports Bootstrap so you can modify and extend it. Assuming you're using a package manager like npm, you'll have a file structure that looks like this: