@@ -343,7 +343,7 @@ pre {
343343pre .shiki {
344344 overflow-x : auto;
345345
346- & .vitesse-dark {
346+ & .tokyo-night {
347347 @apply text-gray-400;
348348 }
349349}
@@ -371,26 +371,12 @@ pre.shiki .language-id {
371371 display : none;
372372}
373373
374- span .line {
375- display : inline-block;
376- width : 100% ;
377- }
378-
379- pre .has-diff span .diff {
380- width : calc (100% + 20px );
381- margin-left : -10px ;
382- padding-right : 20px ;
383- padding-left : 10px ;
384- padding-top : 4px ;
385- padding-bottom : 4px ;
386- }
387-
388374pre .has-diff span .remove {
389- background-color : # f43f5e29 ;
375+ background-color : # ff000036 ;
390376}
391377
392378pre .has-diff span .add {
393- background-color : # 10b98129 ;
379+ background-color : # 00ff0036 ;
394380}
395381/* Visually differentiates twoslash code samples */
396382pre .twoslash {
@@ -664,7 +650,7 @@ pre .logger.log-log svg {
664650 margin-right : 9px ;
665651}
666652
667- html : not (.dark ) .shiki .vitesse-dark {
653+ html : not (.dark ) .shiki .tokyo-night {
668654 display : none;
669655}
670656
@@ -673,11 +659,11 @@ html.dark .shiki.github-light {
673659}
674660
675661/* Improve comment contrast in dark mode */
676- html .dark .shiki .vitesse-dark .token .comment ,
677- html .dark .shiki .vitesse-dark span [style *= 'color:#565F89' ],
678- html .dark .shiki .vitesse-dark span [style *= 'color: #565F89' ],
679- html .dark .shiki .vitesse-dark span [style *= 'color:#51597D' ],
680- html .dark .shiki .vitesse-dark span [style *= 'color: #51597D' ] {
662+ html .dark .shiki .tokyo-night .token .comment ,
663+ html .dark .shiki .tokyo-night span [style *= 'color:#565F89' ],
664+ html .dark .shiki .tokyo-night span [style *= 'color: #565F89' ],
665+ html .dark .shiki .tokyo-night span [style *= 'color:#51597D' ],
666+ html .dark .shiki .tokyo-night span [style *= 'color: #51597D' ] {
681667 color : # 9099c0 !important ;
682668}
683669
0 commit comments