`variable` doesn't seem to work with `localFont`
Unanswered
Barbary Lion posted this in #help-forum
Barbary LionOP
I import font locally like below. But I don't have css variable --font-satoshi available for me anywhere. Is it a bug?
const satoshi = localFont({
variable: '--font-satoshi',
src: [
{
path: './fonts/Satoshi-Variable.woff2',
weight: '300 900',
style: 'normal',
},
]})