implement custom highlighting theme

This commit is contained in:
Konstantin Schaper
2020-10-12 18:53:31 +02:00
parent a043e7f805
commit 17f5f4b46e
9 changed files with 602 additions and 8 deletions

View File

@@ -29,7 +29,8 @@ import { File } from "./DiffTypes";
// styling for the diff tokens
// this must be aligned with th style, which is used in the SyntaxHighlighter component
import "prism-themes/themes/prism-ghcolors.css";
// eslint-disable-next-line no-restricted-imports
import "@scm-manager/ui-styles/src/syntax-highlighting.css";
const DiffView = styled(Diff)`
/* align line numbers */