swc/crates/swc_css_parser/tests/fixture/at-rule/font-palette-values/output.json

120 lines
2.5 KiB
JSON
Raw Normal View History

{
"type": "Stylesheet",
"span": {
"start": 1,
"end": 101,
"ctxt": 0
},
"rules": [
{
"type": "AtRule",
"span": {
"start": 1,
"end": 100,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 2,
"end": 21,
"ctxt": 0
},
"value": "font-palette-values",
"raw": "font-palette-values"
},
"prelude": {
"type": "DashedIdent",
"span": {
"start": 22,
"end": 39,
"ctxt": 0
},
"value": "SelectedPalette",
"raw": "--SelectedPalette"
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 40,
"end": 100,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 40,
"end": 41,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 46,
"end": 76,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 46,
"end": 57,
"ctxt": 0
},
"value": "font-family",
"raw": "font-family"
},
"value": [
{
"type": "Ident",
"span": {
"start": 59,
"end": 76,
"ctxt": 0
},
"value": "MyVectorColorFont",
"raw": "MyVectorColorFont"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 82,
"end": 97,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 82,
"end": 94,
"ctxt": 0
},
"value": "base-palette",
"raw": "base-palette"
},
"value": [
{
"type": "Integer",
"span": {
"start": 96,
"end": 97,
"ctxt": 0
},
"value": 3,
"raw": "3"
}
],
"important": null
}
]
}
}
]
}