sass_compile#

ignis.utils.Utils.sass_compile(path: str | None = None, string: str | None = None) str#

Compile a SASS/SCSS file or string. Requires Dart Sass.

Parameters:
  • path (str | None, default: None) -- The path to the SASS/SCSS file.

  • string (str | None, default: None) -- A string with SASS/SCSS style.

Raises:
Return type:

str