addons/isl/src/ComparisonView/SplitDiffView/VSCodeDarkPlusTheme.tsblame
View source
b69ab311/**
b69ab312 * Copyright (c) Meta Platforms, Inc. and affiliates.
b69ab313 *
b69ab314 * This source code is licensed under the MIT license found in the
b69ab315 * LICENSE file in the root directory of this source tree.
b69ab316 */
b69ab317
b69ab318import type {IRawTheme} from 'vscode-textmate';
b69ab319
b69ab3110// Theme data fetched from:
b69ab3111// https://github.com/microsoft/vscode/raw/a716714a88891cad69c0753fb95923870df295f5/extensions/theme-defaults/themes/dark_plus.json
b69ab3112
b69ab3113const theme: IRawTheme = {
b69ab3114 name: 'Dark+ (default dark)',
b69ab3115 settings: [
b69ab3116 {
b69ab3117 settings: {
b69ab3118 foreground: '#D4D4D4',
b69ab3119 background: '#1E1E1E',
b69ab3120 },
b69ab3121 },
b69ab3122 {
b69ab3123 name: 'Function declarations',
b69ab3124 scope: [
b69ab3125 'entity.name.function',
b69ab3126 'support.function',
b69ab3127 'support.constant.handlebars',
b69ab3128 'source.powershell variable.other.member',
b69ab3129 'entity.name.operator.custom-literal',
b69ab3130 ],
b69ab3131 settings: {
b69ab3132 foreground: '#DCDCAA',
b69ab3133 },
b69ab3134 },
b69ab3135 {
b69ab3136 name: 'Types declaration and references',
b69ab3137 scope: [
b69ab3138 'meta.return-type',
b69ab3139 'support.class',
b69ab3140 'support.type',
b69ab3141 'entity.name.type',
b69ab3142 'entity.name.namespace',
b69ab3143 'entity.other.attribute',
b69ab3144 'entity.name.scope-resolution',
b69ab3145 'entity.name.class',
b69ab3146 'storage.type.numeric.go',
b69ab3147 'storage.type.byte.go',
b69ab3148 'storage.type.boolean.go',
b69ab3149 'storage.type.string.go',
b69ab3150 'storage.type.uintptr.go',
b69ab3151 'storage.type.error.go',
b69ab3152 'storage.type.rune.go',
b69ab3153 'storage.type.cs',
b69ab3154 'storage.type.generic.cs',
b69ab3155 'storage.type.modifier.cs',
b69ab3156 'storage.type.variable.cs',
b69ab3157 'storage.type.annotation.java',
b69ab3158 'storage.type.generic.java',
b69ab3159 'storage.type.java',
b69ab3160 'storage.type.object.array.java',
b69ab3161 'storage.type.primitive.array.java',
b69ab3162 'storage.type.primitive.java',
b69ab3163 'storage.type.token.java',
b69ab3164 'storage.type.groovy',
b69ab3165 'storage.type.annotation.groovy',
b69ab3166 'storage.type.parameters.groovy',
b69ab3167 'storage.type.generic.groovy',
b69ab3168 'storage.type.object.array.groovy',
b69ab3169 'storage.type.primitive.array.groovy',
b69ab3170 'storage.type.primitive.groovy',
b69ab3171 ],
b69ab3172 settings: {
b69ab3173 foreground: '#4EC9B0',
b69ab3174 },
b69ab3175 },
b69ab3176 {
b69ab3177 name: 'Types declaration and references, TS grammar specific',
b69ab3178 scope: [
b69ab3179 'meta.type.cast.expr',
b69ab3180 'meta.type.new.expr',
b69ab3181 'support.constant.math',
b69ab3182 'support.constant.dom',
b69ab3183 'support.constant.json',
b69ab3184 'entity.other.inherited-class',
b69ab3185 ],
b69ab3186 settings: {
b69ab3187 foreground: '#4EC9B0',
b69ab3188 },
b69ab3189 },
b69ab3190 {
b69ab3191 name: 'Control flow / Special keywords',
b69ab3192 scope: [
b69ab3193 'keyword.control',
b69ab3194 'source.cpp keyword.operator.new',
b69ab3195 'keyword.operator.delete',
b69ab3196 'keyword.other.using',
b69ab3197 'keyword.other.operator',
b69ab3198 'entity.name.operator',
b69ab3199 ],
b69ab31100 settings: {
b69ab31101 foreground: '#C586C0',
b69ab31102 },
b69ab31103 },
b69ab31104 {
b69ab31105 name: 'Variable and parameter name',
b69ab31106 scope: [
b69ab31107 'variable',
b69ab31108 'meta.definition.variable.name',
b69ab31109 'support.variable',
b69ab31110 'entity.name.variable',
b69ab31111 ],
b69ab31112 settings: {
b69ab31113 foreground: '#9CDCFE',
b69ab31114 },
b69ab31115 },
b69ab31116 {
b69ab31117 name: 'Constants and enums',
b69ab31118 scope: ['variable.other.constant', 'variable.other.enummember'],
b69ab31119 settings: {
b69ab31120 foreground: '#51B6C4',
b69ab31121 },
b69ab31122 },
b69ab31123 {
b69ab31124 name: 'Object keys, TS grammar specific',
b69ab31125 scope: 'meta.object-literal.key',
b69ab31126 settings: {
b69ab31127 foreground: '#9CDCFE',
b69ab31128 },
b69ab31129 },
b69ab31130 {
b69ab31131 name: 'CSS property value',
b69ab31132 scope: [
b69ab31133 'support.constant.property-value',
b69ab31134 'support.constant.font-name',
b69ab31135 'support.constant.media-type',
b69ab31136 'support.constant.media',
b69ab31137 'constant.other.color.rgb-value',
b69ab31138 'constant.other.rgb-value',
b69ab31139 'support.constant.color',
b69ab31140 ],
b69ab31141 settings: {
b69ab31142 foreground: '#CE9178',
b69ab31143 },
b69ab31144 },
b69ab31145 {
b69ab31146 name: 'Regular expression groups',
b69ab31147 scope: [
b69ab31148 'punctuation.definition.group.regexp',
b69ab31149 'punctuation.definition.group.assertion.regexp',
b69ab31150 'punctuation.definition.character-class.regexp',
b69ab31151 'punctuation.character.set.begin.regexp',
b69ab31152 'punctuation.character.set.end.regexp',
b69ab31153 'keyword.operator.negation.regexp',
b69ab31154 'support.other.parenthesis.regexp',
b69ab31155 ],
b69ab31156 settings: {
b69ab31157 foreground: '#CE9178',
b69ab31158 },
b69ab31159 },
b69ab31160 {
b69ab31161 scope: [
b69ab31162 'constant.character.character-class.regexp',
b69ab31163 'constant.other.character-class.set.regexp',
b69ab31164 'constant.other.character-class.regexp',
b69ab31165 'constant.character.set.regexp',
b69ab31166 ],
b69ab31167 settings: {
b69ab31168 foreground: '#d16969',
b69ab31169 },
b69ab31170 },
b69ab31171 {
b69ab31172 scope: ['keyword.operator.or.regexp', 'keyword.control.anchor.regexp'],
b69ab31173 settings: {
b69ab31174 foreground: '#DCDCAA',
b69ab31175 },
b69ab31176 },
b69ab31177 {
b69ab31178 scope: 'keyword.operator.quantifier.regexp',
b69ab31179 settings: {
b69ab31180 foreground: '#d7ba7d',
b69ab31181 },
b69ab31182 },
b69ab31183 {
b69ab31184 scope: 'constant.character',
b69ab31185 settings: {
b69ab31186 foreground: '#569cd6',
b69ab31187 },
b69ab31188 },
b69ab31189 {
b69ab31190 scope: 'constant.character.escape',
b69ab31191 settings: {
b69ab31192 foreground: '#d7ba7d',
b69ab31193 },
b69ab31194 },
b69ab31195 {
b69ab31196 scope: 'entity.name.label',
b69ab31197 settings: {
b69ab31198 foreground: '#C8C8C8',
b69ab31199 },
b69ab31200 },
b69ab31201 {
b69ab31202 scope: ['meta.embedded', 'source.groovy.embedded'],
b69ab31203 settings: {
b69ab31204 foreground: '#D4D4D4',
b69ab31205 },
b69ab31206 },
b69ab31207 {
b69ab31208 scope: 'emphasis',
b69ab31209 settings: {
b69ab31210 fontStyle: 'italic',
b69ab31211 },
b69ab31212 },
b69ab31213 {
b69ab31214 scope: 'strong',
b69ab31215 settings: {
b69ab31216 fontStyle: 'bold',
b69ab31217 },
b69ab31218 },
b69ab31219 {
b69ab31220 scope: 'header',
b69ab31221 settings: {
b69ab31222 foreground: '#000080',
b69ab31223 },
b69ab31224 },
b69ab31225 {
b69ab31226 scope: 'comment',
b69ab31227 settings: {
b69ab31228 foreground: '#6A9955',
b69ab31229 },
b69ab31230 },
b69ab31231 {
b69ab31232 scope: 'constant.language',
b69ab31233 settings: {
b69ab31234 foreground: '#569cd6',
b69ab31235 },
b69ab31236 },
b69ab31237 {
b69ab31238 scope: [
b69ab31239 'constant.numeric',
b69ab31240 'entity.name.operator.custom-literal.number',
b69ab31241 'keyword.operator.plus.exponent',
b69ab31242 'keyword.operator.minus.exponent',
b69ab31243 ],
b69ab31244 settings: {
b69ab31245 foreground: '#b5cea8',
b69ab31246 },
b69ab31247 },
b69ab31248 {
b69ab31249 scope: 'constant.regexp',
b69ab31250 settings: {
b69ab31251 foreground: '#646695',
b69ab31252 },
b69ab31253 },
b69ab31254 {
b69ab31255 scope: 'entity.name.tag',
b69ab31256 settings: {
b69ab31257 foreground: '#569cd6',
b69ab31258 },
b69ab31259 },
b69ab31260 {
b69ab31261 scope: 'entity.name.tag.css',
b69ab31262 settings: {
b69ab31263 foreground: '#d7ba7d',
b69ab31264 },
b69ab31265 },
b69ab31266 {
b69ab31267 scope: 'entity.other.attribute-name',
b69ab31268 settings: {
b69ab31269 foreground: '#9cdcfe',
b69ab31270 },
b69ab31271 },
b69ab31272 {
b69ab31273 scope: [
b69ab31274 'entity.other.attribute-name.class.css',
b69ab31275 'entity.other.attribute-name.class.mixin.css',
b69ab31276 'entity.other.attribute-name.id.css',
b69ab31277 'entity.other.attribute-name.parent-selector.css',
b69ab31278 'entity.other.attribute-name.pseudo-class.css',
b69ab31279 'entity.other.attribute-name.pseudo-element.css',
b69ab31280 'source.css.less entity.other.attribute-name.id',
b69ab31281 'entity.other.attribute-name.attribute.scss',
b69ab31282 'entity.other.attribute-name.scss',
b69ab31283 ],
b69ab31284 settings: {
b69ab31285 foreground: '#d7ba7d',
b69ab31286 },
b69ab31287 },
b69ab31288 {
b69ab31289 scope: 'invalid',
b69ab31290 settings: {
b69ab31291 foreground: '#f44747',
b69ab31292 },
b69ab31293 },
b69ab31294 {
b69ab31295 scope: 'markup.underline',
b69ab31296 settings: {
b69ab31297 fontStyle: 'underline',
b69ab31298 },
b69ab31299 },
b69ab31300 {
b69ab31301 scope: 'markup.bold',
b69ab31302 settings: {
b69ab31303 fontStyle: 'bold',
b69ab31304 foreground: '#569cd6',
b69ab31305 },
b69ab31306 },
b69ab31307 {
b69ab31308 scope: 'markup.heading',
b69ab31309 settings: {
b69ab31310 fontStyle: 'bold',
b69ab31311 foreground: '#569cd6',
b69ab31312 },
b69ab31313 },
b69ab31314 {
b69ab31315 scope: 'markup.italic',
b69ab31316 settings: {
b69ab31317 fontStyle: 'italic',
b69ab31318 },
b69ab31319 },
b69ab31320 {
b69ab31321 scope: 'markup.inserted',
b69ab31322 settings: {
b69ab31323 foreground: '#b5cea8',
b69ab31324 },
b69ab31325 },
b69ab31326 {
b69ab31327 scope: 'markup.deleted',
b69ab31328 settings: {
b69ab31329 foreground: '#ce9178',
b69ab31330 },
b69ab31331 },
b69ab31332 {
b69ab31333 scope: 'markup.changed',
b69ab31334 settings: {
b69ab31335 foreground: '#569cd6',
b69ab31336 },
b69ab31337 },
b69ab31338 {
b69ab31339 scope: 'punctuation.definition.quote.begin.markdown',
b69ab31340 settings: {
b69ab31341 foreground: '#6A9955',
b69ab31342 },
b69ab31343 },
b69ab31344 {
b69ab31345 scope: 'punctuation.definition.list.begin.markdown',
b69ab31346 settings: {
b69ab31347 foreground: '#6796e6',
b69ab31348 },
b69ab31349 },
b69ab31350 {
b69ab31351 scope: 'markup.inline.raw',
b69ab31352 settings: {
b69ab31353 foreground: '#ce9178',
b69ab31354 },
b69ab31355 },
b69ab31356 {
b69ab31357 name: 'brackets of XML/HTML tags',
b69ab31358 scope: 'punctuation.definition.tag',
b69ab31359 settings: {
b69ab31360 foreground: '#808080',
b69ab31361 },
b69ab31362 },
b69ab31363 {
b69ab31364 scope: ['meta.preprocessor', 'entity.name.function.preprocessor'],
b69ab31365 settings: {
b69ab31366 foreground: '#569cd6',
b69ab31367 },
b69ab31368 },
b69ab31369 {
b69ab31370 scope: 'meta.preprocessor.string',
b69ab31371 settings: {
b69ab31372 foreground: '#ce9178',
b69ab31373 },
b69ab31374 },
b69ab31375 {
b69ab31376 scope: 'meta.preprocessor.numeric',
b69ab31377 settings: {
b69ab31378 foreground: '#b5cea8',
b69ab31379 },
b69ab31380 },
b69ab31381 {
b69ab31382 scope: 'meta.structure.dictionary.key.python',
b69ab31383 settings: {
b69ab31384 foreground: '#9cdcfe',
b69ab31385 },
b69ab31386 },
b69ab31387 {
b69ab31388 scope: 'meta.diff.header',
b69ab31389 settings: {
b69ab31390 foreground: '#569cd6',
b69ab31391 },
b69ab31392 },
b69ab31393 {
b69ab31394 scope: 'storage',
b69ab31395 settings: {
b69ab31396 foreground: '#569cd6',
b69ab31397 },
b69ab31398 },
b69ab31399 {
b69ab31400 scope: 'storage.type',
b69ab31401 settings: {
b69ab31402 foreground: '#569cd6',
b69ab31403 },
b69ab31404 },
b69ab31405 {
b69ab31406 scope: ['storage.modifier', 'keyword.operator.noexcept'],
b69ab31407 settings: {
b69ab31408 foreground: '#569cd6',
b69ab31409 },
b69ab31410 },
b69ab31411 {
b69ab31412 scope: ['string', 'entity.name.operator.custom-literal.string', 'meta.embedded.assembly'],
b69ab31413 settings: {
b69ab31414 foreground: '#ce9178',
b69ab31415 },
b69ab31416 },
b69ab31417 {
b69ab31418 scope: 'string.tag',
b69ab31419 settings: {
b69ab31420 foreground: '#ce9178',
b69ab31421 },
b69ab31422 },
b69ab31423 {
b69ab31424 scope: 'string.value',
b69ab31425 settings: {
b69ab31426 foreground: '#ce9178',
b69ab31427 },
b69ab31428 },
b69ab31429 {
b69ab31430 scope: 'string.regexp',
b69ab31431 settings: {
b69ab31432 foreground: '#d16969',
b69ab31433 },
b69ab31434 },
b69ab31435 {
b69ab31436 name: 'String interpolation',
b69ab31437 scope: [
b69ab31438 'punctuation.definition.template-expression.begin',
b69ab31439 'punctuation.definition.template-expression.end',
b69ab31440 'punctuation.section.embedded',
b69ab31441 ],
b69ab31442 settings: {
b69ab31443 foreground: '#569cd6',
b69ab31444 },
b69ab31445 },
b69ab31446 {
b69ab31447 name: 'Reset JavaScript string interpolation expression',
b69ab31448 scope: 'meta.template.expression',
b69ab31449 settings: {
b69ab31450 foreground: '#d4d4d4',
b69ab31451 },
b69ab31452 },
b69ab31453 {
b69ab31454 scope: [
b69ab31455 'support.type.vendored.property-name',
b69ab31456 'support.type.property-name',
b69ab31457 'variable.css',
b69ab31458 'variable.scss',
b69ab31459 'variable.other.less',
b69ab31460 'source.coffee.embedded',
b69ab31461 ],
b69ab31462 settings: {
b69ab31463 foreground: '#9cdcfe',
b69ab31464 },
b69ab31465 },
b69ab31466 {
b69ab31467 scope: 'keyword',
b69ab31468 settings: {
b69ab31469 foreground: '#569cd6',
b69ab31470 },
b69ab31471 },
b69ab31472 {
b69ab31473 scope: 'keyword.operator',
b69ab31474 settings: {
b69ab31475 foreground: '#d4d4d4',
b69ab31476 },
b69ab31477 },
b69ab31478 {
b69ab31479 scope: [
b69ab31480 'keyword.operator.new',
b69ab31481 'keyword.operator.expression',
b69ab31482 'keyword.operator.cast',
b69ab31483 'keyword.operator.sizeof',
b69ab31484 'keyword.operator.alignof',
b69ab31485 'keyword.operator.typeid',
b69ab31486 'keyword.operator.alignas',
b69ab31487 'keyword.operator.instanceof',
b69ab31488 'keyword.operator.logical.python',
b69ab31489 'keyword.operator.wordlike',
b69ab31490 ],
b69ab31491 settings: {
b69ab31492 foreground: '#569cd6',
b69ab31493 },
b69ab31494 },
b69ab31495 {
b69ab31496 scope: 'keyword.other.unit',
b69ab31497 settings: {
b69ab31498 foreground: '#b5cea8',
b69ab31499 },
b69ab31500 },
b69ab31501 {
b69ab31502 scope: ['punctuation.section.embedded.begin.php', 'punctuation.section.embedded.end.php'],
b69ab31503 settings: {
b69ab31504 foreground: '#569cd6',
b69ab31505 },
b69ab31506 },
b69ab31507 {
b69ab31508 scope: 'support.function.git-rebase',
b69ab31509 settings: {
b69ab31510 foreground: '#9cdcfe',
b69ab31511 },
b69ab31512 },
b69ab31513 {
b69ab31514 scope: 'constant.sha.git-rebase',
b69ab31515 settings: {
b69ab31516 foreground: '#b5cea8',
b69ab31517 },
b69ab31518 },
b69ab31519 {
b69ab31520 name: 'coloring of the Java import and package identifiers',
b69ab31521 scope: [
b69ab31522 'storage.modifier.import.java',
b69ab31523 'variable.language.wildcard.java',
b69ab31524 'storage.modifier.package.java',
b69ab31525 ],
b69ab31526 settings: {
b69ab31527 foreground: '#d4d4d4',
b69ab31528 },
b69ab31529 },
b69ab31530 {
b69ab31531 name: 'this.self',
b69ab31532 scope: 'variable.language',
b69ab31533 settings: {
b69ab31534 foreground: '#569cd6',
b69ab31535 },
b69ab31536 },
b69ab31537 ],
b69ab31538};
b69ab31539
b69ab31540export default theme;