@@ -422,6 +422,128 @@ exports[`defaultColor light-dark() > defaultColor light-dark() with multiple the
422422}
423423` ;
424424
425+ exports [` defaultColor light-dark() > with font style > css-vars 1` ] = `
426+ {
427+ " bg" : " --shiki-light-bg:#282A36;--shiki-dark-bg:#282A36" ,
428+ " fg" : " --shiki-light:#F8F8F2;--shiki-dark:#f6f6f4" ,
429+ " grammarState" : {
430+ " lang" : " markdown" ,
431+ " scopes" : [
432+ " meta.paragraph.markdown" ,
433+ " text.html.markdown" ,
434+ ],
435+ " theme" : " dracula" ,
436+ " themes" : [
437+ " dracula" ,
438+ " dracula-soft" ,
439+ ],
440+ },
441+ " rootStyle" : " --shiki-light:#F8F8F2;--shiki-dark:#f6f6f4;--shiki-light-bg:#282A36;--shiki-dark-bg:#282A36" ,
442+ " themeName" : " shiki-themes dracula dracula-soft" ,
443+ " tokens" : [
444+ [
445+ {
446+ " content" : " text " ,
447+ " explanation" : undefined ,
448+ " htmlStyle" : {
449+ " --shiki-dark" : " #F6F6F4" ,
450+ " --shiki-light" : " #F8F8F2" ,
451+ },
452+ " offset" : 0 ,
453+ },
454+ {
455+ " content" : " *italic*" ,
456+ " explanation" : undefined ,
457+ " htmlStyle" : {
458+ " --shiki-dark" : " #E7EE98" ,
459+ " --shiki-dark-font-style" : " italic" ,
460+ " --shiki-light" : " #F1FA8C" ,
461+ " --shiki-light-font-style" : " italic" ,
462+ },
463+ " offset" : 5 ,
464+ },
465+ {
466+ " content" : " " ,
467+ " explanation" : undefined ,
468+ " htmlStyle" : {
469+ " --shiki-dark" : " #F6F6F4" ,
470+ " --shiki-light" : " #F8F8F2" ,
471+ },
472+ " offset" : 13 ,
473+ },
474+ {
475+ " content" : " **bold**" ,
476+ " explanation" : undefined ,
477+ " htmlStyle" : {
478+ " --shiki-dark" : " #FFB86C" ,
479+ " --shiki-dark-font-weight" : " bold" ,
480+ " --shiki-light" : " #FFB86C" ,
481+ " --shiki-light-font-weight" : " bold" ,
482+ },
483+ " offset" : 14 ,
484+ },
485+ ],
486+ ],
487+ }
488+ ` ;
489+
490+ exports [` defaultColor light-dark() > with font style > light-dark() 1` ] = `
491+ {
492+ " bg" : " light-dark(#282A36, #282A36);--shiki-light-bg:#282A36" ,
493+ " fg" : " light-dark(#F8F8F2, #f6f6f4);--shiki-light:#F8F8F2" ,
494+ " grammarState" : {
495+ " lang" : " markdown" ,
496+ " scopes" : [
497+ " meta.paragraph.markdown" ,
498+ " text.html.markdown" ,
499+ ],
500+ " theme" : " dracula" ,
501+ " themes" : [
502+ " dracula" ,
503+ " dracula-soft" ,
504+ ],
505+ },
506+ " rootStyle" : undefined ,
507+ " themeName" : " shiki-themes dracula dracula-soft" ,
508+ " tokens" : [
509+ [
510+ {
511+ " content" : " text " ,
512+ " explanation" : undefined ,
513+ " htmlStyle" : {
514+ " color" : " light-dark(#F8F8F2, #F6F6F4)" ,
515+ },
516+ " offset" : 0 ,
517+ },
518+ {
519+ " content" : " *italic*" ,
520+ " explanation" : undefined ,
521+ " htmlStyle" : {
522+ " color" : " light-dark(#F1FA8C, #E7EE98)" ,
523+ },
524+ " offset" : 5 ,
525+ },
526+ {
527+ " content" : " " ,
528+ " explanation" : undefined ,
529+ " htmlStyle" : {
530+ " color" : " light-dark(#F8F8F2, #F6F6F4)" ,
531+ },
532+ " offset" : 13 ,
533+ },
534+ {
535+ " content" : " **bold**" ,
536+ " explanation" : undefined ,
537+ " htmlStyle" : {
538+ " color" : " light-dark(#FFB86C, #FFB86C)" ,
539+ },
540+ " offset" : 14 ,
541+ },
542+ ],
543+ ],
544+ }
545+ ` ;
546+
425547exports [` includeExplanation > false 1` ] = `
426548[
427549 [
0 commit comments