UNPKG

@neo4j-ndl/react

Version:

React implementation of Neo4j Design System

126 lines 3.72 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * * Copyright (c) "Neo4j" * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ const style = { 'pre[class*="language-"]': { color: '#d4d4d4', fontSize: 'var(--font-size-code)', fontWeight: 'var(--font-weight-normal)', letterSpacing: '0', lineHeight: '1.25rem', textShadow: 'none', fontFamily: 'var(--font-font-family-code), monospace', direction: 'ltr', textAlign: 'left', whiteSpace: 'pre', wordSpacing: 'normal', wordBreak: 'normal', MozTabSize: '4', OTabSize: '4', tabSize: '4', WebkitHyphens: 'none', MozHyphens: 'none', msHyphens: 'none', hyphens: 'none', padding: '1em', margin: '.5em 0', overflow: 'auto', background: '#1e1e1e', }, 'code[class*="language-"]': { color: '#d4d4d4', fontSize: 'var(--font-size-code)', fontWeight: 'var(--font-weight-normal)', letterSpacing: '0', lineHeight: '1.25rem', textShadow: 'none', fontFamily: 'var(--font-font-family-code), monospace', direction: 'ltr', textAlign: 'left', whiteSpace: 'pre', wordSpacing: 'normal', wordBreak: 'normal', MozTabSize: '4', OTabSize: '4', tabSize: '4', WebkitHyphens: 'none', MozHyphens: 'none', msHyphens: 'none', hyphens: 'none', }, '.namespace': { opacity: '.7', }, comment: { color: 'rgb(var(--palette-code-dark-comment))', }, prolog: { color: 'rgb(var(--palette-code-dark-comment))', }, punctuation: { color: 'rgb(var(--palette-code-dark-operator))', }, property: { color: 'rgb(var(--palette-code-dark-property))', }, boolean: { color: 'rgb(var(--palette-code-dark-boolean-literal))', }, number: { color: 'rgb(var(--palette-code-dark-number-literal))', }, string: { color: 'rgb(var(--palette-code-dark-string-literal))', }, char: { color: 'rgb(var(--palette-code-dark-string-literal))', }, operator: { color: 'rgb(var(--palette-code-dark-operator))', }, keyword: { color: 'rgb(var(--palette-code-dark-keyword))', }, 'keyword.module': { color: 'rgb(var(--palette-code-dark-keyword))', }, 'keyword.control-flow': { color: 'rgb(var(--palette-code-dark-keyword))', }, function: { color: 'rgb(var(--palette-code-dark-function))', }, 'function.maybe-class-name': { color: 'rgb(var(--palette-code-dark-function))', }, regex: { color: 'rgb(var(--palette-code-dark-operator))', }, italic: { fontStyle: 'italic', }, variable: { color: 'rgb(var(--palette-code-dark-property))', }, }; exports.default = style; //# sourceMappingURL=ndl-code-dark.js.map