Skip to content

how to change code block theme? #1416

Answered by Timeless0911
isnakode asked this question in Q&A
Discussion options

You must be logged in to vote

use Custom Styles to override styles.

  • :root {
    --code-color-text: #414141;
    --code-color-background: transparent;
    --code-token-constant: #f59403;
    --code-token-string: #31a94d;
    --code-token-comment: rgb(182, 180, 180);
    --code-token-keyword: #cf2727;
    --code-token-parameter: #1976d2;
    --code-token-function: #7041c8;
    --code-token-string-expression: #218438;
    --code-token-punctuation: #242323;
    --code-token-link: #22863a;
    --code-token-variable: #1976d2;
    --code-token-symbol: #f59403;
    --code-token-deleted: #d32828;
    --code-token-inserted: #

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by isnakode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants