Open
Description
I have this vars:
const vars = {
fontset: {
size: '14px',
body: '"Mali", cursive',
head: '"Itim", cursive'
}
}
module.exports = {
plugins: {
'postcss-advanced-variables': {
variables: vars
}
}
}
How do I use fontset
in css files? More exactly, does PAV supports this feature?
I think it's called map in SASS.
Activity
[-]How to handle variables has multi-levels?[/-][+]Handling multi-levels variables?[/+]cliffordp commentedon Mar 23, 2020
Yes, I want this as well.
gael-boyenval commentedon May 5, 2020
@dtvn : did you tried to add the rest as a string or a template ?
cliffordp commentedon May 5, 2020
FYI: I used Tailwind's theme to do this instead: https://tailwindcss.com/docs/theme/