@@ -328,6 +328,107 @@ pre code {
328328 color : var (--text-muted );
329329}
330330
331+ /* Chroma Syntax Highlighting Styles */
332+ /* Background */ .bg { background-color : var (--code-bg ); }
333+ /* PreWrapper */ .chroma { background-color : var (--code-bg ); }
334+ /* Other */ .chroma .x { }
335+ /* Error */ .chroma .err { color : # f6f8fa ;background-color : # 82071e }
336+ /* CodeLine */ .chroma .cl { }
337+ /* LineLink */ .chroma .lnlinks { outline : none;text-decoration : none;color : inherit }
338+ /* LineTableTD */ .chroma .lntd { vertical-align : top;padding : 0 ;margin : 0 ;border : 0 ; }
339+ /* LineTable */ .chroma .lntable { border-spacing : 0 ;padding : 0 ;margin : 0 ;border : 0 ; }
340+ /* LineHighlight */ .chroma .hl { background-color : # e5e5e5 }
341+ /* LineNumbersTable */ .chroma .lnt { white-space : pre;-webkit-user-select : none;user-select : none;margin-right : 0.4em ;padding : 0 0.4em 0 0.4em ;color : # 7f7f7f }
342+ /* LineNumbers */ .chroma .ln { white-space : pre;-webkit-user-select : none;user-select : none;margin-right : 0.4em ;padding : 0 0.4em 0 0.4em ;color : # 7f7f7f }
343+ /* Line */ .chroma .line { display : flex; }
344+ /* Keyword */ .chroma .k { color : # cf222e }
345+ /* KeywordConstant */ .chroma .kc { color : # cf222e }
346+ /* KeywordDeclaration */ .chroma .kd { color : # cf222e }
347+ /* KeywordNamespace */ .chroma .kn { color : # cf222e }
348+ /* KeywordPseudo */ .chroma .kp { color : # cf222e }
349+ /* KeywordReserved */ .chroma .kr { color : # cf222e }
350+ /* KeywordType */ .chroma .kt { color : # cf222e }
351+ /* Name */ .chroma .n { }
352+ /* NameAttribute */ .chroma .na { color : # 1f2328 }
353+ /* NameClass */ .chroma .nc { color : # 1f2328 }
354+ /* NameConstant */ .chroma .no { color : # 0550ae }
355+ /* NameDecorator */ .chroma .nd { color : # 0550ae }
356+ /* NameEntity */ .chroma .ni { color : # 6639ba }
357+ /* NameException */ .chroma .ne { }
358+ /* NameLabel */ .chroma .nl { color : # 900 ;font-weight : bold }
359+ /* NameNamespace */ .chroma .nn { color : # 24292e }
360+ /* NameOther */ .chroma .nx { color : # 1f2328 }
361+ /* NameProperty */ .chroma .py { }
362+ /* NameTag */ .chroma .nt { color : # 0550ae }
363+ /* NameBuiltin */ .chroma .nb { color : # 6639ba }
364+ /* NameBuiltinPseudo */ .chroma .bp { color : # 6a737d }
365+ /* NameVariable */ .chroma .nv { color : # 953800 }
366+ /* NameVariableClass */ .chroma .vc { color : # 953800 }
367+ /* NameVariableGlobal */ .chroma .vg { color : # 953800 }
368+ /* NameVariableInstance */ .chroma .vi { color : # 953800 }
369+ /* NameVariableMagic */ .chroma .vm { color : # 953800 }
370+ /* NameFunction */ .chroma .nf { color : # 6639ba }
371+ /* NameFunctionMagic */ .chroma .fm { color : # 6639ba }
372+ /* Literal */ .chroma .l { }
373+ /* LiteralDate */ .chroma .ld { }
374+ /* LiteralString */ .chroma .s { color : # 0a3069 }
375+ /* LiteralStringAffix */ .chroma .sa { color : # 0a3069 }
376+ /* LiteralStringBacktick */ .chroma .sb { color : # 0a3069 }
377+ /* LiteralStringChar */ .chroma .sc { color : # 0a3069 }
378+ /* LiteralStringDelimiter */ .chroma .dl { color : # 0a3069 }
379+ /* LiteralStringDoc */ .chroma .sd { color : # 0a3069 }
380+ /* LiteralStringDouble */ .chroma .s2 { color : # 0a3069 }
381+ /* LiteralStringEscape */ .chroma .se { color : # 0a3069 }
382+ /* LiteralStringHeredoc */ .chroma .sh { color : # 0a3069 }
383+ /* LiteralStringInterpol */ .chroma .si { color : # 0a3069 }
384+ /* LiteralStringOther */ .chroma .sx { color : # 0a3069 }
385+ /* LiteralStringRegex */ .chroma .sr { color : # 0a3069 }
386+ /* LiteralStringSingle */ .chroma .s1 { color : # 0a3069 }
387+ /* LiteralStringSymbol */ .chroma .ss { color : # 032f62 }
388+ /* LiteralNumber */ .chroma .m { color : # 0550ae }
389+ /* LiteralNumberBin */ .chroma .mb { color : # 0550ae }
390+ /* LiteralNumberFloat */ .chroma .mf { color : # 0550ae }
391+ /* LiteralNumberHex */ .chroma .mh { color : # 0550ae }
392+ /* LiteralNumberInteger */ .chroma .mi { color : # 0550ae }
393+ /* LiteralNumberIntegerLong */ .chroma .il { color : # 0550ae }
394+ /* LiteralNumberOct */ .chroma .mo { color : # 0550ae }
395+ /* Operator */ .chroma .o { color : # 0550ae }
396+ /* OperatorWord */ .chroma .ow { color : # 0550ae }
397+ /* Punctuation */ .chroma .p { color : # 1f2328 }
398+ /* Comment */ .chroma .c { color : # 57606a }
399+ /* CommentHashbang */ .chroma .ch { color : # 57606a }
400+ /* CommentMultiline */ .chroma .cm { color : # 57606a }
401+ /* CommentSingle */ .chroma .c1 { color : # 57606a }
402+ /* CommentSpecial */ .chroma .cs { color : # 57606a }
403+ /* CommentPreproc */ .chroma .cp { color : # 57606a }
404+ /* CommentPreprocFile */ .chroma .cpf { color : # 57606a }
405+ /* Generic */ .chroma .g { }
406+ /* GenericDeleted */ .chroma .gd { color : # 82071e ;background-color : # ffebe9 }
407+ /* GenericEmph */ .chroma .ge { color : # 1f2328 }
408+ /* GenericError */ .chroma .gr { }
409+ /* GenericHeading */ .chroma .gh { }
410+ /* GenericInserted */ .chroma .gi { color : # 116329 ;background-color : # dafbe1 }
411+ /* GenericOutput */ .chroma .go { color : # 1f2328 }
412+ /* GenericPrompt */ .chroma .gp { }
413+ /* GenericStrong */ .chroma .gs { }
414+ /* GenericSubheading */ .chroma .gu { }
415+ /* GenericTraceback */ .chroma .gt { }
416+ /* GenericUnderline */ .chroma .gl { text-decoration : underline }
417+ /* TextWhitespace */ .chroma .w { color : # fff }
418+
419+ /* Dark theme adjustments for syntax highlighting */
420+ [data-theme = "dark" ] .chroma { background-color : var (--code-bg ); color : var (--text-primary ); }
421+ [data-theme = "dark" ] .chroma .k { color : # ff7b72 ; } /* Keywords - red */
422+ [data-theme = "dark" ] .chroma .s { color : # a5d6ff ; } /* Strings - blue */
423+ [data-theme = "dark" ] .chroma .s1 { color : # a5d6ff ; } /* Single quoted strings - blue */
424+ [data-theme = "dark" ] .chroma .m { color : # 79c0ff ; } /* Numbers - cyan */
425+ [data-theme = "dark" ] .chroma .c { color : # 8b949e ; } /* Comments - gray */
426+ [data-theme = "dark" ] .chroma .nf { color : # d2a8ff ; } /* Function names - purple */
427+ [data-theme = "dark" ] .chroma .nb { color : # ffa657 ; } /* Built-ins - orange */
428+ [data-theme = "dark" ] .chroma .n { color : var (--text-primary ); } /* Names - white */
429+ [data-theme = "dark" ] .chroma .p { color : var (--text-secondary ); } /* Punctuation - light gray */
430+ [data-theme = "dark" ] .chroma code { color : var (--text-primary ); } /* Default code text - white */
431+
331432/* Responsive design */
332433@media (max-width : 768px ) {
333434 .container {
0 commit comments