aboutsummaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorStephen Kraus <8003332+stephenmk@users.noreply.github.com>2024-01-31 07:23:57 -0600
committerGitHub <noreply@github.com>2024-01-31 13:23:57 +0000
commit6807b05e9bd41f013364fae0cbcce83cf1ed37b6 (patch)
tree87df463a395c587293acda19e17ea584ee440d10 /types
parent8f48d40f7cffc8a0c6f0401dbfc1f3b0422ec21b (diff)
Allow `clip-path`, `background`, `text-emphasis` styles in structured content (#556)
* Allow `clip-path` and `background` styles in structured content * Allow `text-emphasis` style in structured content --------- Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
Diffstat (limited to 'types')
-rw-r--r--types/ext/structured-content.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/types/ext/structured-content.d.ts b/types/ext/structured-content.d.ts
index e40a6730..8ab459b6 100644
--- a/types/ext/structured-content.d.ts
+++ b/types/ext/structured-content.d.ts
@@ -55,6 +55,7 @@ export type StructuredContentStyle = {
fontWeight?: FontWeight;
fontSize?: string;
color?: string;
+ background?: string;
backgroundColor?: string;
textDecorationLine?: TextDecorationLineOrNone | TextDecorationLine[];
textDecorationStyle?: TextDecorationStyle;
@@ -63,8 +64,10 @@ export type StructuredContentStyle = {
borderStyle?: string;
borderRadius?: string;
borderWidth?: string;
+ clipPath?: string;
verticalAlign?: VerticalAlign;
textAlign?: TextAlign;
+ textEmphasis?: string;
textShadow?: string;
margin?: string;
marginTop?: number | string;