1111 --light-color-text-aside : # 6e6e6e ;
1212 --light-color-link : # 1f70c2 ;
1313
14+ --light-color-ts-keyword : # 056bd6 ;
1415 --light-color-ts-project : # b111c9 ;
1516 --light-color-ts-module : var (--light-color-ts-project );
1617 --light-color-ts-namespace : var (--light-color-ts-project );
3233 --light-color-ts-accessor : var (--light-color-ts-property );
3334 --light-color-ts-get-signature : var (--light-color-ts-accessor );
3435 --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 */
3636 --light-color-ts-type-alias : # d51270 ;
3737 /* reference not included as links will be colored with the kind that it points to */
3838
5151 --dark-color-text-aside : # dddddd ;
5252 --dark-color-link : # 00aff4 ;
5353
54+ --dark-color-ts-keyword : # 3399ff ;
5455 --dark-color-ts-project : # e358ff ;
5556 --dark-color-ts-module : var (--dark-color-ts-project );
5657 --dark-color-ts-namespace : var (--dark-color-ts-project );
7273 --dark-color-ts-accessor : var (--dark-color-ts-property );
7374 --dark-color-ts-get-signature : var (--dark-color-ts-accessor );
7475 --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 */
7676 --dark-color-ts-type-alias : # ff6492 ;
7777 /* reference not included as links will be colored with the kind that it points to */
7878
9393 --color-text-aside : var (--light-color-text-aside );
9494 --color-link : var (--light-color-link );
9595
96+ --color-ts-keyword : var (--light-color-ts-keyword );
9697 --color-ts-module : var (--light-color-ts-module );
9798 --color-ts-namespace : var (--light-color-ts-namespace );
9899 --color-ts-enum : var (--light-color-ts-enum );
134135 --color-text-aside : var (--dark-color-text-aside );
135136 --color-link : var (--dark-color-link );
136137
138+ --color-ts-keyword : var (--dark-color-ts-keyword );
137139 --color-ts-module : var (--dark-color-ts-module );
138140 --color-ts-namespace : var (--dark-color-ts-namespace );
139141 --color-ts-enum : var (--dark-color-ts-enum );
@@ -182,6 +184,7 @@ body {
182184 --color-text-aside : var (--light-color-text-aside );
183185 --color-link : var (--light-color-link );
184186
187+ --color-ts-keyword : var (--light-color-ts-keyword );
185188 --color-ts-module : var (--light-color-ts-module );
186189 --color-ts-namespace : var (--light-color-ts-namespace );
187190 --color-ts-enum : var (--light-color-ts-enum );
@@ -221,6 +224,7 @@ body {
221224 --color-text-aside : var (--dark-color-text-aside );
222225 --color-link : var (--dark-color-link );
223226
227+ --color-ts-keyword : var (--dark-color-ts-keyword );
224228 --color-ts-module : var (--dark-color-ts-module );
225229 --color-ts-namespace : var (--dark-color-ts-namespace );
226230 --color-ts-enum : var (--dark-color-ts-enum );
@@ -468,13 +472,12 @@ blockquote {
468472 padding : 0 0 0 20px ;
469473 margin : 0 ;
470474}
471- .tsd-typography h4 ,
472475.tsd-typography .tsd-index-panel h3 ,
473476.tsd-index-panel .tsd-typography h3 ,
477+ .tsd-typography h4 ,
474478.tsd-typography h5 ,
475479.tsd-typography h6 {
476480 font-size : 1em ;
477- margin : 0 ;
478481}
479482.tsd-typography h5 ,
480483.tsd-typography h6 {
@@ -485,6 +488,19 @@ blockquote {
485488.tsd-typography ol {
486489 margin : 1em 0 ;
487490}
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+ }
488504
489505.tsd-breadcrumb {
490506 margin : 0 ;
@@ -900,21 +916,25 @@ a.tsd-index-link {
900916 box-shadow : 0 0 4px rgba (0 , 0 , 0 , 0.25 );
901917}
902918# tsd-search .results li {
903- padding : 0 10px ;
904919 background-color : var (--color-background );
920+ line-height : initial;
921+ padding : 4px ;
905922}
906923# tsd-search .results li : nth-child (even) {
907924 background-color : var (--color-background-secondary );
908925}
909926# tsd-search .results li .state {
910927 display : none;
911928}
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 ) {
914931 background-color : var (--color-accent );
915932}
916933# tsd-search .results a {
917- display : block;
934+ display : flex;
935+ align-items : center;
936+ padding : 0.25rem ;
937+ box-sizing : border-box;
918938}
919939# tsd-search .results a : before {
920940 top : 10px ;
@@ -970,6 +990,11 @@ a.tsd-index-link {
970990 overflow-x : auto;
971991}
972992
993+ .tsd-signature-keyword {
994+ color : var (--color-ts-keyword );
995+ font-weight : normal;
996+ }
997+
973998.tsd-signature-symbol {
974999 color : var (--color-text-aside );
9751000 font-weight : normal;
@@ -1070,7 +1095,9 @@ ul.tsd-type-parameter-list h5 {
10701095 overflow : hidden;
10711096 opacity : 0.8 ;
10721097 height : 40px ;
1073- transition : opacity 0.1s , background-color 0.2s ;
1098+ transition :
1099+ opacity 0.1s ,
1100+ background-color 0.2s ;
10741101 vertical-align : bottom;
10751102 cursor : pointer;
10761103}
@@ -1122,7 +1149,7 @@ img {
11221149}
11231150
11241151.deprecated {
1125- text-decoration : line-through;
1152+ text-decoration : line-through !important ;
11261153}
11271154
11281155.warning {
0 commit comments