@@ -343,7 +343,7 @@ pre {
343343pre .shiki {
344344 overflow-x : auto;
345345
346- & .tokyo-night {
346+ & .vitesse-dark {
347347 @apply text-gray-400;
348348 }
349349}
@@ -371,12 +371,26 @@ 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+
374388pre .has-diff span .remove {
375- background-color : # ff000036 ;
389+ background-color : # f43f5e29 ;
376390}
377391
378392pre .has-diff span .add {
379- background-color : # 00ff0036 ;
393+ background-color : # 10b98129 ;
380394}
381395/* Visually differentiates twoslash code samples */
382396pre .twoslash {
@@ -650,7 +664,7 @@ pre .logger.log-log svg {
650664 margin-right : 9px ;
651665}
652666
653- html : not (.dark ) .shiki .tokyo-night {
667+ html : not (.dark ) .shiki .vitesse-dark {
654668 display : none;
655669}
656670
@@ -659,11 +673,11 @@ html.dark .shiki.github-light {
659673}
660674
661675/* Improve comment contrast in dark mode */
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' ] {
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' ] {
667681 color : # 9099c0 !important ;
668682}
669683
0 commit comments