11
11
--light-color-text-aside : # 6e6e6e ;
12
12
--light-color-link : # 1f70c2 ;
13
13
14
+ --light-color-ts-keyword : # 056bd6 ;
14
15
--light-color-ts-project : # b111c9 ;
15
16
--light-color-ts-module : var (--light-color-ts-project );
16
17
--light-color-ts-namespace : var (--light-color-ts-project );
32
33
--light-color-ts-accessor : var (--light-color-ts-property );
33
34
--light-color-ts-get-signature : var (--light-color-ts-accessor );
34
35
--light-color-ts-set-signature : var (--light-color-ts-accessor );
35
- /* object literal not included as it is not used and will be removed in 0.25 */
36
36
--light-color-ts-type-alias : # d51270 ;
37
37
/* reference not included as links will be colored with the kind that it points to */
38
38
51
51
--dark-color-text-aside : # dddddd ;
52
52
--dark-color-link : # 00aff4 ;
53
53
54
+ --dark-color-ts-keyword : # 3399ff ;
54
55
--dark-color-ts-project : # e358ff ;
55
56
--dark-color-ts-module : var (--dark-color-ts-project );
56
57
--dark-color-ts-namespace : var (--dark-color-ts-project );
72
73
--dark-color-ts-accessor : var (--dark-color-ts-property );
73
74
--dark-color-ts-get-signature : var (--dark-color-ts-accessor );
74
75
--dark-color-ts-set-signature : var (--dark-color-ts-accessor );
75
- /* object literal not included as it is not used and will be removed in 0.25 */
76
76
--dark-color-ts-type-alias : # ff6492 ;
77
77
/* reference not included as links will be colored with the kind that it points to */
78
78
93
93
--color-text-aside : var (--light-color-text-aside );
94
94
--color-link : var (--light-color-link );
95
95
96
+ --color-ts-keyword : var (--light-color-ts-keyword );
96
97
--color-ts-module : var (--light-color-ts-module );
97
98
--color-ts-namespace : var (--light-color-ts-namespace );
98
99
--color-ts-enum : var (--light-color-ts-enum );
134
135
--color-text-aside : var (--dark-color-text-aside );
135
136
--color-link : var (--dark-color-link );
136
137
138
+ --color-ts-keyword : var (--dark-color-ts-keyword );
137
139
--color-ts-module : var (--dark-color-ts-module );
138
140
--color-ts-namespace : var (--dark-color-ts-namespace );
139
141
--color-ts-enum : var (--dark-color-ts-enum );
@@ -182,6 +184,7 @@ body {
182
184
--color-text-aside : var (--light-color-text-aside );
183
185
--color-link : var (--light-color-link );
184
186
187
+ --color-ts-keyword : var (--light-color-ts-keyword );
185
188
--color-ts-module : var (--light-color-ts-module );
186
189
--color-ts-namespace : var (--light-color-ts-namespace );
187
190
--color-ts-enum : var (--light-color-ts-enum );
@@ -221,6 +224,7 @@ body {
221
224
--color-text-aside : var (--dark-color-text-aside );
222
225
--color-link : var (--dark-color-link );
223
226
227
+ --color-ts-keyword : var (--dark-color-ts-keyword );
224
228
--color-ts-module : var (--dark-color-ts-module );
225
229
--color-ts-namespace : var (--dark-color-ts-namespace );
226
230
--color-ts-enum : var (--dark-color-ts-enum );
@@ -468,13 +472,12 @@ blockquote {
468
472
padding : 0 0 0 20px ;
469
473
margin : 0 ;
470
474
}
471
- .tsd-typography h4 ,
472
475
.tsd-typography .tsd-index-panel h3 ,
473
476
.tsd-index-panel .tsd-typography h3 ,
477
+ .tsd-typography h4 ,
474
478
.tsd-typography h5 ,
475
479
.tsd-typography h6 {
476
480
font-size : 1em ;
477
- margin : 0 ;
478
481
}
479
482
.tsd-typography h5 ,
480
483
.tsd-typography h6 {
@@ -485,6 +488,19 @@ blockquote {
485
488
.tsd-typography ol {
486
489
margin : 1em 0 ;
487
490
}
491
+ .tsd-typography table {
492
+ border-collapse : collapse;
493
+ border : none;
494
+ }
495
+ .tsd-typography td ,
496
+ .tsd-typography th {
497
+ padding : 6px 13px ;
498
+ border : 1px solid var (--color-accent );
499
+ }
500
+ .tsd-typography thead ,
501
+ .tsd-typography tr : nth-child (even) {
502
+ background-color : var (--color-background-secondary );
503
+ }
488
504
489
505
.tsd-breadcrumb {
490
506
margin : 0 ;
@@ -900,21 +916,25 @@ a.tsd-index-link {
900
916
box-shadow : 0 0 4px rgba (0 , 0 , 0 , 0.25 );
901
917
}
902
918
# tsd-search .results li {
903
- padding : 0 10px ;
904
919
background-color : var (--color-background );
920
+ line-height : initial;
921
+ padding : 4px ;
905
922
}
906
923
# tsd-search .results li : nth-child (even) {
907
924
background-color : var (--color-background-secondary );
908
925
}
909
926
# tsd-search .results li .state {
910
927
display : none;
911
928
}
912
- # tsd-search .results li .current ,
913
- # tsd-search .results li : hover {
929
+ # tsd-search .results li .current : not (. no-results ) ,
930
+ # tsd-search .results li : hover : not (. no-results ) {
914
931
background-color : var (--color-accent );
915
932
}
916
933
# tsd-search .results a {
917
- display : block;
934
+ display : flex;
935
+ align-items : center;
936
+ padding : 0.25rem ;
937
+ box-sizing : border-box;
918
938
}
919
939
# tsd-search .results a : before {
920
940
top : 10px ;
@@ -970,6 +990,11 @@ a.tsd-index-link {
970
990
overflow-x : auto;
971
991
}
972
992
993
+ .tsd-signature-keyword {
994
+ color : var (--color-ts-keyword );
995
+ font-weight : normal;
996
+ }
997
+
973
998
.tsd-signature-symbol {
974
999
color : var (--color-text-aside );
975
1000
font-weight : normal;
@@ -1070,7 +1095,9 @@ ul.tsd-type-parameter-list h5 {
1070
1095
overflow : hidden;
1071
1096
opacity : 0.8 ;
1072
1097
height : 40px ;
1073
- transition : opacity 0.1s , background-color 0.2s ;
1098
+ transition :
1099
+ opacity 0.1s ,
1100
+ background-color 0.2s ;
1074
1101
vertical-align : bottom;
1075
1102
cursor : pointer;
1076
1103
}
@@ -1122,7 +1149,7 @@ img {
1122
1149
}
1123
1150
1124
1151
.deprecated {
1125
- text-decoration : line-through;
1152
+ text-decoration : line-through !important ;
1126
1153
}
1127
1154
1128
1155
.warning {
0 commit comments