Note
Added by v2024.12.2
This compiles SASS/SCSS resources into css when run sphinx-build. This it to embed Stlite content into your documents.
Add this into your conf.py
of Sphinx.
extensions = [
"atsphinx.toybox.sass",
]
There are not configuration options.
[]
List of paths for external modules. This is useful to compile SASS/SCSS with third-party libraries.
[]
Extra options for compile.
See also: https://sass-lang.com/documentation/cli/dart-sass/
This content is used generated CSS from SASS.
.. container:: sass-demo-bulma-content
This paragraph is colored by "purplel".
@use "bulma/sass/utilities/extends";
.sass-demo-bulma-content {
@extend %control;
background-color: purple;
color: white;
}
Result:
This paragraph is colored by “purplel”.