mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
Move syntax-highlighter theme from ui-styles to ui-components
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user