sass
dev_tool.commands.sass
log = logging.getLogger(__name__)
module-attribute
SassCommandGroup
Bases: CommandGroup
A command group for Sass/SCSS operations.
This class provides commands for compiling SCSS stylesheets to CSS and watching source stylesheets during development.
The constructor for the SassCommandGroup class.
Parameters:
-
sass(SassService) –The Sass service for SCSS operations.
Source code in dev_tool/commands/sass.py
sass = sass
instance-attribute
__str__
compile_styles
A command that compiles SCSS stylesheets to CSS.
Source code in dev_tool/commands/sass.py
compile_styles_production
A command that compiles SCSS stylesheets to CSS for production.
Source code in dev_tool/commands/sass.py
watch_styles
A command that watches SCSS source files and recompiles on change.