~james/core

core/web/src/lib/syntax.ts -rw-r--r-- 356 bytes
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 15 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
import { registerCustomCSSVariableTheme } from "@pierre/diffs";

// separate from pierre so a markdown page with no code doesn't load the diff renderer

export const SYNTAX_THEME_NAME = "tangled";

registerCustomCSSVariableTheme(SYNTAX_THEME_NAME, {
	background: "#ffffff",
	foreground: "#4c4f69"
});

export { getSharedHighlighter } from "@pierre/diffs";