File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export const CustomTheme = {
4444 mono : tailwindConfig . theme . extend . fontFamily . mono
4545 . join ( ', ' )
4646 . replace ( / " / gm, '' ) ,
47- size : tailwindConfig . theme . extend . fontSize . code ,
47+ size : tailwindConfig . theme . extend . fontSize [ 'sandpack- code' ] ,
4848 lineHeight : '24px' ,
4949 } ,
5050} ;
Original file line number Diff line number Diff line change 463463 color : # 58c4dc !important ; /* blue-40 */
464464 }
465465
466- .text-code {
467- font-size : calc (1em - 10% ) !important ;
468- }
469-
470466 .text-gradient {
471467 background-clip : text;
472468 -webkit-background-clip : text;
Original file line number Diff line number Diff line change @@ -102,7 +102,8 @@ module.exports = {
102102 base : '15px' ,
103103 sm : '13px' ,
104104 xs : '11px' ,
105- code : 'calc(1em - 20%)' ,
105+ code : 'calc(1em - 10%)' ,
106+ 'sandpack-code' : 'calc(1em - 20%)' ,
106107 } ,
107108 animation : {
108109 marquee : 'marquee 40s linear infinite' ,
You can’t perform that action at this time.
0 commit comments