Closed
Description
I'm trying specify multiple font families, but I'm getting errors.
font: {
family: 'Raleway', Arial, sans-serif
weight: 500
}
results in
compiling... [Error: ParseError: C:\Users\Tyler\Dropbox\Tyler\personal\projects\roots\starboardservices_rewrite\assets\css\header.css.styl:37:31
33|
34| .links
35| background: #fff
36| font: {
37| family: 'Raleway', Arial, sans-serif
-------------------------------------^
38| weight: 500
39| }
40| text: {
expected ":", got ","
]
Potentially unhandled rejection [36] ParseError: C:\Users\Tyler\Dropbox\Tyler\personal\projects\roots\starboardservices_rewrite\assets\css\header.css.styl:37:31
33|
34| .links
35| background: #fff
36| font: {
37| family: 'Raleway', Arial, sans-serif
-------------------------------------^
38| weight: 500
39| }
40| text: {
expected ":", got ","
Any clue what I'm doing wrong?
Also, I'm using stylus with postcss processors like Lost and nested props.