I have file typography.scss and I've defined my fonts in :root css variable
:root {
--configurable-font-family:'Roboto, "Helvetica Neue", sans-serif'
}
I'm trying to use the "--configurable-font-family" variable inside SASS function
@function typography-config (
$body: typography-level(
var(--custom-body-font-size, 1em),
var(--custom-body-line-height, 1.2em),
var(--custom-body-font-weight, null),
var(--custom-body-font-family, var(--default-font-family, #{var(--configurable-font-family)}))),
$body-bold: typography-level(
var(--custom-body-bold-font-size, 1em),
var(--custom-body-bold-line-height, 1.2em),
var(--custom-body-bold-font-weight, 700),
var(--custom-body-bold-font-family, var(--default-font-family, #{var(--configurable-font-family)})))
) {$config:(body: $body,body-bold: $body-bold)}
Not sure if it's possible, I'm unable to fix it