7.7
SASS: Bindings to libsass
1 Introduction
sass exposes bindings to libsass via the FFI.
2 Reference
(require sass) | package: sass |
procedure
(compile/file path) → string?
path : path-string?
procedure
(compile/bytes data) → string?
data : bytes?
procedure
(compile/string data) → string?
data : string?
Compile a SCSS file, bytes or a string into a string of CSS. Raises
exn:fail:sass? on error.
Files referenced in @import statements are searched using the value of current-include-paths.
procedure
(exn:fail:sass? v) → boolean?
v : any/c
procedure
e : exn:fail:sass?
parameter
(current-include-paths) → (listof path-string?)
(current-include-paths paths) → void? paths : (listof path-string?)
= null
A parameter that controls where SCSS imports should be looked up.