Skip to content

Commit

Permalink
Add schema support for styles.filter.duotone (#41920)
Browse files Browse the repository at this point in the history
* Add schema support for styles.filter.duotone
* Fix docs
* Improve wording
* Fix docs (again)
  • Loading branch information
George Hotelling authored Jun 27, 2022
1 parent 558b4e9 commit 286e6be
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/reference-guides/theme-json-reference/theme-json-living.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,14 @@ Typography styles.

---

### filter

CSS and SVG filter styles.

| Property | Type | Props |
| --- | --- |--- |
| duotone | string | |

---

<!-- END TOKEN Autogenerated - DO NOT EDIT -->
12 changes: 12 additions & 0 deletions schemas/json/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,17 @@
}
},
"additionalProperties": false
},
"filter": {
"description": "CSS and SVG filter styles.",
"type": "object",
"properties": {
"duotone": {
"description": "Sets the duotone filter.",
"type": "string"
}
},
"additionalProperties": false
}
}
},
Expand Down Expand Up @@ -1386,6 +1397,7 @@
"color": {},
"spacing": {},
"typography": {},
"filter": {},
"elements": {
"description": "Styles defined on a per-element basis using the element's selector.",
"$ref": "#/definitions/stylesElementsPropertiesComplete"
Expand Down

0 comments on commit 286e6be

Please sign in to comment.