using libsass in pythonยค
libsass is sass from compiled c and shipped in python. we can use sass with pip and without a node runtime.
%%
def sassy(str) -> HTML:
`sassy` is a function in the main scope that translates sass into an `IPython` display object.
import sass
return HTML(F"<style>{sass.compile(string=str)}</style>")
shell.tangle.parser.fence_methods['sass'] = "__main__:sassy"
%%
now we can freely write sass and change the style with a denser syntax than css.s
```sass
$color: gray;
.jp-Cell, .cell {
background: $color !important;
}
```