grammar: add fill-pattern style attribute

Closes #9
This commit is contained in:
Dmitriy Pleshevskiy 2023-03-21 10:23:51 +03:00
parent 02af3938f1
commit 1f771e72af
Signed by: pleshevskiy
GPG Key ID: 79C4487B44403985
5 changed files with 9 additions and 0 deletions

View File

@ -241,6 +241,7 @@ module.exports = grammar({
choice( choice(
"opacity", "opacity",
"fill", "fill",
"fill-pattern",
"stroke", "stroke",
"stroke-width", "stroke-width",
"stroke-dash", "stroke-dash",

View File

@ -994,6 +994,10 @@
"type": "STRING", "type": "STRING",
"value": "fill" "value": "fill"
}, },
{
"type": "STRING",
"value": "fill-pattern"
},
{ {
"type": "STRING", "type": "STRING",
"value": "stroke" "value": "stroke"

View File

@ -412,6 +412,10 @@
"type": "fill", "type": "fill",
"named": false "named": false
}, },
{
"type": "fill-pattern",
"named": false
},
{ {
"type": "float", "type": "float",
"named": true "named": true

Binary file not shown.

Binary file not shown.