Skip to content

Commit 9962a6f

Browse files
committed
Allow clip-path, background, text-emphasis styles in structured content
yomidevs/yomitan#556
1 parent 5eaba1d commit 9962a6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/types/yomitan/termbank.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ type StructuredContentStyle = {
3737
fontWeight?: 'normal' | 'bold';
3838
fontSize?: string;
3939
color?: string;
40+
background?: string;
4041
backgroundColor?: string;
4142
textDecorationLine?:
4243
| 'none'
@@ -50,6 +51,7 @@ type StructuredContentStyle = {
5051
borderStyle?: string;
5152
borderRadius?: string;
5253
borderWidth?: string;
54+
clipPath?: string;
5355
verticalAlign?:
5456
| 'baseline'
5557
| 'sub'
@@ -68,6 +70,7 @@ type StructuredContentStyle = {
6870
| 'justify'
6971
| 'justify-all'
7072
| 'match-parent';
73+
textEmphasis?: string;
7174
textShadow?: string;
7275
margin?: string;
7376
marginTop?: number | string;

0 commit comments

Comments
 (0)