theme.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  1. {
  2. "colors": {
  3. "actionBar.toggledBackground": "var(--surface-raised-base)",
  4. "activityBarBadge.background": "var(--surface-brand-base)",
  5. "checkbox.border": "var(--border-base)",
  6. "editor.background": "transparent",
  7. "editor.foreground": "var(--text-base)",
  8. "editor.inactiveSelectionBackground": "var(--surface-raised-base)",
  9. "editor.selectionHighlightBackground": "var(--border-active)",
  10. "editorIndentGuide.activeBackground1": "var(--border-weak-base)",
  11. "editorIndentGuide.background1": "var(--border-weak-base)",
  12. "input.placeholderForeground": "var(--text-weak)",
  13. "list.activeSelectionIconForeground": "var(--text-base)",
  14. "list.dropBackground": "var(--surface-raised-base)",
  15. "menu.background": "var(--surface-base)",
  16. "menu.border": "var(--border-base)",
  17. "menu.foreground": "var(--text-base)",
  18. "menu.selectionBackground": "var(--surface-interactive-base)",
  19. "menu.separatorBackground": "var(--border-base)",
  20. "ports.iconRunningProcessForeground": "var(--icon-success-base)",
  21. "sideBarSectionHeader.background": "transparent",
  22. "sideBarSectionHeader.border": "var(--border-weak-base)",
  23. "sideBarTitle.foreground": "var(--text-weak)",
  24. "statusBarItem.remoteBackground": "var(--surface-success-base)",
  25. "statusBarItem.remoteForeground": "var(--text-base)",
  26. "tab.lastPinnedBorder": "var(--border-weak-base)",
  27. "tab.selectedBackground": "var(--surface-raised-base)",
  28. "tab.selectedForeground": "var(--text-weak)",
  29. "terminal.inactiveSelectionBackground": "var(--surface-raised-base)",
  30. "widget.border": "var(--border-base)"
  31. },
  32. "displayName": "opencode",
  33. "name": "opencode",
  34. "semanticHighlighting": true,
  35. "semanticTokenColors": {
  36. "customLiteral": "var(--syntax-function)",
  37. "newOperator": "var(--syntax-operator)",
  38. "numberLiteral": "var(--syntax-number)",
  39. "stringLiteral": "var(--syntax-string)"
  40. },
  41. "tokenColors": [
  42. {
  43. "scope": [
  44. "meta.embedded",
  45. "source.groovy.embedded",
  46. "string meta.image.inline.markdown",
  47. "variable.legacy.builtin.python"
  48. ],
  49. "settings": {
  50. "foreground": "var(--text-base)"
  51. }
  52. },
  53. {
  54. "scope": "emphasis",
  55. "settings": {
  56. "fontStyle": "italic"
  57. }
  58. },
  59. {
  60. "scope": "strong",
  61. "settings": {
  62. "fontStyle": "bold"
  63. }
  64. },
  65. {
  66. "scope": "header",
  67. "settings": {
  68. "foreground": "var(--markdown-heading)"
  69. }
  70. },
  71. {
  72. "scope": "comment",
  73. "settings": {
  74. "foreground": "var(--syntax-comment)"
  75. }
  76. },
  77. {
  78. "scope": "constant.language",
  79. "settings": {
  80. "foreground": "var(--syntax-keyword)"
  81. }
  82. },
  83. {
  84. "scope": [
  85. "constant.numeric",
  86. "variable.other.enummember",
  87. "keyword.operator.plus.exponent",
  88. "keyword.operator.minus.exponent"
  89. ],
  90. "settings": {
  91. "foreground": "var(--syntax-number)"
  92. }
  93. },
  94. {
  95. "scope": "constant.regexp",
  96. "settings": {
  97. "foreground": "var(--syntax-operator)"
  98. }
  99. },
  100. {
  101. "scope": "entity.name.tag",
  102. "settings": {
  103. "foreground": "var(--syntax-keyword)"
  104. }
  105. },
  106. {
  107. "scope": ["entity.name.tag.css", "entity.name.tag.less"],
  108. "settings": {
  109. "foreground": "var(--syntax-operator)"
  110. }
  111. },
  112. {
  113. "scope": "entity.other.attribute-name",
  114. "settings": {
  115. "foreground": "var(--syntax-variable)"
  116. }
  117. },
  118. {
  119. "scope": [
  120. "entity.other.attribute-name.class.css",
  121. "source.css entity.other.attribute-name.class",
  122. "entity.other.attribute-name.id.css",
  123. "entity.other.attribute-name.parent-selector.css",
  124. "entity.other.attribute-name.parent.less",
  125. "source.css entity.other.attribute-name.pseudo-class",
  126. "entity.other.attribute-name.pseudo-element.css",
  127. "source.css.less entity.other.attribute-name.id",
  128. "entity.other.attribute-name.scss"
  129. ],
  130. "settings": {
  131. "foreground": "var(--syntax-operator)"
  132. }
  133. },
  134. {
  135. "scope": "invalid",
  136. "settings": {
  137. "foreground": "var(--syntax-critical)"
  138. }
  139. },
  140. {
  141. "scope": "markup.underline",
  142. "settings": {
  143. "fontStyle": "underline"
  144. }
  145. },
  146. {
  147. "scope": "markup.bold",
  148. "settings": {
  149. "fontStyle": "bold",
  150. "foreground": "var(--markdown-strong)"
  151. }
  152. },
  153. {
  154. "scope": "markup.heading",
  155. "settings": {
  156. "fontStyle": "bold",
  157. "foreground": "var(--theme-markdown-heading)"
  158. }
  159. },
  160. {
  161. "scope": "markup.italic",
  162. "settings": {
  163. "fontStyle": "italic"
  164. }
  165. },
  166. {
  167. "scope": "markup.strikethrough",
  168. "settings": {
  169. "fontStyle": "strikethrough"
  170. }
  171. },
  172. {
  173. "scope": "markup.inserted",
  174. "settings": {
  175. "foreground": "var(--text-diff-add-base)"
  176. }
  177. },
  178. {
  179. "scope": "markup.deleted",
  180. "settings": {
  181. "foreground": "var(--text-diff-delete-base)"
  182. }
  183. },
  184. {
  185. "scope": "markup.changed",
  186. "settings": {
  187. "foreground": "var(--text-base)"
  188. }
  189. },
  190. {
  191. "scope": "punctuation.definition.quote.begin.markdown",
  192. "settings": {
  193. "foreground": "var(--markdown-block-quote)"
  194. }
  195. },
  196. {
  197. "scope": "punctuation.definition.list.begin.markdown",
  198. "settings": {
  199. "foreground": "var(--markdown-list-enumeration)"
  200. }
  201. },
  202. {
  203. "scope": "markup.inline.raw",
  204. "settings": {
  205. "foreground": "var(--markdown-code)"
  206. }
  207. },
  208. {
  209. "scope": "punctuation.definition.tag",
  210. "settings": {
  211. "foreground": "var(--syntax-punctuation)"
  212. }
  213. },
  214. {
  215. "scope": ["meta.preprocessor", "entity.name.function.preprocessor"],
  216. "settings": {
  217. "foreground": "var(--syntax-keyword)"
  218. }
  219. },
  220. {
  221. "scope": "meta.preprocessor.string",
  222. "settings": {
  223. "foreground": "var(--syntax-string)"
  224. }
  225. },
  226. {
  227. "scope": "meta.preprocessor.numeric",
  228. "settings": {
  229. "foreground": "var(--syntax-number)"
  230. }
  231. },
  232. {
  233. "scope": "meta.structure.dictionary.key.python",
  234. "settings": {
  235. "foreground": "var(--syntax-variable)"
  236. }
  237. },
  238. {
  239. "scope": "meta.diff.header",
  240. "settings": {
  241. "foreground": "var(--text-weak)"
  242. }
  243. },
  244. {
  245. "scope": "storage",
  246. "settings": {
  247. "foreground": "var(--syntax-keyword)"
  248. }
  249. },
  250. {
  251. "scope": "storage.type",
  252. "settings": {
  253. "foreground": "var(--syntax-keyword)"
  254. }
  255. },
  256. {
  257. "scope": ["storage.modifier", "keyword.operator.noexcept"],
  258. "settings": {
  259. "foreground": "var(--syntax-keyword)"
  260. }
  261. },
  262. {
  263. "scope": ["string", "meta.embedded.assembly"],
  264. "settings": {
  265. "foreground": "var(--syntax-string)"
  266. }
  267. },
  268. {
  269. "scope": "string.tag",
  270. "settings": {
  271. "foreground": "var(--syntax-string)"
  272. }
  273. },
  274. {
  275. "scope": "string.value",
  276. "settings": {
  277. "foreground": "var(--syntax-string)"
  278. }
  279. },
  280. {
  281. "scope": "string.regexp",
  282. "settings": {
  283. "foreground": "var(--syntax-operator)"
  284. }
  285. },
  286. {
  287. "scope": [
  288. "punctuation.definition.template-expression.begin",
  289. "punctuation.definition.template-expression.end",
  290. "punctuation.section.embedded"
  291. ],
  292. "settings": {
  293. "foreground": "var(--syntax-keyword)"
  294. }
  295. },
  296. {
  297. "scope": ["meta.template.expression"],
  298. "settings": {
  299. "foreground": "var(--text-base)"
  300. }
  301. },
  302. {
  303. "scope": [
  304. "support.type.vendored.property-name",
  305. "support.type.property-name",
  306. "source.css variable",
  307. "source.coffee.embedded"
  308. ],
  309. "settings": {
  310. "foreground": "var(--syntax-variable)"
  311. }
  312. },
  313. {
  314. "scope": "keyword",
  315. "settings": {
  316. "foreground": "var(--syntax-keyword)"
  317. }
  318. },
  319. {
  320. "scope": "keyword.control",
  321. "settings": {
  322. "foreground": "var(--syntax-keyword)"
  323. }
  324. },
  325. {
  326. "scope": "keyword.operator",
  327. "settings": {
  328. "foreground": "var(--syntax-operator)"
  329. }
  330. },
  331. {
  332. "scope": [
  333. "keyword.operator.new",
  334. "keyword.operator.expression",
  335. "keyword.operator.cast",
  336. "keyword.operator.sizeof",
  337. "keyword.operator.alignof",
  338. "keyword.operator.typeid",
  339. "keyword.operator.alignas",
  340. "keyword.operator.instanceof",
  341. "keyword.operator.logical.python",
  342. "keyword.operator.wordlike"
  343. ],
  344. "settings": {
  345. "foreground": "var(--syntax-keyword)"
  346. }
  347. },
  348. {
  349. "scope": "keyword.other.unit",
  350. "settings": {
  351. "foreground": "var(--syntax-number)"
  352. }
  353. },
  354. {
  355. "scope": ["punctuation.section.embedded.begin.php", "punctuation.section.embedded.end.php"],
  356. "settings": {
  357. "foreground": "var(--syntax-keyword)"
  358. }
  359. },
  360. {
  361. "scope": "support.function.git-rebase",
  362. "settings": {
  363. "foreground": "var(--syntax-variable)"
  364. }
  365. },
  366. {
  367. "scope": "constant.sha.git-rebase",
  368. "settings": {
  369. "foreground": "var(--syntax-number)"
  370. }
  371. },
  372. {
  373. "scope": ["storage.modifier.import.java", "variable.language.wildcard.java", "storage.modifier.package.java"],
  374. "settings": {
  375. "foreground": "var(--text-base)"
  376. }
  377. },
  378. {
  379. "scope": "variable.language",
  380. "settings": {
  381. "foreground": "var(--syntax-keyword)"
  382. }
  383. },
  384. {
  385. "scope": [
  386. "entity.name.function",
  387. "support.function",
  388. "support.constant.handlebars",
  389. "source.powershell variable.other.member",
  390. "entity.name.operator.custom-literal"
  391. ],
  392. "settings": {
  393. "foreground": "var(--syntax-function)"
  394. }
  395. },
  396. {
  397. "scope": [
  398. "support.class",
  399. "support.type",
  400. "entity.name.type",
  401. "entity.name.namespace",
  402. "entity.other.attribute",
  403. "entity.name.scope-resolution",
  404. "entity.name.class",
  405. "storage.type.numeric.go",
  406. "storage.type.byte.go",
  407. "storage.type.boolean.go",
  408. "storage.type.string.go",
  409. "storage.type.uintptr.go",
  410. "storage.type.error.go",
  411. "storage.type.rune.go",
  412. "storage.type.cs",
  413. "storage.type.generic.cs",
  414. "storage.type.modifier.cs",
  415. "storage.type.variable.cs",
  416. "storage.type.annotation.java",
  417. "storage.type.generic.java",
  418. "storage.type.java",
  419. "storage.type.object.array.java",
  420. "storage.type.primitive.array.java",
  421. "storage.type.primitive.java",
  422. "storage.type.token.java",
  423. "storage.type.groovy",
  424. "storage.type.annotation.groovy",
  425. "storage.type.parameters.groovy",
  426. "storage.type.generic.groovy",
  427. "storage.type.object.array.groovy",
  428. "storage.type.primitive.array.groovy",
  429. "storage.type.primitive.groovy"
  430. ],
  431. "settings": {
  432. "foreground": "var(--syntax-type)"
  433. }
  434. },
  435. {
  436. "scope": [
  437. "meta.type.cast.expr",
  438. "meta.type.new.expr",
  439. "support.constant.math",
  440. "support.constant.dom",
  441. "support.constant.json",
  442. "entity.other.inherited-class",
  443. "punctuation.separator.namespace.ruby"
  444. ],
  445. "settings": {
  446. "foreground": "var(--syntax-type)"
  447. }
  448. },
  449. {
  450. "scope": [
  451. "keyword.control",
  452. "source.cpp keyword.operator.new",
  453. "keyword.operator.delete",
  454. "keyword.other.using",
  455. "keyword.other.directive.using",
  456. "keyword.other.operator",
  457. "entity.name.operator"
  458. ],
  459. "settings": {
  460. "foreground": "var(--syntax-operator)"
  461. }
  462. },
  463. {
  464. "scope": [
  465. "variable",
  466. "meta.definition.variable.name",
  467. "support.variable",
  468. "entity.name.variable",
  469. "constant.other.placeholder"
  470. ],
  471. "settings": {
  472. "foreground": "var(--syntax-variable)"
  473. }
  474. },
  475. {
  476. "scope": ["variable.other.constant", "variable.other.enummember"],
  477. "settings": {
  478. "foreground": "var(--syntax-variable)"
  479. }
  480. },
  481. {
  482. "scope": ["meta.object-literal.key"],
  483. "settings": {
  484. "foreground": "var(--syntax-variable)"
  485. }
  486. },
  487. {
  488. "scope": [
  489. "support.constant.property-value",
  490. "support.constant.font-name",
  491. "support.constant.media-type",
  492. "support.constant.media",
  493. "constant.other.color.rgb-value",
  494. "constant.other.rgb-value",
  495. "support.constant.color"
  496. ],
  497. "settings": {
  498. "foreground": "var(--syntax-string)"
  499. }
  500. },
  501. {
  502. "scope": [
  503. "punctuation.definition.group.regexp",
  504. "punctuation.definition.group.assertion.regexp",
  505. "punctuation.definition.character-class.regexp",
  506. "punctuation.character.set.begin.regexp",
  507. "punctuation.character.set.end.regexp",
  508. "keyword.operator.negation.regexp",
  509. "support.other.parenthesis.regexp"
  510. ],
  511. "settings": {
  512. "foreground": "var(--syntax-string)"
  513. }
  514. },
  515. {
  516. "scope": [
  517. "constant.character.character-class.regexp",
  518. "constant.other.character-class.set.regexp",
  519. "constant.other.character-class.regexp",
  520. "constant.character.set.regexp"
  521. ],
  522. "settings": {
  523. "foreground": "var(--syntax-operator)"
  524. }
  525. },
  526. {
  527. "scope": ["keyword.operator.or.regexp", "keyword.control.anchor.regexp"],
  528. "settings": {
  529. "foreground": "var(--syntax-operator)"
  530. }
  531. },
  532. {
  533. "scope": "keyword.operator.quantifier.regexp",
  534. "settings": {
  535. "foreground": "var(--syntax-operator)"
  536. }
  537. },
  538. {
  539. "scope": ["constant.character", "constant.other.option"],
  540. "settings": {
  541. "foreground": "var(--syntax-keyword)"
  542. }
  543. },
  544. {
  545. "scope": "constant.character.escape",
  546. "settings": {
  547. "foreground": "var(--syntax-operator)"
  548. }
  549. },
  550. {
  551. "scope": "entity.name.label",
  552. "settings": {
  553. "foreground": "var(--text-weak)"
  554. }
  555. }
  556. ],
  557. "type": "dark"
  558. }