Move syntax-highlighter theme from ui-styles to ui-components

This commit is contained in:
Sebastian Sdorra
2020-10-22 10:17:51 +02:00
parent 0442a28f7c
commit 88286623a8
10 changed files with 51 additions and 17 deletions

View File

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

View File

@@ -30,7 +30,7 @@ import { PrismAsyncLight as ReactSyntaxHighlighter, createElement } from "react-
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// @ts-ignore
// eslint-disable-next-line no-restricted-imports
import highlightingTheme from "@scm-manager/ui-styles/src/syntax-highlighting";
import highlightingTheme from "../../syntax-highlighting";
import { DateInput } from "../../useDateFormatter";
import Popover from "./Popover";
import AnnotateLine from "./AnnotateLine";