Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { css } from 'styled-components';
import * as HighlighJs from 'react-syntax-highlighter/dist/cjs/styles/hljs';
const syntaxHighlight = HighlighJs.tomorrowNightEighties;
const theme = {
base: css`
color: #000;
background-color: #fff;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell,
Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
`,
syntaxHighlight,
code: css`
font-size: 14px;
line-height: 20px;
background-color: ${syntaxHighlight.hljs.background};
`,
inlineCode: css`
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;