Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions static/css/code/syntax-highlight.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ CodeFlask mappings
); /* Makes the text input cursor visible in dark mode */
}

.codeflask .codeflask__lines {
background: var(--code-background);
color: var(--code-token-comment);
}

.codeflask {
background: var(--code-background);
color: var(--code-token-base);
Expand Down
1 change: 1 addition & 0 deletions static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function highlightOutput(target, childClassName) {
const editor = new CodeFlask("#editor-target", {
language: "gleam",
defaultTheme: false,
lineNumbers: true,
});
editor.addLanguage("gleam", prismGrammar);
editor.updateCode(initialCode);
Expand Down