-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcss.ts
3979 lines (3460 loc) · 158 KB
/
css.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/**
* All CSS properties
*/
export interface CSSProperties {
/**
* Custom property
*/
[key: string]: unknown;
/**
* Sets the color of the elements accent
* @see https://developer.mozilla.org/docs/Web/CSS/accent-color
*/
"accent-color"?: string;
/**
* Aligns a flex container's lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.
* Syntax: normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>
* @see https://developer.mozilla.org/docs/Web/CSS/align-content
*/
"align-content"?:
| "center"
| "flex-end"
| "flex-start"
| "space-around"
| "space-between"
| "stretch"
| "start"
| "end"
| "normal"
| "baseline"
| "first baseline"
| "last baseline"
| "space-around"
| "space-between"
| "space-evenly"
| "stretch"
| "safe"
| "unsafe"
| string;
/**
* Aligns flex items along the cross axis of the current line of the flex container.
* Syntax: normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]
* @see https://developer.mozilla.org/docs/Web/CSS/align-items
*/
"align-items"?:
| "baseline"
| "center"
| "flex-end"
| "flex-start"
| "stretch"
| "normal"
| "start"
| "end"
| "self-start"
| "self-end"
| "first baseline"
| "last baseline"
| "stretch"
| "safe"
| "unsafe"
| string;
/**
* Allows the default alignment along the cross axis to be overridden for individual flex items.
* Syntax: auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>
* @see https://developer.mozilla.org/docs/Web/CSS/align-self
*/
"align-self"?:
| "auto"
| "normal"
| "self-end"
| "self-start"
| "baseline"
| "center"
| "flex-end"
| "flex-start"
| "stretch"
| "baseline"
| "first baseline"
| "last baseline"
| "safe"
| "unsafe"
| string;
/**
* The align-tracks CSS property sets the alignment in the masonry axis for grid containers that have masonry in their block axis.
*/
"align-tracks"?: string;
/**
* Shorthand that resets all properties except 'direction' and 'unicode-bidi'.
* @see https://developer.mozilla.org/docs/Web/CSS/all
*/
all?: string;
/**
* Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.
*/
alt?: string;
/**
* The anchor-name property declares that an element is an anchor element, and gives it a list of anchor names to be targeted by.
* @see https://developer.mozilla.org/docs/Web/CSS/anchor-name
*/
"anchor-name"?: string;
/**
* This property scopes the specified anchor names, and lookups for these anchor names, to this element’s subtree
*/
"anchor-scope"?: string;
/**
* Shorthand property combines six of the animation properties into a single property.
* Syntax: <single-animation>#
* @see https://developer.mozilla.org/docs/Web/CSS/animation
*/
animation?:
| "alternate"
| "alternate-reverse"
| "backwards"
| "both"
| "forwards"
| "infinite"
| "none"
| "normal"
| "reverse"
| string;
/**
* The composite operation to use when multiple animations affect the same property.
* @see https://developer.mozilla.org/docs/Web/CSS/animation-composition
*/
"animation-composition"?: string;
/**
* Defines when the animation will start.
* @see https://developer.mozilla.org/docs/Web/CSS/animation-delay
*/
"animation-delay"?: string;
/**
* Defines whether or not the animation should play in reverse on alternate cycles.
* Syntax: <single-animation-direction>#
* @see https://developer.mozilla.org/docs/Web/CSS/animation-direction
*/
"animation-direction"?:
| "alternate"
| "alternate-reverse"
| "normal"
| "reverse"
| string;
/**
* Defines the length of time that an animation takes to complete one cycle.
* @see https://developer.mozilla.org/docs/Web/CSS/animation-duration
*/
"animation-duration"?: string;
/**
* Defines what values are applied by the animation outside the time it is executing.
* Syntax: <single-animation-fill-mode>#
* @see https://developer.mozilla.org/docs/Web/CSS/animation-fill-mode
*/
"animation-fill-mode"?: "backwards" | "both" | "forwards" | "none" | string;
/**
* Defines the number of times an animation cycle is played. The default value is one, meaning the animation will play from beginning to end once.
* Syntax: <single-animation-iteration-count>#
* @see https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count
*/
"animation-iteration-count"?: "infinite" | string;
/**
* Defines a list of animations that apply. Each name is used to select the keyframe at-rule that provides the property values for the animation.
* Syntax: [ none | <keyframes-name> ]#
* @see https://developer.mozilla.org/docs/Web/CSS/animation-name
*/
"animation-name"?: "none" | string;
/**
* Defines whether the animation is running or paused.
* Syntax: <single-animation-play-state>#
* @see https://developer.mozilla.org/docs/Web/CSS/animation-play-state
*/
"animation-play-state"?: "paused" | "running" | string;
/**
* The animation-range CSS shorthand property is used to set the start and end of an animation's attachment range along its timeline, i.e. where along the timeline an animation will start and end.
* @see https://developer.mozilla.org/docs/Web/CSS/animation-range
*/
"animation-range"?: string;
/**
* The animation-range-end CSS property is used to set the end of an animation's attachment range along its timeline, i.e. where along the timeline an animation will end.
* @see https://developer.mozilla.org/docs/Web/CSS/animation-range-end
*/
"animation-range-end"?: string;
/**
* The animation-range-start CSS property is used to set the start of an animation's attachment range along its timeline, i.e. where along the timeline an animation will start.
* @see https://developer.mozilla.org/docs/Web/CSS/animation-range-start
*/
"animation-range-start"?: string;
/**
* Specifies the names of one or more @scroll-timeline at-rules to describe the element's scroll animations.
* @see https://developer.mozilla.org/docs/Web/CSS/animation-timeline
*/
"animation-timeline"?: string;
/**
* Describes how the animation will progress over one cycle of its duration.
* @see https://developer.mozilla.org/docs/Web/CSS/animation-timing-function
*/
"animation-timing-function"?: string;
/**
* Changes the appearance of buttons and other controls to resemble native controls.
* @see https://developer.mozilla.org/docs/Web/CSS/appearance
*/
appearance?: string;
/**
* The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions.
* @see https://developer.mozilla.org/docs/Web/CSS/aspect-ratio
*/
"aspect-ratio"?: string;
/**
* In combination with elevation, the azimuth CSS property enables different audio sources to be positioned spatially for aural presentation. This is important in that it provides a natural way to tell several voices apart, as each can be positioned to originate at a different location on the sound stage. Stereo output produce a lateral sound stage, while binaural headphones and multi-speaker setups allow for a fully three-dimensional stage.
*/
azimuth?: string;
/**
* The backdrop-filter CSS property lets you apply graphical effects such as blurring or color shifting to the area behind an element. Because it applies to everything behind the element, to see the effect you must make the element or its background at least partially transparent.
* @see https://developer.mozilla.org/docs/Web/CSS/backdrop-filter
*/
"backdrop-filter"?: string;
/**
* Determines whether or not the 'back' side of a transformed element is visible when facing the viewer. With an identity transform, the front side of an element faces the viewer.
* Syntax: visible | hidden
* @see https://developer.mozilla.org/docs/Web/CSS/backface-visibility
*/
"backface-visibility"?: "hidden" | "visible";
/**
* Shorthand property for setting most background properties at the same place in the style sheet.
* Syntax: [ <bg-layer> , ]* <final-bg-layer>
* @see https://developer.mozilla.org/docs/Web/CSS/background
*/
background?: "fixed" | "local" | "none" | "scroll" | string | 0;
/**
* Specifies whether the background images are fixed with regard to the viewport ('fixed') or scroll along with the element ('scroll') or its contents ('local').
* Syntax: <attachment>#
* @see https://developer.mozilla.org/docs/Web/CSS/background-attachment
*/
"background-attachment"?: "fixed" | "local" | "scroll" | string;
/**
* Defines the blending mode of each background layer.
* Syntax: <blend-mode>#
* @see https://developer.mozilla.org/docs/Web/CSS/background-blend-mode
*/
"background-blend-mode"?:
| "normal"
| "multiply"
| "screen"
| "overlay"
| "darken"
| "lighten"
| "color-dodge"
| "color-burn"
| "hard-light"
| "soft-light"
| "difference"
| "exclusion"
| "hue"
| "saturation"
| "color"
| "luminosity"
| string;
/**
* Determines the background painting area.
* @see https://developer.mozilla.org/docs/Web/CSS/background-clip
*/
"background-clip"?: string;
/**
* Sets the background color of an element.
* @see https://developer.mozilla.org/docs/Web/CSS/background-color
*/
"background-color"?: string;
/**
* Sets the background image(s) of an element.
* Syntax: <bg-image>#
* @see https://developer.mozilla.org/docs/Web/CSS/background-image
*/
"background-image"?: "none" | string;
/**
* For elements rendered as a single box, specifies the background positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes 'box-decoration-break' operates on to determine the background positioning area(s).
* @see https://developer.mozilla.org/docs/Web/CSS/background-origin
*/
"background-origin"?: string;
/**
* Specifies the initial position of the background image(s) (after any resizing) within their corresponding background positioning area.
* @see https://developer.mozilla.org/docs/Web/CSS/background-position
*/
"background-position"?: string;
/**
* If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.
* Syntax: [ center | [ [ left | right | x-start | x-end ]? <length-percentage>? ]! ]#
* @see https://developer.mozilla.org/docs/Web/CSS/background-position-x
*/
"background-position-x"?: "center" | "left" | "right" | string | 0;
/**
* If background images have been specified, this property specifies their initial position (after any resizing) within their corresponding background positioning area.
* Syntax: [ center | [ [ top | bottom | y-start | y-end ]? <length-percentage>? ]! ]#
* @see https://developer.mozilla.org/docs/Web/CSS/background-position-y
*/
"background-position-y"?: "bottom" | "center" | "top" | string | 0;
/**
* Specifies how background images are tiled after they have been sized and positioned.
* @see https://developer.mozilla.org/docs/Web/CSS/background-repeat
*/
"background-repeat"?: string;
/**
* Specifies the size of the background images.
* Syntax: <bg-size>#
* @see https://developer.mozilla.org/docs/Web/CSS/background-size
*/
"background-size"?: "auto" | "contain" | "cover" | string | 0;
/**
* IE only. Used to extend behaviors of the browser.
*/
behavior?: string;
/**
* Size of an element in the direction opposite that of the direction specified by 'writing-mode'.
* Syntax: <'width'>
* @see https://developer.mozilla.org/docs/Web/CSS/block-size
*/
"block-size"?: "auto" | string | 0;
/**
* Shorthand property for setting border width, style, and color.
* @see https://developer.mozilla.org/docs/Web/CSS/border
*/
border?: string;
/**
* The border-block CSS property is a shorthand property for setting the individual logical block border property values in a single place in the style sheet.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block
*/
"border-block"?: string;
/**
* The border-block-color CSS property defines the color of the logical block borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-color
*/
"border-block-color"?: string;
/**
* Logical 'border-bottom'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-end
*/
"border-block-end"?: string;
/**
* Logical 'border-bottom-color'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-end-color
*/
"border-block-end-color"?: string;
/**
* Logical 'border-bottom-style'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-end-style
*/
"border-block-end-style"?: string;
/**
* Logical 'border-bottom-width'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-end-width
*/
"border-block-end-width"?: string;
/**
* Logical 'border-top'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-start
*/
"border-block-start"?: string;
/**
* Logical 'border-top-color'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-start-color
*/
"border-block-start-color"?: string;
/**
* Logical 'border-top-style'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-start-style
*/
"border-block-start-style"?: string;
/**
* Logical 'border-top-width'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-start-width
*/
"border-block-start-width"?: string;
/**
* The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-style
*/
"border-block-style"?: string;
/**
* The border-block-width CSS property defines the width of the logical block borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-block-width
*/
"border-block-width"?: string;
/**
* Shorthand property for setting border width, style and color.
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom
*/
"border-bottom"?: string;
/**
* Sets the color of the bottom border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-color
*/
"border-bottom-color"?: string;
/**
* Defines the radii of the bottom left outer border edge.
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius
*/
"border-bottom-left-radius"?: string;
/**
* Defines the radii of the bottom right outer border edge.
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius
*/
"border-bottom-right-radius"?: string;
/**
* Sets the style of the bottom border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-style
*/
"border-bottom-style"?: string;
/**
* Sets the thickness of the bottom border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-width
*/
"border-bottom-width"?: string;
/**
* Selects a table's border model.
* Syntax: collapse | separate
* @see https://developer.mozilla.org/docs/Web/CSS/border-collapse
*/
"border-collapse"?: "collapse" | "separate";
/**
* The color of the border around all four edges of an element.
* @see https://developer.mozilla.org/docs/Web/CSS/border-color
*/
"border-color"?: string;
/**
* The border-end-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on on the element's writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius
*/
"border-end-end-radius"?: string;
/**
* The border-end-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius
*/
"border-end-start-radius"?: string;
/**
* Shorthand property for setting 'border-image-source', 'border-image-slice', 'border-image-width', 'border-image-outset' and 'border-image-repeat'. Omitted values are set to their initial values.
* Syntax: <'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>
* @see https://developer.mozilla.org/docs/Web/CSS/border-image
*/
"border-image"?:
| "auto"
| "fill"
| "none"
| "repeat"
| "round"
| "space"
| "stretch"
| "url()"
| string
| 0;
/**
* The values specify the amount by which the border image area extends beyond the border box on the top, right, bottom, and left sides respectively. If the fourth value is absent, it is the same as the second. If the third one is also absent, it is the same as the first. If the second one is also absent, it is the same as the first. Numbers represent multiples of the corresponding border-width.
* @see https://developer.mozilla.org/docs/Web/CSS/border-image-outset
*/
"border-image-outset"?: string;
/**
* Specifies how the images for the sides and the middle part of the border image are scaled and tiled. If the second keyword is absent, it is assumed to be the same as the first.
* Syntax: [ stretch | repeat | round | space ]{1,2}
* @see https://developer.mozilla.org/docs/Web/CSS/border-image-repeat
*/
"border-image-repeat"?: "repeat" | "round" | "space" | "stretch";
/**
* Specifies inward offsets from the top, right, bottom, and left edges of the image, dividing it into nine regions: four corners, four edges and a middle.
* Syntax: <number-percentage>{1,4} && fill?
* @see https://developer.mozilla.org/docs/Web/CSS/border-image-slice
*/
"border-image-slice"?: "fill" | string;
/**
* Specifies an image to use instead of the border styles given by the 'border-style' properties and as an additional background layer for the element. If the value is 'none' or if the image cannot be displayed, the border styles will be used.
* Syntax: none | <image>
* @see https://developer.mozilla.org/docs/Web/CSS/border-image-source
*/
"border-image-source"?: "none" | string;
/**
* The four values of 'border-image-width' specify offsets that are used to divide the border image area into nine parts. They represent inward distances from the top, right, bottom, and left sides of the area, respectively.
* Syntax: [ <length-percentage> | <number> | auto ]{1,4}
* @see https://developer.mozilla.org/docs/Web/CSS/border-image-width
*/
"border-image-width"?: "auto" | string | 0;
/**
* The border-inline CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline
*/
"border-inline"?: string;
/**
* The border-inline-color CSS property defines the color of the logical inline borders of an element, which maps to a physical border color depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-color and border-bottom-color, or border-right-color and border-left-color property depending on the values defined for writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-color
*/
"border-inline-color"?: string;
/**
* Logical 'border-right'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end
*/
"border-inline-end"?: string;
/**
* Logical 'border-right-color'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-color
*/
"border-inline-end-color"?: string;
/**
* Logical 'border-right-style'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-style
*/
"border-inline-end-style"?: string;
/**
* Logical 'border-right-width'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-end-width
*/
"border-inline-end-width"?: string;
/**
* Logical 'border-left'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start
*/
"border-inline-start"?: string;
/**
* Logical 'border-left-color'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-color
*/
"border-inline-start-color"?: string;
/**
* Logical 'border-left-style'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-style
*/
"border-inline-start-style"?: string;
/**
* Logical 'border-left-width'. Mapping depends on the parent element's 'writing-mode', 'direction', and 'text-orientation'.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-start-width
*/
"border-inline-start-width"?: string;
/**
* The border-inline-style CSS property defines the style of the logical inline borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-style
*/
"border-inline-style"?: string;
/**
* The border-inline-width CSS property defines the width of the logical inline borders of an element, which maps to a physical border width depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-width and border-bottom-width, or border-left-width, and border-right-width property depending on the values defined for writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-inline-width
*/
"border-inline-width"?: string;
/**
* Shorthand property for setting border width, style and color
* @see https://developer.mozilla.org/docs/Web/CSS/border-left
*/
"border-left"?: string;
/**
* Sets the color of the left border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-left-color
*/
"border-left-color"?: string;
/**
* Sets the style of the left border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-left-style
*/
"border-left-style"?: string;
/**
* Sets the thickness of the left border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-left-width
*/
"border-left-width"?: string;
/**
* Defines the radii of the outer border edge.
* @see https://developer.mozilla.org/docs/Web/CSS/border-radius
*/
"border-radius"?: string;
/**
* Shorthand property for setting border width, style and color
* @see https://developer.mozilla.org/docs/Web/CSS/border-right
*/
"border-right"?: string;
/**
* Sets the color of the right border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-right-color
*/
"border-right-color"?: string;
/**
* Sets the style of the right border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-right-style
*/
"border-right-style"?: string;
/**
* Sets the thickness of the right border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-right-width
*/
"border-right-width"?: string;
/**
* The lengths specify the distance that separates adjoining cell borders. If one length is specified, it gives both the horizontal and vertical spacing. If two are specified, the first gives the horizontal spacing and the second the vertical spacing. Lengths may not be negative.
* @see https://developer.mozilla.org/docs/Web/CSS/border-spacing
*/
"border-spacing"?: string;
/**
* The border-start-end-radius CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius
*/
"border-start-end-radius"?: string;
/**
* The border-start-start-radius CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's writing-mode, direction, and text-orientation.
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius
*/
"border-start-start-radius"?: string;
/**
* The style of the border around edges of an element.
* @see https://developer.mozilla.org/docs/Web/CSS/border-style
*/
"border-style"?: string;
/**
* Shorthand property for setting border width, style and color
* @see https://developer.mozilla.org/docs/Web/CSS/border-top
*/
"border-top"?: string;
/**
* Sets the color of the top border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-color
*/
"border-top-color"?: string;
/**
* Defines the radii of the top left outer border edge.
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius
*/
"border-top-left-radius"?: string;
/**
* Defines the radii of the top right outer border edge.
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius
*/
"border-top-right-radius"?: string;
/**
* Sets the style of the top border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-style
*/
"border-top-style"?: string;
/**
* Sets the thickness of the top border.
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-width
*/
"border-top-width"?: string;
/**
* Shorthand that sets the four 'border-*-width' properties. If it has four values, they set top, right, bottom and left in that order. If left is missing, it is the same as right; if bottom is missing, it is the same as top; if right is missing, it is the same as top.
* @see https://developer.mozilla.org/docs/Web/CSS/border-width
*/
"border-width"?: string;
/**
* Specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's 'containing block'.
* Syntax: <length> | <percentage> | auto
* @see https://developer.mozilla.org/docs/Web/CSS/bottom
*/
bottom?: "auto" | string | 0;
/**
* The box-align CSS property specifies how an element aligns its contents across its layout in a perpendicular direction. The effect of the property is only visible if there is extra space in the box.
* Syntax: start | center | end | baseline | stretch
* @see https://developer.mozilla.org/docs/Web/CSS/box-align
*/
"box-align"?: "start" | "center" | "end" | "baseline" | "stretch";
/**
* Specifies whether individual boxes are treated as broken pieces of one continuous box, or whether each box is individually wrapped with the border and padding.
* Syntax: slice | clone
* @see https://developer.mozilla.org/docs/Web/CSS/box-decoration-break
*/
"box-decoration-break"?: "clone" | "slice";
/**
* The box-direction CSS property specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).
* Syntax: normal | reverse | inherit
* @see https://developer.mozilla.org/docs/Web/CSS/box-direction
*/
"box-direction"?: "normal" | "reverse" | "inherit";
/**
* The -moz-box-flex and -webkit-box-flex CSS properties specify how a -moz-box or -webkit-box grows to fill the box that contains it, in the direction of the containing box's layout.
* @see https://developer.mozilla.org/docs/Web/CSS/box-flex
*/
"box-flex"?: string;
/**
* The box-flex-group CSS property assigns the flexbox's child elements to a flex group.
* @see https://developer.mozilla.org/docs/Web/CSS/box-flex-group
*/
"box-flex-group"?: string;
/**
* The box-lines CSS property determines whether the box may have a single or multiple lines (rows for horizontally oriented boxes, columns for vertically oriented boxes).
* Syntax: single | multiple
* @see https://developer.mozilla.org/docs/Web/CSS/box-lines
*/
"box-lines"?: "single" | "multiple";
/**
* The box-ordinal-group CSS property assigns the flexbox's child elements to an ordinal group.
* @see https://developer.mozilla.org/docs/Web/CSS/box-ordinal-group
*/
"box-ordinal-group"?: string;
/**
* The box-orient CSS property specifies whether an element lays out its contents horizontally or vertically.
* Syntax: horizontal | vertical | inline-axis | block-axis | inherit
* @see https://developer.mozilla.org/docs/Web/CSS/box-orient
*/
"box-orient"?:
| "horizontal"
| "vertical"
| "inline-axis"
| "block-axis"
| "inherit";
/**
* The -moz-box-pack and -webkit-box-pack CSS properties specify how a -moz-box or -webkit-box packs its contents in the direction of its layout. The effect of this is only visible if there is extra space in the box.
* Syntax: start | center | end | justify
* @see https://developer.mozilla.org/docs/Web/CSS/box-pack
*/
"box-pack"?: "start" | "center" | "end" | "justify";
/**
* Attaches one or more drop-shadows to the box. The property is a comma-separated list of shadows, each specified by 2-4 length values, an optional color, and an optional 'inset' keyword. Omitted lengths are 0; omitted colors are a user agent chosen color.
* Syntax: none | <shadow>#
* @see https://developer.mozilla.org/docs/Web/CSS/box-shadow
*/
"box-shadow"?: "inset" | "none" | string | 0;
/**
* Specifies the behavior of the 'width' and 'height' properties.
* Syntax: content-box | border-box
* @see https://developer.mozilla.org/docs/Web/CSS/box-sizing
*/
"box-sizing"?: "border-box" | "content-box";
/**
* Describes the page/column/region break behavior after the generated box.
* Syntax: auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region
* @see https://developer.mozilla.org/docs/Web/CSS/break-after
*/
"break-after"?:
| "always"
| "auto"
| "avoid"
| "avoid-column"
| "avoid-page"
| "column"
| "left"
| "page"
| "right";
/**
* Describes the page/column/region break behavior before the generated box.
* Syntax: auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region
* @see https://developer.mozilla.org/docs/Web/CSS/break-before
*/
"break-before"?:
| "always"
| "auto"
| "avoid"
| "avoid-column"
| "avoid-page"
| "column"
| "left"
| "page"
| "right";
/**
* Describes the page/column/region break behavior inside the principal box.
* Syntax: auto | avoid | avoid-page | avoid-column | avoid-region
* @see https://developer.mozilla.org/docs/Web/CSS/break-inside
*/
"break-inside"?: "auto" | "avoid" | "avoid-column" | "avoid-page";
/**
* Specifies the position of the caption box with respect to the table box.
* Syntax: top | bottom | block-start | block-end | inline-start | inline-end
* @see https://developer.mozilla.org/docs/Web/CSS/caption-side
*/
"caption-side"?: "bottom" | "top";
/**
* Shorthand for setting caret-color and caret-shape.
*/
caret?: string;
/**
* Controls the color of the text insertion indicator.
* Syntax: auto | <color>
* @see https://developer.mozilla.org/docs/Web/CSS/caret-color
*/
"caret-color"?: "auto" | string;
/**
* Specifies the desired shape of the text insertion caret.
* Syntax: auto | bar | block | underscore
*/
"caret-shape"?: "auto" | "bar" | "block" | "underscore";
/**
* Indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. The 'clear' property does not consider floats inside the element itself or in other block formatting contexts.
* Syntax: none | left | right | both | inline-start | inline-end
* @see https://developer.mozilla.org/docs/Web/CSS/clear
*/
clear?: "both" | "left" | "none" | "right";
/**
* Deprecated. Use the 'clip-path' property when support allows. Defines the visible portion of an element's box.
* Syntax: <shape> | auto
* @see https://developer.mozilla.org/docs/Web/CSS/clip
*/
clip?: "auto" | "rect()" | string;
/**
* Specifies a clipping path where everything inside the path is visible and everything outside is clipped out.
* Syntax: <clip-source> | [ <basic-shape> || <geometry-box> ] | none
* @see https://developer.mozilla.org/docs/Web/CSS/clip-path
*/
"clip-path"?: "none" | "url()" | string;
/**
* Indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape.
* Syntax: nonzero | evenodd
* @see https://developer.mozilla.org/docs/Web/CSS/clip-rule
*/
"clip-rule"?: "evenodd" | "nonzero";
/**
* Sets the color of an element's text
* @see https://developer.mozilla.org/docs/Web/CSS/color
*/
color?: string;
/**
* Specifies the color space for imaging operations performed via filter effects.
* Syntax: auto | sRGB | linearRGB
* @see https://developer.mozilla.org/docs/Web/CSS/color-interpolation-filters
*/
"color-interpolation-filters"?: "auto" | "linearRGB" | "sRGB";
/**
* The color-scheme CSS property allows an element to indicate which color schemes it can comfortably be rendered in.
* @see https://developer.mozilla.org/docs/Web/CSS/color-scheme
*/
"color-scheme"?: string;
/**
* Describes the optimal number of columns into which the content of the element will be flowed.
* Syntax: <integer> | auto
* @see https://developer.mozilla.org/docs/Web/CSS/column-count
*/
"column-count"?: "auto" | string | number;
/**
* In continuous media, this property will only be consulted if the length of columns has been constrained. Otherwise, columns will automatically be balanced.
* Syntax: auto | balance
* @see https://developer.mozilla.org/docs/Web/CSS/column-fill
*/
"column-fill"?: "auto" | "balance";
/**
* Sets the gap between columns. If there is a column rule between columns, it will appear in the middle of the gap.
* Syntax: normal | <length-percentage>
* @see https://developer.mozilla.org/docs/Web/CSS/column-gap
*/
"column-gap"?: "normal" | string | 0;
/**
* Shorthand for setting 'column-rule-width', 'column-rule-style', and 'column-rule-color' at the same place in the style sheet. Omitted values are set to their initial values.
* @see https://developer.mozilla.org/docs/Web/CSS/column-rule
*/
"column-rule"?: string;
/**
* Sets the color of the column rule
* @see https://developer.mozilla.org/docs/Web/CSS/column-rule-color
*/
"column-rule-color"?: string;
/**
* Sets the style of the rule between columns of an element.
* @see https://developer.mozilla.org/docs/Web/CSS/column-rule-style
*/
"column-rule-style"?: string;
/**
* Sets the width of the rule between columns. Negative values are not allowed.
* @see https://developer.mozilla.org/docs/Web/CSS/column-rule-width
*/
"column-rule-width"?: string;
/**
* Describes the page/column break behavior after the generated box.
* Syntax: none | all
* @see https://developer.mozilla.org/docs/Web/CSS/column-span
*/
"column-span"?: "all" | "none";
/**
* Describes the width of columns in multicol elements.
* Syntax: <length> | auto
* @see https://developer.mozilla.org/docs/Web/CSS/column-width
*/
"column-width"?: "auto" | string | 0;
/**
* A shorthand property which sets both 'column-width' and 'column-count'.
* Syntax: <'column-width'> || <'column-count'>
* @see https://developer.mozilla.org/docs/Web/CSS/columns
*/
columns?: "auto" | string | number | 0;