debian-mirror-gitlab/app/assets/javascripts/ide/lib/themes/solarized_dark.js
2020-05-24 23:13:21 +05:30

1110 lines
24 KiB
JavaScript

/*
https://github.com/brijeshb42/monaco-themes/blob/master/themes/Solarized-dark.json
The MIT License (MIT)
Copyright (c) Brijesh Bittu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
export default {
base: 'vs-dark',
inherit: true,
rules: [
{
foreground: '586e75',
token: 'comment',
},
{
foreground: '2aa198',
token: 'string',
},
{
foreground: '586e75',
token: 'string',
},
{
foreground: 'dc322f',
token: 'string.regexp',
},
{
foreground: 'd33682',
token: 'constant.numeric',
},
{
foreground: '268bd2',
token: 'variable.language',
},
{
foreground: '268bd2',
token: 'variable.other',
},
{
foreground: '859900',
token: 'keyword',
},
{
foreground: '859900',
token: 'storage',
},
{
foreground: '268bd2',
token: 'entity.name.class',
},
{
foreground: '268bd2',
token: 'entity.name.type.class',
},
{
foreground: '268bd2',
token: 'entity.name.function',
},
{
foreground: '859900',
token: 'punctuation.definition.variable',
},
{
foreground: 'dc322f',
token: 'punctuation.section.embedded.begin',
},
{
foreground: 'dc322f',
token: 'punctuation.section.embedded.end',
},
{
foreground: 'b58900',
token: 'constant.language',
},
{
foreground: 'b58900',
token: 'meta.preprocessor',
},
{
foreground: 'dc322f',
token: 'support.function.construct',
},
{
foreground: 'dc322f',
token: 'keyword.other.new',
},
{
foreground: 'cb4b16',
token: 'constant.character',
},
{
foreground: 'cb4b16',
token: 'constant.other',
},
{
foreground: '268bd2',
fontStyle: 'bold',
token: 'entity.name.tag',
},
{
foreground: '586e75',
token: 'punctuation.definition.tag.html',
},
{
foreground: '586e75',
token: 'punctuation.definition.tag.begin',
},
{
foreground: '586e75',
token: 'punctuation.definition.tag.end',
},
{
foreground: '93a1a1',
token: 'entity.other.attribute-name',
},
{
foreground: '268bd2',
token: 'support.function',
},
{
foreground: 'dc322f',
token: 'punctuation.separator.continuation',
},
{
foreground: '859900',
token: 'support.type',
},
{
foreground: '859900',
token: 'support.class',
},
{
foreground: 'cb4b16',
token: 'support.type.exception',
},
{
foreground: 'cb4b16',
token: 'keyword.other.special-method',
},
{
foreground: '2aa198',
token: 'string.quoted.double',
},
{
foreground: '2aa198',
token: 'string.quoted.single',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.string.begin',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.string.end',
},
{
foreground: 'b58900',
token: 'entity.name.tag.css',
},
{
foreground: 'b58900',
token: 'support.type.property-name.css',
},
{
foreground: 'b58900',
token: 'meta.property-name.css',
},
{
foreground: 'dc322f',
token: 'source.css',
},
{
foreground: '586e75',
token: 'meta.selector.css',
},
{
foreground: '6c71c4',
token: 'punctuation.section.property-list.css',
},
{
foreground: '2aa198',
token: 'meta.property-value.css constant.numeric.css',
},
{
foreground: '2aa198',
token: 'keyword.other.unit.css',
},
{
foreground: '2aa198',
token: 'constant.other.color.rgb-value.css',
},
{
foreground: '2aa198',
token: 'meta.property-value.css',
},
{
foreground: 'dc322f',
token: 'keyword.other.important.css',
},
{
foreground: '2aa198',
token: 'support.constant.color',
},
{
foreground: '859900',
token: 'entity.name.tag.css',
},
{
foreground: '586e75',
token: 'punctuation.separator.key-value.css',
},
{
foreground: '586e75',
token: 'punctuation.terminator.rule.css',
},
{
foreground: '268bd2',
token: 'entity.other.attribute-name.class.css',
},
{
foreground: 'cb4b16',
token: 'entity.other.attribute-name.pseudo-element.css',
},
{
foreground: 'cb4b16',
token: 'entity.other.attribute-name.pseudo-class.css',
},
{
foreground: '268bd2',
token: 'entity.other.attribute-name.id.css',
},
{
foreground: 'b58900',
token: 'meta.function.js',
},
{
foreground: 'b58900',
token: 'entity.name.function.js',
},
{
foreground: 'b58900',
token: 'support.function.dom.js',
},
{
foreground: 'b58900',
token: 'text.html.basic source.js.embedded.html',
},
{
foreground: '268bd2',
token: 'storage.type.function.js',
},
{
foreground: '2aa198',
token: 'constant.numeric.js',
},
{
foreground: '268bd2',
token: 'meta.brace.square.js',
},
{
foreground: '268bd2',
token: 'storage.type.js',
},
{
foreground: '93a1a1',
token: 'meta.brace.round',
},
{
foreground: '93a1a1',
token: 'punctuation.definition.parameters.begin.js',
},
{
foreground: '93a1a1',
token: 'punctuation.definition.parameters.end.js',
},
{
foreground: '268bd2',
token: 'meta.brace.curly.js',
},
{
foreground: '93a1a1',
fontStyle: 'italic',
token: 'entity.name.tag.doctype.html',
},
{
foreground: '93a1a1',
fontStyle: 'italic',
token: 'meta.tag.sgml.html',
},
{
foreground: '93a1a1',
fontStyle: 'italic',
token: 'string.quoted.double.doctype.identifiers-and-DTDs.html',
},
{
foreground: '839496',
fontStyle: 'italic',
token: 'comment.block.html',
},
{
fontStyle: 'italic',
token: 'entity.name.tag.script.html',
},
{
foreground: '2aa198',
token: 'source.css.embedded.html string.quoted.double.html',
},
{
foreground: 'cb4b16',
fontStyle: 'bold',
token: 'text.html.ruby',
},
{
foreground: '657b83',
token: 'text.html.basic meta.tag.other.html',
},
{
foreground: '657b83',
token: 'text.html.basic meta.tag.any.html',
},
{
foreground: '657b83',
token: 'text.html.basic meta.tag.block.any',
},
{
foreground: '657b83',
token: 'text.html.basic meta.tag.inline.any',
},
{
foreground: '657b83',
token: 'text.html.basic meta.tag.structure.any.html',
},
{
foreground: '657b83',
token: 'text.html.basic source.js.embedded.html',
},
{
foreground: '657b83',
token: 'punctuation.separator.key-value.html',
},
{
foreground: '657b83',
token: 'text.html.basic entity.other.attribute-name.html',
},
{
foreground: '2aa198',
token: 'text.html.basic meta.tag.structure.any.html punctuation.definition.string.begin.html',
},
{
foreground: '2aa198',
token: 'punctuation.definition.string.begin.html',
},
{
foreground: '2aa198',
token: 'punctuation.definition.string.end.html',
},
{
foreground: '268bd2',
fontStyle: 'bold',
token: 'entity.name.tag.block.any.html',
},
{
fontStyle: 'italic',
token: 'source.css.embedded.html entity.name.tag.style.html',
},
{
foreground: '839496',
fontStyle: 'italic',
token: 'source.css.embedded.html',
},
{
foreground: '839496',
fontStyle: 'italic',
token: 'comment.block.html',
},
{
foreground: '268bd2',
token: 'punctuation.definition.variable.ruby',
},
{
foreground: '657b83',
token: 'meta.function.method.with-arguments.ruby',
},
{
foreground: '2aa198',
token: 'variable.language.ruby',
},
{
foreground: '268bd2',
token: 'entity.name.function.ruby',
},
{
foreground: '859900',
fontStyle: 'bold',
token: 'keyword.control.ruby',
},
{
foreground: '859900',
fontStyle: 'bold',
token: 'keyword.control.def.ruby',
},
{
foreground: '859900',
token: 'keyword.control.class.ruby',
},
{
foreground: '859900',
token: 'meta.class.ruby',
},
{
foreground: 'b58900',
token: 'entity.name.type.class.ruby',
},
{
foreground: '859900',
token: 'keyword.control.ruby',
},
{
foreground: 'b58900',
token: 'support.class.ruby',
},
{
foreground: '859900',
token: 'keyword.other.special-method.ruby',
},
{
foreground: '2aa198',
token: 'constant.language.ruby',
},
{
foreground: '2aa198',
token: 'constant.numeric.ruby',
},
{
foreground: 'b58900',
token: 'variable.other.constant.ruby',
},
{
foreground: '2aa198',
token: 'constant.other.symbol.ruby',
},
{
foreground: 'dc322f',
token: 'punctuation.section.embedded.ruby',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.string.begin.ruby',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.string.end.ruby',
},
{
foreground: 'cb4b16',
token: 'keyword.other.special-method.ruby',
},
{
foreground: 'cb4b16',
token: 'keyword.control.import.include.php',
},
{
foreground: '839496',
token: 'text.html.ruby meta.tag.inline.any.html',
},
{
foreground: '2aa198',
token: 'text.html.ruby punctuation.definition.string.begin',
},
{
foreground: '2aa198',
token: 'text.html.ruby punctuation.definition.string.end',
},
{
foreground: '839496',
token: 'punctuation.definition.string.begin',
},
{
foreground: '839496',
token: 'punctuation.definition.string.end',
},
{
foreground: '839496',
token: 'support.class.php',
},
{
foreground: 'dc322f',
token: 'keyword.operator.index-start.php',
},
{
foreground: 'dc322f',
token: 'keyword.operator.index-end.php',
},
{
foreground: '586e75',
token: 'meta.array.php',
},
{
foreground: 'b58900',
token: 'meta.array.php support.function.construct.php',
},
{
foreground: 'b58900',
token: 'meta.array.empty.php support.function.construct.php',
},
{
foreground: 'b58900',
token: 'support.function.construct.php',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.array.begin',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.array.end',
},
{
foreground: '2aa198',
token: 'constant.numeric.php',
},
{
foreground: 'cb4b16',
token: 'keyword.other.new.php',
},
{
foreground: '839496',
token: 'keyword.operator.class',
},
{
foreground: '93a1a1',
token: 'variable.other.property.php',
},
{
foreground: 'b58900',
token: 'storage.modifier.extends.php',
},
{
foreground: 'b58900',
token: 'storage.type.class.php',
},
{
foreground: 'b58900',
token: 'keyword.operator.class.php',
},
{
foreground: '839496',
token: 'punctuation.terminator.expression.php',
},
{
foreground: '586e75',
token: 'meta.other.inherited-class.php',
},
{
foreground: '859900',
token: 'storage.type.php',
},
{
foreground: '93a1a1',
token: 'entity.name.function.php',
},
{
foreground: '859900',
token: 'support.function.construct.php',
},
{
foreground: '839496',
token: 'entity.name.type.class.php',
},
{
foreground: '839496',
token: 'meta.function-call.php',
},
{
foreground: '839496',
token: 'meta.function-call.static.php',
},
{
foreground: '839496',
token: 'meta.function-call.object.php',
},
{
foreground: '93a1a1',
token: 'keyword.other.phpdoc',
},
{
foreground: 'cb4b16',
token: 'source.php.embedded.block.html',
},
{
foreground: 'cb4b16',
token: 'storage.type.function.php',
},
{
foreground: '2aa198',
token: 'constant.numeric.c',
},
{
foreground: 'cb4b16',
token: 'meta.preprocessor.c.include',
},
{
foreground: 'cb4b16',
token: 'meta.preprocessor.macro.c',
},
{
foreground: 'cb4b16',
token: 'keyword.control.import.define.c',
},
{
foreground: 'cb4b16',
token: 'keyword.control.import.include.c',
},
{
foreground: 'cb4b16',
token: 'entity.name.function.preprocessor.c',
},
{
foreground: '2aa198',
token: 'meta.preprocessor.c.include string.quoted.other.lt-gt.include.c',
},
{
foreground: '2aa198',
token: 'meta.preprocessor.c.include punctuation.definition.string.begin.c',
},
{
foreground: '2aa198',
token: 'meta.preprocessor.c.include punctuation.definition.string.end.c',
},
{
foreground: '586e75',
token: 'support.function.C99.c',
},
{
foreground: '586e75',
token: 'support.function.any-method.c',
},
{
foreground: '586e75',
token: 'entity.name.function.c',
},
{
foreground: '2aa198',
token: 'punctuation.definition.string.begin.c',
},
{
foreground: '2aa198',
token: 'punctuation.definition.string.end.c',
},
{
foreground: 'b58900',
token: 'storage.type.c',
},
{
foreground: 'e0eddd',
background: 'b58900',
fontStyle: 'italic',
token: 'meta.diff',
},
{
foreground: 'e0eddd',
background: 'b58900',
fontStyle: 'italic',
token: 'meta.diff.header',
},
{
foreground: 'dc322f',
background: 'eee8d5',
token: 'markup.deleted',
},
{
foreground: 'cb4b16',
background: 'eee8d5',
token: 'markup.changed',
},
{
foreground: '219186',
background: 'eee8d5',
token: 'markup.inserted',
},
{
foreground: 'e0eddd',
background: 'b58900',
token: 'text.html.markdown meta.dummy.line-break',
},
{
foreground: '2aa198',
token: 'text.html.markdown markup.raw.inline',
},
{
foreground: '2aa198',
token: 'text.restructuredtext markup.raw',
},
{
foreground: 'dc322f',
token: 'other.package.exclude',
},
{
foreground: 'dc322f',
token: 'other.remove',
},
{
foreground: '2aa198',
token: 'other.add',
},
{
foreground: 'dc322f',
token: 'punctuation.section.group.tex',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.arguments.begin.latex',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.arguments.end.latex',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.arguments.latex',
},
{
foreground: 'b58900',
token: 'meta.group.braces.tex',
},
{
foreground: 'b58900',
token: 'string.other.math.tex',
},
{
foreground: 'cb4b16',
token: 'variable.parameter.function.latex',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.constant.math.tex',
},
{
foreground: '2aa198',
token: 'text.tex.latex constant.other.math.tex',
},
{
foreground: '2aa198',
token: 'constant.other.general.math.tex',
},
{
foreground: '2aa198',
token: 'constant.other.general.math.tex',
},
{
foreground: '2aa198',
token: 'constant.character.math.tex',
},
{
foreground: 'b58900',
token: 'string.other.math.tex',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.string.begin.tex',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.string.end.tex',
},
{
foreground: '2aa198',
token: 'keyword.control.label.latex',
},
{
foreground: '2aa198',
token: 'text.tex.latex constant.other.general.math.tex',
},
{
foreground: 'dc322f',
token: 'variable.parameter.definition.label.latex',
},
{
foreground: '859900',
token: 'support.function.be.latex',
},
{
foreground: 'cb4b16',
token: 'support.function.section.latex',
},
{
foreground: '2aa198',
token: 'support.function.general.tex',
},
{
fontStyle: 'italic',
token: 'punctuation.definition.comment.tex',
},
{
fontStyle: 'italic',
token: 'comment.line.percentage.tex',
},
{
foreground: '2aa198',
token: 'keyword.control.ref.latex',
},
{
foreground: '586e75',
token: 'string.quoted.double.block.python',
},
{
foreground: '859900',
token: 'storage.type.class.python',
},
{
foreground: '859900',
token: 'storage.type.function.python',
},
{
foreground: '859900',
token: 'storage.modifier.global.python',
},
{
foreground: 'cb4b16',
token: 'keyword.control.import.python',
},
{
foreground: 'cb4b16',
token: 'keyword.control.import.from.python',
},
{
foreground: 'b58900',
token: 'support.type.exception.python',
},
{
foreground: '859900',
token: 'support.function.builtin.shell',
},
{
foreground: 'cb4b16',
token: 'variable.other.normal.shell',
},
{
foreground: '268bd2',
token: 'source.shell',
},
{
foreground: '586e75',
token: 'meta.scope.for-in-loop.shell',
},
{
foreground: '586e75',
token: 'variable.other.loop.shell',
},
{
foreground: '859900',
token: 'punctuation.definition.string.end.shell',
},
{
foreground: '859900',
token: 'punctuation.definition.string.begin.shell',
},
{
foreground: '586e75',
token: 'meta.scope.case-block.shell',
},
{
foreground: '586e75',
token: 'meta.scope.case-body.shell',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.logical-expression.shell',
},
{
fontStyle: 'italic',
token: 'comment.line.number-sign.shell',
},
{
foreground: 'cb4b16',
token: 'keyword.other.import.java',
},
{
foreground: '586e75',
token: 'storage.modifier.import.java',
},
{
foreground: 'b58900',
token: 'meta.class.java storage.modifier.java',
},
{
foreground: '586e75',
token: 'source.java comment.block',
},
{
foreground: '586e75',
token:
'comment.block meta.documentation.tag.param.javadoc keyword.other.documentation.param.javadoc',
},
{
foreground: 'b58900',
token: 'punctuation.definition.variable.perl',
},
{
foreground: 'b58900',
token: 'variable.other.readwrite.global.perl',
},
{
foreground: 'b58900',
token: 'variable.other.predefined.perl',
},
{
foreground: 'b58900',
token: 'keyword.operator.comparison.perl',
},
{
foreground: '859900',
token: 'support.function.perl',
},
{
foreground: '586e75',
fontStyle: 'italic',
token: 'comment.line.number-sign.perl',
},
{
foreground: '2aa198',
token: 'punctuation.definition.string.begin.perl',
},
{
foreground: '2aa198',
token: 'punctuation.definition.string.end.perl',
},
{
foreground: 'dc322f',
token: 'constant.character.escape.perl',
},
{
foreground: '268bd2',
token: 'markup.heading.markdown',
},
{
foreground: '268bd2',
token: 'markup.heading.1.markdown',
},
{
foreground: '268bd2',
token: 'markup.heading.2.markdown',
},
{
foreground: '268bd2',
token: 'markup.heading.3.markdown',
},
{
foreground: '268bd2',
token: 'markup.heading.4.markdown',
},
{
foreground: '268bd2',
token: 'markup.heading.5.markdown',
},
{
foreground: '268bd2',
token: 'markup.heading.6.markdown',
},
{
foreground: '839496',
fontStyle: 'bold',
token: 'markup.bold.markdown',
},
{
foreground: '839496',
fontStyle: 'italic',
token: 'markup.italic.markdown',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.bold.markdown',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.italic.markdown',
},
{
foreground: 'dc322f',
token: 'punctuation.definition.raw.markdown',
},
{
foreground: 'b58900',
token: 'markup.list.unnumbered.markdown',
},
{
foreground: '859900',
token: 'markup.list.numbered.markdown',
},
{
foreground: '2aa198',
token: 'markup.raw.block.markdown',
},
{
foreground: '2aa198',
token: 'markup.raw.inline.markdown',
},
{
foreground: '6c71c4',
token: 'markup.quote.markdown',
},
{
foreground: '6c71c4',
token: 'punctuation.definition.blockquote.markdown',
},
{
foreground: 'd33682',
token: 'meta.separator.markdown',
},
{
foreground: '586e75',
fontStyle: 'italic',
token: 'meta.image.inline.markdown',
},
{
foreground: '586e75',
fontStyle: 'italic',
token: 'markup.underline.link.markdown',
},
{
foreground: '93a1a1',
token: 'string.other.link.title.markdown',
},
{
foreground: '93a1a1',
token: 'string.other.link.description.markdown',
},
{
foreground: '586e75',
token: 'punctuation.definition.link.markdown',
},
{
foreground: '586e75',
token: 'punctuation.definition.metadata.markdown',
},
{
foreground: '586e75',
token: 'punctuation.definition.string.begin.markdown',
},
{
foreground: '586e75',
token: 'punctuation.definition.string.end.markdown',
},
{
foreground: '586e75',
token: 'punctuation.definition.constant.markdown',
},
{
foreground: 'eee8d5',
background: 'eee8d5',
token: 'sublimelinter.notes',
},
{
foreground: '93a1a1',
background: '93a1a1',
token: 'sublimelinter.outline.illegal',
},
{
background: 'dc322f',
token: 'sublimelinter.underline.illegal',
},
{
foreground: '839496',
background: '839496',
token: 'sublimelinter.outline.warning',
},
{
background: 'b58900',
token: 'sublimelinter.underline.warning',
},
{
foreground: '657b83',
background: '657b83',
token: 'sublimelinter.outline.violation',
},
{
background: 'cb4b16',
token: 'sublimelinter.underline.violation',
},
],
colors: {
'editor.foreground': '#839496',
'editor.background': '#002B36',
'editor.selectionBackground': '#073642',
'editor.lineHighlightBackground': '#073642',
'editorCursor.foreground': '#819090',
'editorWhitespace.foreground': '#073642',
},
};