diff.tsx 95 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750
  1. import {
  2. type FileContents,
  3. FileDiff,
  4. type DiffLineAnnotation,
  5. type HunkData,
  6. FileDiffOptions,
  7. registerCustomTheme,
  8. ThemeRegistrationResolved,
  9. } from "@pierre/precision-diffs"
  10. import { ComponentProps, createEffect, splitProps } from "solid-js"
  11. export type DiffProps<T = {}> = FileDiffOptions<T> & {
  12. before: FileContents
  13. after: FileContents
  14. annotations?: DiffLineAnnotation<T>[]
  15. class?: string
  16. classList?: ComponentProps<"div">["classList"]
  17. }
  18. // interface ThreadMetadata {
  19. // threadId: string
  20. // }
  21. export function Diff<T>(props: DiffProps<T>) {
  22. let container!: HTMLDivElement
  23. const [local, others] = splitProps(props, [
  24. "before",
  25. "after",
  26. "class",
  27. "classList",
  28. "annotations",
  29. ])
  30. // const lineAnnotations: DiffLineAnnotation<ThreadMetadata>[] = [
  31. // {
  32. // side: "additions",
  33. // // The line number specified for an annotation is the visual line number
  34. // // you see in the number column of a diff
  35. // lineNumber: 16,
  36. // metadata: { threadId: "68b329da9893e34099c7d8ad5cb9c940" },
  37. // },
  38. // ]
  39. // If you ever want to update the options for an instance, simple call
  40. // 'setOptions' with the new options. Bear in mind, this does NOT merge
  41. // existing properties, it's a full replace
  42. // instance.setOptions({
  43. // ...instance.options,
  44. // theme: "pierre-dark",
  45. // themes: undefined,
  46. // })
  47. //
  48. // When ready to render, simply call .render with old/new file, optional
  49. // annotations and a container element to hold the diff
  50. createEffect(() => {
  51. const instance = new FileDiff<T>({
  52. // theme: "pierre-light",
  53. theme: { dark: "oc-1-dark", light: "oc-1-light" },
  54. // When using the 'themes' prop, 'themeType' allows you to force 'dark'
  55. // or 'light' theme, or inherit from the OS ('system') theme.
  56. themeType: "system",
  57. // Disable the line numbers for your diffs, generally not recommended
  58. disableLineNumbers: false,
  59. // Whether code should 'wrap' with long lines or 'scroll'.
  60. overflow: "wrap",
  61. // Normally you shouldn't need this prop, but if you don't provide a
  62. // valid filename or your file doesn't have an extension you may want to
  63. // override the automatic detection. You can specify that language here:
  64. // https://shiki.style/languages
  65. // lang?: SupportedLanguages;
  66. // 'diffStyle' controls whether the diff is presented side by side or
  67. // in a unified (single column) view
  68. diffStyle: "unified",
  69. // Line decorators to help highlight changes.
  70. // 'bars' (default):
  71. // Shows some red-ish or green-ish (theme dependent) bars on the left
  72. // edge of relevant lines
  73. //
  74. // 'classic':
  75. // shows '+' characters on additions and '-' characters on deletions
  76. //
  77. // 'none':
  78. // No special diff indicators are shown
  79. diffIndicators: "bars",
  80. // By default green-ish or red-ish background are shown on added and
  81. // deleted lines respectively. Disable that feature here
  82. disableBackground: false,
  83. // Diffs are split up into hunks, this setting customizes what to show
  84. // between each hunk.
  85. //
  86. // 'line-info' (default):
  87. // Shows a bar that tells you how many lines are collapsed. If you are
  88. // using the oldFile/newFile API then you can click those bars to
  89. // expand the content between them
  90. //
  91. // 'metadata':
  92. // Shows the content you'd see in a normal patch file, usually in some
  93. // format like '@@ -60,6 +60,22 @@'. You cannot use these to expand
  94. // hidden content
  95. //
  96. // 'simple':
  97. // Just a subtle bar separator between each hunk
  98. // hunkSeparators: "line-info",
  99. hunkSeparators(hunkData: HunkData) {
  100. const fragment = document.createDocumentFragment()
  101. const numCol = document.createElement("div")
  102. numCol.innerHTML = `<svg data-slot="diff-hunk-separator-line-number-icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.97978 14.0204L8.62623 13.6668L9.33334 12.9597L9.68689 13.3133L9.33333 13.6668L8.97978 14.0204ZM12 16.3335L12.3535 16.6871L12 17.0406L11.6464 16.687L12 16.3335ZM14.3131 13.3133L14.6667 12.9597L15.3738 13.6668L15.0202 14.0204L14.6667 13.6668L14.3131 13.3133ZM12.5 16.0002V16.5002H11.5V16.0002H12H12.5ZM9.33333 13.6668L9.68689 13.3133L12.3535 15.9799L12 16.3335L11.6464 16.687L8.97978 14.0204L9.33333 13.6668ZM12 16.3335L11.6464 15.9799L14.3131 13.3133L14.6667 13.6668L15.0202 14.0204L12.3535 16.6871L12 16.3335ZM6.5 8.00016V7.50016H8.5V8.00016V8.50016H6.5V8.00016ZM9.5 8.00016V7.50016H11.5V8.00016V8.50016H9.5V8.00016ZM12.5 8.00016V7.50016H14.5V8.00016V8.50016H12.5V8.00016ZM15.5 8.00016V7.50016H17.5V8.00016V8.50016H15.5V8.00016ZM12 10.5002H12.5V16.0002H12H11.5V10.5002H12Z" fill="currentColor"/></svg> `
  103. numCol.dataset["slot"] = "diff-hunk-separator-line-number"
  104. fragment.appendChild(numCol)
  105. const contentCol = document.createElement("div")
  106. contentCol.dataset["slot"] = "diff-hunk-separator-content"
  107. const span = document.createElement("span")
  108. span.dataset["slot"] = "diff-hunk-separator-content-span"
  109. span.textContent = `${hunkData.lines} unmodified lines`
  110. contentCol.appendChild(span)
  111. fragment.appendChild(contentCol)
  112. return fragment
  113. },
  114. // On lines that have both additions and deletions, we can run a
  115. // separate diff check to mark parts of the lines that change.
  116. // 'none':
  117. // Do not show these secondary highlights
  118. //
  119. // 'char':
  120. // Show changes at a per character granularity
  121. //
  122. // 'word':
  123. // Show changes but rounded up to word boundaries
  124. //
  125. // 'word-alt' (default):
  126. // Similar to 'word', however we attempt to minimize single character
  127. // gaps between highlighted changes
  128. lineDiffType: "word-alt",
  129. // If lines exceed these character lengths then we won't perform the
  130. // line lineDiffType check
  131. maxLineDiffLength: 1000,
  132. // If any line in the diff exceeds this value then we won't attempt to
  133. // syntax highlight the diff
  134. maxLineLengthForHighlighting: 1000,
  135. // Enabling this property will hide the file header with file name and
  136. // diff stats.
  137. disableFileHeader: true,
  138. // You can optionally pass a render function for rendering out line
  139. // annotations. Just return the dom node to render
  140. // renderAnnotation(annotation: DiffLineAnnotation<T>): HTMLElement {
  141. // // Despite the diff itself being rendered in the shadow dom,
  142. // // annotations are inserted via the web components 'slots' api and you
  143. // // can use all your normal normal css and styling for them
  144. // const element = document.createElement("div")
  145. // element.innerText = annotation.metadata.threadId
  146. // return element
  147. // },
  148. ...others,
  149. })
  150. instance.render({
  151. oldFile: local.before,
  152. newFile: local.after,
  153. lineAnnotations: local.annotations,
  154. containerWrapper: container,
  155. })
  156. })
  157. return (
  158. <div
  159. data-component="diff"
  160. style={{
  161. "--pjs-font-family": "var(--font-family-mono)",
  162. "--pjs-font-size": "var(--font-size-small)",
  163. "--pjs-line-height": "24px",
  164. "--pjs-tab-size": 2,
  165. "--pjs-font-features": "var(--font-family-mono--font-feature-settings)",
  166. "--pjs-header-font-family": "var(--font-family-sans)",
  167. "--pjs-gap-block": 0,
  168. }}
  169. ref={container}
  170. />
  171. )
  172. }
  173. registerCustomTheme("oc-1-light", () => {
  174. return Promise.resolve({
  175. name: "oc-1-light",
  176. type: "light",
  177. colors: {
  178. "editor.background": "transparent",
  179. "editor.foreground": "#070707",
  180. foreground: "#070707",
  181. focusBorder: "#008cff",
  182. "selection.background": "#dfe7ff",
  183. "editor.selectionBackground": "#008cff2e",
  184. "editor.lineHighlightBackground": "#dfe7ff8c",
  185. "editorCursor.foreground": "#008cff",
  186. "editorLineNumber.foreground": "#84848A",
  187. "editorLineNumber.activeForeground": "#6C6C71",
  188. "editorIndentGuide.background": "#eeeeef",
  189. "editorIndentGuide.activeBackground": "#dbdbdd",
  190. "diffEditor.insertedTextBackground": "#00cab133",
  191. "diffEditor.deletedTextBackground": "#ff2e3f33",
  192. "sideBar.background": "#f8f8f8",
  193. "sideBar.foreground": "#6C6C71",
  194. "sideBar.border": "#eeeeef",
  195. "sideBarTitle.foreground": "#070707",
  196. "sideBarSectionHeader.background": "#f8f8f8",
  197. "sideBarSectionHeader.foreground": "#6C6C71",
  198. "sideBarSectionHeader.border": "#eeeeef",
  199. "activityBar.background": "#f8f8f8",
  200. "activityBar.foreground": "#070707",
  201. "activityBar.border": "#eeeeef",
  202. "activityBar.activeBorder": "#008cff",
  203. "activityBarBadge.background": "#008cff",
  204. "activityBarBadge.foreground": "#ffffff",
  205. "titleBar.activeBackground": "#f8f8f8",
  206. "titleBar.activeForeground": "#070707",
  207. "titleBar.inactiveBackground": "#f8f8f8",
  208. "titleBar.inactiveForeground": "#84848A",
  209. "titleBar.border": "#eeeeef",
  210. "list.activeSelectionBackground": "#dfe7ffcc",
  211. "list.activeSelectionForeground": "#070707",
  212. "list.inactiveSelectionBackground": "#dfe7ff73",
  213. "list.hoverBackground": "#dfe7ff59",
  214. "list.focusOutline": "#008cff",
  215. "tab.activeBackground": "#ffffff",
  216. "tab.activeForeground": "#070707",
  217. "tab.activeBorderTop": "#008cff",
  218. "tab.inactiveBackground": "#f8f8f8",
  219. "tab.inactiveForeground": "#84848A",
  220. "tab.border": "#eeeeef",
  221. "editorGroupHeader.tabsBackground": "#f8f8f8",
  222. "editorGroupHeader.tabsBorder": "#eeeeef",
  223. "panel.background": "#f8f8f8",
  224. "panel.border": "#eeeeef",
  225. "panelTitle.activeBorder": "#008cff",
  226. "panelTitle.activeForeground": "#070707",
  227. "panelTitle.inactiveForeground": "#84848A",
  228. "statusBar.background": "#f8f8f8",
  229. "statusBar.foreground": "#6C6C71",
  230. "statusBar.border": "#eeeeef",
  231. "statusBar.noFolderBackground": "#f8f8f8",
  232. "statusBar.debuggingBackground": "#ffca00",
  233. "statusBar.debuggingForeground": "#ffffff",
  234. "statusBarItem.remoteBackground": "#f8f8f8",
  235. "statusBarItem.remoteForeground": "#6C6C71",
  236. "input.background": "#f2f2f3",
  237. "input.border": "#dbdbdd",
  238. "input.foreground": "#070707",
  239. "input.placeholderForeground": "#8E8E95",
  240. "dropdown.background": "#f2f2f3",
  241. "dropdown.border": "#dbdbdd",
  242. "dropdown.foreground": "#070707",
  243. "button.background": "#008cff",
  244. "button.foreground": "#ffffff",
  245. "button.hoverBackground": "#1a98ff",
  246. "textLink.foreground": "#008cff",
  247. "textLink.activeForeground": "#008cff",
  248. "gitDecoration.addedResourceForeground": "#00cab1",
  249. "gitDecoration.conflictingResourceForeground": "#ffca00",
  250. "gitDecoration.modifiedResourceForeground": "#008cff",
  251. "gitDecoration.deletedResourceForeground": "#ff2e3f",
  252. "gitDecoration.untrackedResourceForeground": "#00cab1",
  253. "gitDecoration.ignoredResourceForeground": "#84848A",
  254. "terminal.titleForeground": "#6C6C71",
  255. "terminal.titleInactiveForeground": "#84848A",
  256. "terminal.background": "#f8f8f8",
  257. "terminal.foreground": "#6C6C71",
  258. "terminal.ansiBlack": "#1F1F21",
  259. "terminal.ansiRed": "#ff2e3f",
  260. "terminal.ansiGreen": "#0dbe4e",
  261. "terminal.ansiYellow": "#ffca00",
  262. "terminal.ansiBlue": "#008cff",
  263. "terminal.ansiMagenta": "#c635e4",
  264. "terminal.ansiCyan": "#08c0ef",
  265. "terminal.ansiWhite": "#c6c6c8",
  266. "terminal.ansiBrightBlack": "#1F1F21",
  267. "terminal.ansiBrightRed": "#ff2e3f",
  268. "terminal.ansiBrightGreen": "#0dbe4e",
  269. "terminal.ansiBrightYellow": "#ffca00",
  270. "terminal.ansiBrightBlue": "#008cff",
  271. "terminal.ansiBrightMagenta": "#c635e4",
  272. "terminal.ansiBrightCyan": "#08c0ef",
  273. "terminal.ansiBrightWhite": "#c6c6c8",
  274. },
  275. tokenColors: [
  276. {
  277. scope: ["comment", "punctuation.definition.comment"],
  278. settings: {
  279. foreground: "#84848A",
  280. },
  281. },
  282. {
  283. scope: "comment markup.link",
  284. settings: {
  285. foreground: "#84848A",
  286. },
  287. },
  288. {
  289. scope: ["string", "constant.other.symbol"],
  290. settings: {
  291. foreground: "#199f43",
  292. },
  293. },
  294. {
  295. scope: ["punctuation.definition.string.begin", "punctuation.definition.string.end"],
  296. settings: {
  297. foreground: "#199f43",
  298. },
  299. },
  300. {
  301. scope: ["constant.numeric", "constant.language.boolean"],
  302. settings: {
  303. foreground: "#1ca1c7",
  304. },
  305. },
  306. {
  307. scope: "constant",
  308. settings: {
  309. foreground: "#d5a910",
  310. },
  311. },
  312. {
  313. scope: "punctuation.definition.constant",
  314. settings: {
  315. foreground: "#d5a910",
  316. },
  317. },
  318. {
  319. scope: "constant.language",
  320. settings: {
  321. foreground: "#1ca1c7",
  322. },
  323. },
  324. {
  325. scope: "variable.other.constant",
  326. settings: {
  327. foreground: "#d5a910",
  328. },
  329. },
  330. {
  331. scope: "keyword",
  332. settings: {
  333. foreground: "#fc2b73",
  334. },
  335. },
  336. {
  337. scope: "keyword.control",
  338. settings: {
  339. foreground: "#fc2b73",
  340. },
  341. },
  342. {
  343. scope: ["storage", "storage.type", "storage.modifier"],
  344. settings: {
  345. foreground: "#fc2b73",
  346. },
  347. },
  348. {
  349. scope: "token.storage",
  350. settings: {
  351. foreground: "#fc2b73",
  352. },
  353. },
  354. {
  355. scope: [
  356. "keyword.operator.new",
  357. "keyword.operator.expression.instanceof",
  358. "keyword.operator.expression.typeof",
  359. "keyword.operator.expression.void",
  360. "keyword.operator.expression.delete",
  361. "keyword.operator.expression.in",
  362. "keyword.operator.expression.of",
  363. "keyword.operator.expression.keyof",
  364. ],
  365. settings: {
  366. foreground: "#fc2b73",
  367. },
  368. },
  369. {
  370. scope: "keyword.operator.delete",
  371. settings: {
  372. foreground: "#fc2b73",
  373. },
  374. },
  375. {
  376. scope: ["variable", "identifier", "meta.definition.variable"],
  377. settings: {
  378. foreground: "#d47628",
  379. },
  380. },
  381. {
  382. scope: [
  383. "variable.other.readwrite",
  384. "meta.object-literal.key",
  385. "support.variable.property",
  386. "support.variable.object.process",
  387. "support.variable.object.node",
  388. ],
  389. settings: {
  390. foreground: "#d47628",
  391. },
  392. },
  393. {
  394. scope: "variable.language",
  395. settings: {
  396. foreground: "#d5a910",
  397. },
  398. },
  399. {
  400. scope: "variable.parameter.function",
  401. settings: {
  402. foreground: "#79797F",
  403. },
  404. },
  405. {
  406. scope: "function.parameter",
  407. settings: {
  408. foreground: "#79797F",
  409. },
  410. },
  411. {
  412. scope: "variable.parameter",
  413. settings: {
  414. foreground: "#79797F",
  415. },
  416. },
  417. {
  418. scope: "variable.parameter.function.language.python",
  419. settings: {
  420. foreground: "#d5a910",
  421. },
  422. },
  423. {
  424. scope: "variable.parameter.function.python",
  425. settings: {
  426. foreground: "#d5a910",
  427. },
  428. },
  429. {
  430. scope: [
  431. "support.function",
  432. "entity.name.function",
  433. "meta.function-call",
  434. "meta.require",
  435. "support.function.any-method",
  436. "variable.function",
  437. ],
  438. settings: {
  439. foreground: "#7b43f8",
  440. },
  441. },
  442. {
  443. scope: "keyword.other.special-method",
  444. settings: {
  445. foreground: "#7b43f8",
  446. },
  447. },
  448. {
  449. scope: "entity.name.function",
  450. settings: {
  451. foreground: "#7b43f8",
  452. },
  453. },
  454. {
  455. scope: "support.function.console",
  456. settings: {
  457. foreground: "#7b43f8",
  458. },
  459. },
  460. {
  461. scope: ["support.type", "entity.name.type", "entity.name.class", "storage.type"],
  462. settings: {
  463. foreground: "#c635e4",
  464. },
  465. },
  466. {
  467. scope: ["support.class", "entity.name.type.class"],
  468. settings: {
  469. foreground: "#c635e4",
  470. },
  471. },
  472. {
  473. scope: ["entity.name.class", "variable.other.class.js", "variable.other.class.ts"],
  474. settings: {
  475. foreground: "#c635e4",
  476. },
  477. },
  478. {
  479. scope: "entity.name.class.identifier.namespace.type",
  480. settings: {
  481. foreground: "#c635e4",
  482. },
  483. },
  484. {
  485. scope: "entity.name.type.namespace",
  486. settings: {
  487. foreground: "#d5a910",
  488. },
  489. },
  490. {
  491. scope: "entity.other.inherited-class",
  492. settings: {
  493. foreground: "#c635e4",
  494. },
  495. },
  496. {
  497. scope: "entity.name.namespace",
  498. settings: {
  499. foreground: "#d5a910",
  500. },
  501. },
  502. {
  503. scope: "keyword.operator",
  504. settings: {
  505. foreground: "#79797F",
  506. },
  507. },
  508. {
  509. scope: ["keyword.operator.logical", "keyword.operator.bitwise", "keyword.operator.channel"],
  510. settings: {
  511. foreground: "#08c0ef",
  512. },
  513. },
  514. {
  515. scope: [
  516. "keyword.operator.arithmetic",
  517. "keyword.operator.comparison",
  518. "keyword.operator.relational",
  519. "keyword.operator.increment",
  520. "keyword.operator.decrement",
  521. ],
  522. settings: {
  523. foreground: "#08c0ef",
  524. },
  525. },
  526. {
  527. scope: "keyword.operator.assignment",
  528. settings: {
  529. foreground: "#08c0ef",
  530. },
  531. },
  532. {
  533. scope: "keyword.operator.assignment.compound",
  534. settings: {
  535. foreground: "#fc2b73",
  536. },
  537. },
  538. {
  539. scope: [
  540. "keyword.operator.assignment.compound.js",
  541. "keyword.operator.assignment.compound.ts",
  542. ],
  543. settings: {
  544. foreground: "#08c0ef",
  545. },
  546. },
  547. {
  548. scope: "keyword.operator.ternary",
  549. settings: {
  550. foreground: "#fc2b73",
  551. },
  552. },
  553. {
  554. scope: "keyword.operator.optional",
  555. settings: {
  556. foreground: "#fc2b73",
  557. },
  558. },
  559. {
  560. scope: "punctuation",
  561. settings: {
  562. foreground: "#79797F",
  563. },
  564. },
  565. {
  566. scope: "punctuation.separator.delimiter",
  567. settings: {
  568. foreground: "#79797F",
  569. },
  570. },
  571. {
  572. scope: "punctuation.separator.key-value",
  573. settings: {
  574. foreground: "#79797F",
  575. },
  576. },
  577. {
  578. scope: "punctuation.terminator",
  579. settings: {
  580. foreground: "#79797F",
  581. },
  582. },
  583. {
  584. scope: "meta.brace",
  585. settings: {
  586. foreground: "#79797F",
  587. },
  588. },
  589. {
  590. scope: "meta.brace.square",
  591. settings: {
  592. foreground: "#79797F",
  593. },
  594. },
  595. {
  596. scope: "meta.brace.round",
  597. settings: {
  598. foreground: "#79797F",
  599. },
  600. },
  601. {
  602. scope: "function.brace",
  603. settings: {
  604. foreground: "#79797F",
  605. },
  606. },
  607. {
  608. scope: ["punctuation.definition.parameters", "punctuation.definition.typeparameters"],
  609. settings: {
  610. foreground: "#79797F",
  611. },
  612. },
  613. {
  614. scope: ["punctuation.definition.block", "punctuation.definition.tag"],
  615. settings: {
  616. foreground: "#79797F",
  617. },
  618. },
  619. {
  620. scope: ["meta.tag.tsx", "meta.tag.jsx", "meta.tag.js", "meta.tag.ts"],
  621. settings: {
  622. foreground: "#79797F",
  623. },
  624. },
  625. {
  626. scope: "keyword.operator.expression.import",
  627. settings: {
  628. foreground: "#7b43f8",
  629. },
  630. },
  631. {
  632. scope: "keyword.operator.module",
  633. settings: {
  634. foreground: "#fc2b73",
  635. },
  636. },
  637. {
  638. scope: "support.type.object.console",
  639. settings: {
  640. foreground: "#d47628",
  641. },
  642. },
  643. {
  644. scope: ["support.module.node", "support.type.object.module", "entity.name.type.module"],
  645. settings: {
  646. foreground: "#d5a910",
  647. },
  648. },
  649. {
  650. scope: "support.constant.math",
  651. settings: {
  652. foreground: "#d5a910",
  653. },
  654. },
  655. {
  656. scope: "support.constant.property.math",
  657. settings: {
  658. foreground: "#d5a910",
  659. },
  660. },
  661. {
  662. scope: "support.constant.json",
  663. settings: {
  664. foreground: "#d5a910",
  665. },
  666. },
  667. {
  668. scope: "support.type.object.dom",
  669. settings: {
  670. foreground: "#08c0ef",
  671. },
  672. },
  673. {
  674. scope: ["support.variable.dom", "support.variable.property.dom"],
  675. settings: {
  676. foreground: "#d47628",
  677. },
  678. },
  679. {
  680. scope: "support.variable.property.process",
  681. settings: {
  682. foreground: "#d5a910",
  683. },
  684. },
  685. {
  686. scope: "meta.property.object",
  687. settings: {
  688. foreground: "#d47628",
  689. },
  690. },
  691. {
  692. scope: "variable.parameter.function.js",
  693. settings: {
  694. foreground: "#d47628",
  695. },
  696. },
  697. {
  698. scope: ["keyword.other.template.begin", "keyword.other.template.end"],
  699. settings: {
  700. foreground: "#199f43",
  701. },
  702. },
  703. {
  704. scope: ["keyword.other.substitution.begin", "keyword.other.substitution.end"],
  705. settings: {
  706. foreground: "#199f43",
  707. },
  708. },
  709. {
  710. scope: [
  711. "punctuation.definition.template-expression.begin",
  712. "punctuation.definition.template-expression.end",
  713. ],
  714. settings: {
  715. foreground: "#fc2b73",
  716. },
  717. },
  718. {
  719. scope: "meta.template.expression",
  720. settings: {
  721. foreground: "#79797F",
  722. },
  723. },
  724. {
  725. scope: "punctuation.section.embedded",
  726. settings: {
  727. foreground: "#d47628",
  728. },
  729. },
  730. {
  731. scope: "variable.interpolation",
  732. settings: {
  733. foreground: "#d47628",
  734. },
  735. },
  736. {
  737. scope: ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"],
  738. settings: {
  739. foreground: "#fc2b73",
  740. },
  741. },
  742. {
  743. scope: "punctuation.quasi.element",
  744. settings: {
  745. foreground: "#fc2b73",
  746. },
  747. },
  748. {
  749. scope: [
  750. "support.type.primitive.ts",
  751. "support.type.builtin.ts",
  752. "support.type.primitive.tsx",
  753. "support.type.builtin.tsx",
  754. ],
  755. settings: {
  756. foreground: "#c635e4",
  757. },
  758. },
  759. {
  760. scope: "support.type.type.flowtype",
  761. settings: {
  762. foreground: "#7b43f8",
  763. },
  764. },
  765. {
  766. scope: "support.type.primitive",
  767. settings: {
  768. foreground: "#c635e4",
  769. },
  770. },
  771. {
  772. scope: "support.variable.magic.python",
  773. settings: {
  774. foreground: "#d52c36",
  775. },
  776. },
  777. {
  778. scope: "variable.parameter.function.language.special.self.python",
  779. settings: {
  780. foreground: "#d5a910",
  781. },
  782. },
  783. {
  784. scope: [
  785. "punctuation.separator.period.python",
  786. "punctuation.separator.element.python",
  787. "punctuation.parenthesis.begin.python",
  788. "punctuation.parenthesis.end.python",
  789. ],
  790. settings: {
  791. foreground: "#79797F",
  792. },
  793. },
  794. {
  795. scope: [
  796. "punctuation.definition.arguments.begin.python",
  797. "punctuation.definition.arguments.end.python",
  798. "punctuation.separator.arguments.python",
  799. "punctuation.definition.list.begin.python",
  800. "punctuation.definition.list.end.python",
  801. ],
  802. settings: {
  803. foreground: "#79797F",
  804. },
  805. },
  806. {
  807. scope: "support.type.python",
  808. settings: {
  809. foreground: "#08c0ef",
  810. },
  811. },
  812. {
  813. scope: "keyword.operator.logical.python",
  814. settings: {
  815. foreground: "#fc2b73",
  816. },
  817. },
  818. {
  819. scope: "meta.function-call.generic.python",
  820. settings: {
  821. foreground: "#7b43f8",
  822. },
  823. },
  824. {
  825. scope: "constant.character.format.placeholder.other.python",
  826. settings: {
  827. foreground: "#d5a910",
  828. },
  829. },
  830. {
  831. scope: "meta.function.decorator.python",
  832. settings: {
  833. foreground: "#7b43f8",
  834. },
  835. },
  836. {
  837. scope: ["support.token.decorator.python", "meta.function.decorator.identifier.python"],
  838. settings: {
  839. foreground: "#08c0ef",
  840. },
  841. },
  842. {
  843. scope: "storage.modifier.lifetime.rust",
  844. settings: {
  845. foreground: "#79797F",
  846. },
  847. },
  848. {
  849. scope: "support.function.std.rust",
  850. settings: {
  851. foreground: "#7b43f8",
  852. },
  853. },
  854. {
  855. scope: "entity.name.lifetime.rust",
  856. settings: {
  857. foreground: "#d5a910",
  858. },
  859. },
  860. {
  861. scope: "variable.language.rust",
  862. settings: {
  863. foreground: "#d52c36",
  864. },
  865. },
  866. {
  867. scope: "keyword.operator.misc.rust",
  868. settings: {
  869. foreground: "#79797F",
  870. },
  871. },
  872. {
  873. scope: "keyword.operator.sigil.rust",
  874. settings: {
  875. foreground: "#fc2b73",
  876. },
  877. },
  878. {
  879. scope: "support.constant.core.rust",
  880. settings: {
  881. foreground: "#d5a910",
  882. },
  883. },
  884. {
  885. scope: ["meta.function.c", "meta.function.cpp"],
  886. settings: {
  887. foreground: "#d52c36",
  888. },
  889. },
  890. {
  891. scope: [
  892. "punctuation.section.block.begin.bracket.curly.cpp",
  893. "punctuation.section.block.end.bracket.curly.cpp",
  894. "punctuation.terminator.statement.c",
  895. "punctuation.section.block.begin.bracket.curly.c",
  896. "punctuation.section.block.end.bracket.curly.c",
  897. "punctuation.section.parens.begin.bracket.round.c",
  898. "punctuation.section.parens.end.bracket.round.c",
  899. "punctuation.section.parameters.begin.bracket.round.c",
  900. "punctuation.section.parameters.end.bracket.round.c",
  901. ],
  902. settings: {
  903. foreground: "#79797F",
  904. },
  905. },
  906. {
  907. scope: [
  908. "keyword.operator.assignment.c",
  909. "keyword.operator.comparison.c",
  910. "keyword.operator.c",
  911. "keyword.operator.increment.c",
  912. "keyword.operator.decrement.c",
  913. "keyword.operator.bitwise.shift.c",
  914. ],
  915. settings: {
  916. foreground: "#fc2b73",
  917. },
  918. },
  919. {
  920. scope: [
  921. "keyword.operator.assignment.cpp",
  922. "keyword.operator.comparison.cpp",
  923. "keyword.operator.cpp",
  924. "keyword.operator.increment.cpp",
  925. "keyword.operator.decrement.cpp",
  926. "keyword.operator.bitwise.shift.cpp",
  927. ],
  928. settings: {
  929. foreground: "#fc2b73",
  930. },
  931. },
  932. {
  933. scope: ["punctuation.separator.c", "punctuation.separator.cpp"],
  934. settings: {
  935. foreground: "#fc2b73",
  936. },
  937. },
  938. {
  939. scope: ["support.type.posix-reserved.c", "support.type.posix-reserved.cpp"],
  940. settings: {
  941. foreground: "#08c0ef",
  942. },
  943. },
  944. {
  945. scope: ["keyword.operator.sizeof.c", "keyword.operator.sizeof.cpp"],
  946. settings: {
  947. foreground: "#fc2b73",
  948. },
  949. },
  950. {
  951. scope: "variable.c",
  952. settings: {
  953. foreground: "#79797F",
  954. },
  955. },
  956. {
  957. scope: ["storage.type.annotation.java", "storage.type.object.array.java"],
  958. settings: {
  959. foreground: "#d5a910",
  960. },
  961. },
  962. {
  963. scope: "source.java",
  964. settings: {
  965. foreground: "#d52c36",
  966. },
  967. },
  968. {
  969. scope: [
  970. "punctuation.section.block.begin.java",
  971. "punctuation.section.block.end.java",
  972. "punctuation.definition.method-parameters.begin.java",
  973. "punctuation.definition.method-parameters.end.java",
  974. "meta.method.identifier.java",
  975. "punctuation.section.method.begin.java",
  976. "punctuation.section.method.end.java",
  977. "punctuation.terminator.java",
  978. "punctuation.section.class.begin.java",
  979. "punctuation.section.class.end.java",
  980. "punctuation.section.inner-class.begin.java",
  981. "punctuation.section.inner-class.end.java",
  982. "meta.method-call.java",
  983. "punctuation.section.class.begin.bracket.curly.java",
  984. "punctuation.section.class.end.bracket.curly.java",
  985. "punctuation.section.method.begin.bracket.curly.java",
  986. "punctuation.section.method.end.bracket.curly.java",
  987. "punctuation.separator.period.java",
  988. "punctuation.bracket.angle.java",
  989. "punctuation.definition.annotation.java",
  990. "meta.method.body.java",
  991. ],
  992. settings: {
  993. foreground: "#79797F",
  994. },
  995. },
  996. {
  997. scope: "meta.method.java",
  998. settings: {
  999. foreground: "#7b43f8",
  1000. },
  1001. },
  1002. {
  1003. scope: ["storage.modifier.import.java", "storage.type.java", "storage.type.generic.java"],
  1004. settings: {
  1005. foreground: "#d5a910",
  1006. },
  1007. },
  1008. {
  1009. scope: "keyword.operator.instanceof.java",
  1010. settings: {
  1011. foreground: "#fc2b73",
  1012. },
  1013. },
  1014. {
  1015. scope: "meta.definition.variable.name.java",
  1016. settings: {
  1017. foreground: "#d52c36",
  1018. },
  1019. },
  1020. {
  1021. scope: "token.variable.parameter.java",
  1022. settings: {
  1023. foreground: "#79797F",
  1024. },
  1025. },
  1026. {
  1027. scope: "import.storage.java",
  1028. settings: {
  1029. foreground: "#d5a910",
  1030. },
  1031. },
  1032. {
  1033. scope: "token.package.keyword",
  1034. settings: {
  1035. foreground: "#fc2b73",
  1036. },
  1037. },
  1038. {
  1039. scope: "token.package",
  1040. settings: {
  1041. foreground: "#79797F",
  1042. },
  1043. },
  1044. {
  1045. scope: "token.storage.type.java",
  1046. settings: {
  1047. foreground: "#d5a910",
  1048. },
  1049. },
  1050. {
  1051. scope: "keyword.operator.assignment.go",
  1052. settings: {
  1053. foreground: "#d5a910",
  1054. },
  1055. },
  1056. {
  1057. scope: ["keyword.operator.arithmetic.go", "keyword.operator.address.go"],
  1058. settings: {
  1059. foreground: "#fc2b73",
  1060. },
  1061. },
  1062. {
  1063. scope: "entity.name.package.go",
  1064. settings: {
  1065. foreground: "#d5a910",
  1066. },
  1067. },
  1068. {
  1069. scope: [
  1070. "support.other.namespace.use.php",
  1071. "support.other.namespace.use-as.php",
  1072. "support.other.namespace.php",
  1073. "entity.other.alias.php",
  1074. "meta.interface.php",
  1075. ],
  1076. settings: {
  1077. foreground: "#d5a910",
  1078. },
  1079. },
  1080. {
  1081. scope: "keyword.operator.error-control.php",
  1082. settings: {
  1083. foreground: "#fc2b73",
  1084. },
  1085. },
  1086. {
  1087. scope: "keyword.operator.type.php",
  1088. settings: {
  1089. foreground: "#fc2b73",
  1090. },
  1091. },
  1092. {
  1093. scope: ["punctuation.section.array.begin.php", "punctuation.section.array.end.php"],
  1094. settings: {
  1095. foreground: "#79797F",
  1096. },
  1097. },
  1098. {
  1099. scope: [
  1100. "storage.type.php",
  1101. "meta.other.type.phpdoc.php",
  1102. "keyword.other.type.php",
  1103. "keyword.other.array.phpdoc.php",
  1104. ],
  1105. settings: {
  1106. foreground: "#d5a910",
  1107. },
  1108. },
  1109. {
  1110. scope: [
  1111. "meta.function-call.php",
  1112. "meta.function-call.object.php",
  1113. "meta.function-call.static.php",
  1114. ],
  1115. settings: {
  1116. foreground: "#7b43f8",
  1117. },
  1118. },
  1119. {
  1120. scope: [
  1121. "punctuation.definition.parameters.begin.bracket.round.php",
  1122. "punctuation.definition.parameters.end.bracket.round.php",
  1123. "punctuation.separator.delimiter.php",
  1124. "punctuation.section.scope.begin.php",
  1125. "punctuation.section.scope.end.php",
  1126. "punctuation.terminator.expression.php",
  1127. "punctuation.definition.arguments.begin.bracket.round.php",
  1128. "punctuation.definition.arguments.end.bracket.round.php",
  1129. "punctuation.definition.storage-type.begin.bracket.round.php",
  1130. "punctuation.definition.storage-type.end.bracket.round.php",
  1131. "punctuation.definition.array.begin.bracket.round.php",
  1132. "punctuation.definition.array.end.bracket.round.php",
  1133. "punctuation.definition.begin.bracket.round.php",
  1134. "punctuation.definition.end.bracket.round.php",
  1135. "punctuation.definition.begin.bracket.curly.php",
  1136. "punctuation.definition.end.bracket.curly.php",
  1137. "punctuation.definition.section.switch-block.end.bracket.curly.php",
  1138. "punctuation.definition.section.switch-block.start.bracket.curly.php",
  1139. "punctuation.definition.section.switch-block.begin.bracket.curly.php",
  1140. "punctuation.definition.section.switch-block.end.bracket.curly.php",
  1141. ],
  1142. settings: {
  1143. foreground: "#79797F",
  1144. },
  1145. },
  1146. {
  1147. scope: [
  1148. "support.constant.ext.php",
  1149. "support.constant.std.php",
  1150. "support.constant.core.php",
  1151. "support.constant.parser-token.php",
  1152. ],
  1153. settings: {
  1154. foreground: "#d5a910",
  1155. },
  1156. },
  1157. {
  1158. scope: ["entity.name.goto-label.php", "support.other.php"],
  1159. settings: {
  1160. foreground: "#7b43f8",
  1161. },
  1162. },
  1163. {
  1164. scope: [
  1165. "keyword.operator.logical.php",
  1166. "keyword.operator.bitwise.php",
  1167. "keyword.operator.arithmetic.php",
  1168. ],
  1169. settings: {
  1170. foreground: "#08c0ef",
  1171. },
  1172. },
  1173. {
  1174. scope: "keyword.operator.regexp.php",
  1175. settings: {
  1176. foreground: "#fc2b73",
  1177. },
  1178. },
  1179. {
  1180. scope: "keyword.operator.comparison.php",
  1181. settings: {
  1182. foreground: "#08c0ef",
  1183. },
  1184. },
  1185. {
  1186. scope: ["keyword.operator.heredoc.php", "keyword.operator.nowdoc.php"],
  1187. settings: {
  1188. foreground: "#fc2b73",
  1189. },
  1190. },
  1191. {
  1192. scope: "variable.other.class.php",
  1193. settings: {
  1194. foreground: "#d52c36",
  1195. },
  1196. },
  1197. {
  1198. scope: "invalid.illegal.non-null-typehinted.php",
  1199. settings: {
  1200. foreground: "#f44747",
  1201. },
  1202. },
  1203. {
  1204. scope: "variable.other.generic-type.haskell",
  1205. settings: {
  1206. foreground: "#fc2b73",
  1207. },
  1208. },
  1209. {
  1210. scope: "storage.type.haskell",
  1211. settings: {
  1212. foreground: "#d5a910",
  1213. },
  1214. },
  1215. {
  1216. scope: "storage.type.cs",
  1217. settings: {
  1218. foreground: "#d5a910",
  1219. },
  1220. },
  1221. {
  1222. scope: "entity.name.variable.local.cs",
  1223. settings: {
  1224. foreground: "#d52c36",
  1225. },
  1226. },
  1227. {
  1228. scope: "entity.name.label.cs",
  1229. settings: {
  1230. foreground: "#d5a910",
  1231. },
  1232. },
  1233. {
  1234. scope: [
  1235. "entity.name.scope-resolution.function.call",
  1236. "entity.name.scope-resolution.function.definition",
  1237. ],
  1238. settings: {
  1239. foreground: "#d5a910",
  1240. },
  1241. },
  1242. {
  1243. scope: [
  1244. "punctuation.definition.delayed.unison",
  1245. "punctuation.definition.list.begin.unison",
  1246. "punctuation.definition.list.end.unison",
  1247. "punctuation.definition.ability.begin.unison",
  1248. "punctuation.definition.ability.end.unison",
  1249. "punctuation.operator.assignment.as.unison",
  1250. "punctuation.separator.pipe.unison",
  1251. "punctuation.separator.delimiter.unison",
  1252. "punctuation.definition.hash.unison",
  1253. ],
  1254. settings: {
  1255. foreground: "#d52c36",
  1256. },
  1257. },
  1258. {
  1259. scope: "support.constant.edge",
  1260. settings: {
  1261. foreground: "#fc2b73",
  1262. },
  1263. },
  1264. {
  1265. scope: "support.type.prelude.elm",
  1266. settings: {
  1267. foreground: "#08c0ef",
  1268. },
  1269. },
  1270. {
  1271. scope: "support.constant.elm",
  1272. settings: {
  1273. foreground: "#d5a910",
  1274. },
  1275. },
  1276. {
  1277. scope: "entity.global.clojure",
  1278. settings: {
  1279. foreground: "#d5a910",
  1280. },
  1281. },
  1282. {
  1283. scope: "meta.symbol.clojure",
  1284. settings: {
  1285. foreground: "#d52c36",
  1286. },
  1287. },
  1288. {
  1289. scope: "constant.keyword.clojure",
  1290. settings: {
  1291. foreground: "#08c0ef",
  1292. },
  1293. },
  1294. {
  1295. scope: ["meta.arguments.coffee", "variable.parameter.function.coffee"],
  1296. settings: {
  1297. foreground: "#d52c36",
  1298. },
  1299. },
  1300. {
  1301. scope: "storage.modifier.import.groovy",
  1302. settings: {
  1303. foreground: "#d5a910",
  1304. },
  1305. },
  1306. {
  1307. scope: "meta.method.groovy",
  1308. settings: {
  1309. foreground: "#7b43f8",
  1310. },
  1311. },
  1312. {
  1313. scope: "meta.definition.variable.name.groovy",
  1314. settings: {
  1315. foreground: "#d52c36",
  1316. },
  1317. },
  1318. {
  1319. scope: "meta.definition.class.inherited.classes.groovy",
  1320. settings: {
  1321. foreground: "#199f43",
  1322. },
  1323. },
  1324. {
  1325. scope: "support.variable.semantic.hlsl",
  1326. settings: {
  1327. foreground: "#d5a910",
  1328. },
  1329. },
  1330. {
  1331. scope: [
  1332. "support.type.texture.hlsl",
  1333. "support.type.sampler.hlsl",
  1334. "support.type.object.hlsl",
  1335. "support.type.object.rw.hlsl",
  1336. "support.type.fx.hlsl",
  1337. "support.type.object.hlsl",
  1338. ],
  1339. settings: {
  1340. foreground: "#fc2b73",
  1341. },
  1342. },
  1343. {
  1344. scope: ["text.variable", "text.bracketed"],
  1345. settings: {
  1346. foreground: "#d52c36",
  1347. },
  1348. },
  1349. {
  1350. scope: ["support.type.swift", "support.type.vb.asp"],
  1351. settings: {
  1352. foreground: "#d5a910",
  1353. },
  1354. },
  1355. {
  1356. scope: "meta.scope.prerequisites.makefile",
  1357. settings: {
  1358. foreground: "#d52c36",
  1359. },
  1360. },
  1361. {
  1362. scope: "source.makefile",
  1363. settings: {
  1364. foreground: "#d5a910",
  1365. },
  1366. },
  1367. {
  1368. scope: "source.ini",
  1369. settings: {
  1370. foreground: "#199f43",
  1371. },
  1372. },
  1373. {
  1374. scope: "constant.language.symbol.ruby",
  1375. settings: {
  1376. foreground: "#08c0ef",
  1377. },
  1378. },
  1379. {
  1380. scope: ["function.parameter.ruby", "function.parameter.cs"],
  1381. settings: {
  1382. foreground: "#79797F",
  1383. },
  1384. },
  1385. {
  1386. scope: "constant.language.symbol.elixir",
  1387. settings: {
  1388. foreground: "#08c0ef",
  1389. },
  1390. },
  1391. {
  1392. scope:
  1393. "text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade",
  1394. settings: {
  1395. foreground: "#fc2b73",
  1396. },
  1397. },
  1398. {
  1399. scope:
  1400. "text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade",
  1401. settings: {
  1402. foreground: "#fc2b73",
  1403. },
  1404. },
  1405. {
  1406. scope: "entity.name.function.xi",
  1407. settings: {
  1408. foreground: "#d5a910",
  1409. },
  1410. },
  1411. {
  1412. scope: "entity.name.class.xi",
  1413. settings: {
  1414. foreground: "#08c0ef",
  1415. },
  1416. },
  1417. {
  1418. scope: "constant.character.character-class.regexp.xi",
  1419. settings: {
  1420. foreground: "#d52c36",
  1421. },
  1422. },
  1423. {
  1424. scope: "constant.regexp.xi",
  1425. settings: {
  1426. foreground: "#fc2b73",
  1427. },
  1428. },
  1429. {
  1430. scope: "keyword.control.xi",
  1431. settings: {
  1432. foreground: "#08c0ef",
  1433. },
  1434. },
  1435. {
  1436. scope: "invalid.xi",
  1437. settings: {
  1438. foreground: "#79797F",
  1439. },
  1440. },
  1441. {
  1442. scope: "beginning.punctuation.definition.quote.markdown.xi",
  1443. settings: {
  1444. foreground: "#199f43",
  1445. },
  1446. },
  1447. {
  1448. scope: "beginning.punctuation.definition.list.markdown.xi",
  1449. settings: {
  1450. foreground: "#84848A",
  1451. },
  1452. },
  1453. {
  1454. scope: "constant.character.xi",
  1455. settings: {
  1456. foreground: "#7b43f8",
  1457. },
  1458. },
  1459. {
  1460. scope: "accent.xi",
  1461. settings: {
  1462. foreground: "#7b43f8",
  1463. },
  1464. },
  1465. {
  1466. scope: "wikiword.xi",
  1467. settings: {
  1468. foreground: "#d5a910",
  1469. },
  1470. },
  1471. {
  1472. scope: "constant.other.color.rgb-value.xi",
  1473. settings: {
  1474. foreground: "#ffffff",
  1475. },
  1476. },
  1477. {
  1478. scope: "punctuation.definition.tag.xi",
  1479. settings: {
  1480. foreground: "#84848A",
  1481. },
  1482. },
  1483. {
  1484. scope: ["support.constant.property-value.scss", "support.constant.property-value.css"],
  1485. settings: {
  1486. foreground: "#d5a910",
  1487. },
  1488. },
  1489. {
  1490. scope: ["keyword.operator.css", "keyword.operator.scss", "keyword.operator.less"],
  1491. settings: {
  1492. foreground: "#08c0ef",
  1493. },
  1494. },
  1495. {
  1496. scope: [
  1497. "support.constant.color.w3c-standard-color-name.css",
  1498. "support.constant.color.w3c-standard-color-name.scss",
  1499. ],
  1500. settings: {
  1501. foreground: "#d5a910",
  1502. },
  1503. },
  1504. {
  1505. scope: "punctuation.separator.list.comma.css",
  1506. settings: {
  1507. foreground: "#79797F",
  1508. },
  1509. },
  1510. {
  1511. scope: "support.type.vendored.property-name.css",
  1512. settings: {
  1513. foreground: "#08c0ef",
  1514. },
  1515. },
  1516. {
  1517. scope: "support.type.property-name.css",
  1518. settings: {
  1519. foreground: "#08c0ef",
  1520. },
  1521. },
  1522. {
  1523. scope: "support.type.property-name",
  1524. settings: {
  1525. foreground: "#79797F",
  1526. },
  1527. },
  1528. {
  1529. scope: "support.constant.property-value",
  1530. settings: {
  1531. foreground: "#79797F",
  1532. },
  1533. },
  1534. {
  1535. scope: "support.constant.font-name",
  1536. settings: {
  1537. foreground: "#d5a910",
  1538. },
  1539. },
  1540. {
  1541. scope: "entity.other.attribute-name.class.css",
  1542. settings: {
  1543. foreground: "#16a994",
  1544. fontStyle: "normal",
  1545. },
  1546. },
  1547. {
  1548. scope: "entity.other.attribute-name.id",
  1549. settings: {
  1550. foreground: "#7b43f8",
  1551. fontStyle: "normal",
  1552. },
  1553. },
  1554. {
  1555. scope: [
  1556. "entity.other.attribute-name.pseudo-element",
  1557. "entity.other.attribute-name.pseudo-class",
  1558. ],
  1559. settings: {
  1560. foreground: "#08c0ef",
  1561. },
  1562. },
  1563. {
  1564. scope: "meta.selector",
  1565. settings: {
  1566. foreground: "#fc2b73",
  1567. },
  1568. },
  1569. {
  1570. scope: "selector.sass",
  1571. settings: {
  1572. foreground: "#d52c36",
  1573. },
  1574. },
  1575. {
  1576. scope: "rgb-value",
  1577. settings: {
  1578. foreground: "#08c0ef",
  1579. },
  1580. },
  1581. {
  1582. scope: "inline-color-decoration rgb-value",
  1583. settings: {
  1584. foreground: "#d5a910",
  1585. },
  1586. },
  1587. {
  1588. scope: "less rgb-value",
  1589. settings: {
  1590. foreground: "#d5a910",
  1591. },
  1592. },
  1593. {
  1594. scope: "control.elements",
  1595. settings: {
  1596. foreground: "#d5a910",
  1597. },
  1598. },
  1599. {
  1600. scope: "keyword.operator.less",
  1601. settings: {
  1602. foreground: "#d5a910",
  1603. },
  1604. },
  1605. {
  1606. scope: "entity.name.tag",
  1607. settings: {
  1608. foreground: "#d52c36",
  1609. },
  1610. },
  1611. {
  1612. scope: "entity.other.attribute-name",
  1613. settings: {
  1614. foreground: "#16a994",
  1615. fontStyle: "normal",
  1616. },
  1617. },
  1618. {
  1619. scope: "constant.character.entity",
  1620. settings: {
  1621. foreground: "#d52c36",
  1622. },
  1623. },
  1624. {
  1625. scope: "meta.tag",
  1626. settings: {
  1627. foreground: "#79797F",
  1628. },
  1629. },
  1630. {
  1631. scope: "invalid.illegal.bad-ampersand.html",
  1632. settings: {
  1633. foreground: "#79797F",
  1634. },
  1635. },
  1636. {
  1637. scope: "markup.heading",
  1638. settings: {
  1639. foreground: "#d52c36",
  1640. },
  1641. },
  1642. {
  1643. scope: ["markup.heading punctuation.definition.heading", "entity.name.section"],
  1644. settings: {
  1645. foreground: "#7b43f8",
  1646. },
  1647. },
  1648. {
  1649. scope: "entity.name.section.markdown",
  1650. settings: {
  1651. foreground: "#d52c36",
  1652. },
  1653. },
  1654. {
  1655. scope: "punctuation.definition.heading.markdown",
  1656. settings: {
  1657. foreground: "#d52c36",
  1658. },
  1659. },
  1660. {
  1661. scope: "markup.heading.setext",
  1662. settings: {
  1663. foreground: "#79797F",
  1664. },
  1665. },
  1666. {
  1667. scope: ["markup.heading.setext.1.markdown", "markup.heading.setext.2.markdown"],
  1668. settings: {
  1669. foreground: "#d52c36",
  1670. },
  1671. },
  1672. {
  1673. scope: ["markup.bold", "todo.bold"],
  1674. settings: {
  1675. foreground: "#d5a910",
  1676. },
  1677. },
  1678. {
  1679. scope: "punctuation.definition.bold",
  1680. settings: {
  1681. foreground: "#d5a910",
  1682. },
  1683. },
  1684. {
  1685. scope: "punctuation.definition.bold.markdown",
  1686. settings: {
  1687. foreground: "#d5a910",
  1688. },
  1689. },
  1690. {
  1691. scope: ["markup.italic", "punctuation.definition.italic", "todo.emphasis"],
  1692. settings: {
  1693. foreground: "#fc2b73",
  1694. fontStyle: "italic",
  1695. },
  1696. },
  1697. {
  1698. scope: "emphasis md",
  1699. settings: {
  1700. foreground: "#fc2b73",
  1701. },
  1702. },
  1703. {
  1704. scope: "markup.italic.markdown",
  1705. settings: {
  1706. fontStyle: "italic",
  1707. },
  1708. },
  1709. {
  1710. scope: ["markup.underline.link.markdown", "markup.underline.link.image.markdown"],
  1711. settings: {
  1712. foreground: "#fc2b73",
  1713. },
  1714. },
  1715. {
  1716. scope: ["string.other.link.title.markdown", "string.other.link.description.markdown"],
  1717. settings: {
  1718. foreground: "#7b43f8",
  1719. },
  1720. },
  1721. {
  1722. scope: "punctuation.definition.metadata.markdown",
  1723. settings: {
  1724. foreground: "#d52c36",
  1725. },
  1726. },
  1727. {
  1728. scope: ["markup.inline.raw.markdown", "markup.inline.raw.string.markdown"],
  1729. settings: {
  1730. foreground: "#199f43",
  1731. },
  1732. },
  1733. {
  1734. scope: "punctuation.definition.list.begin.markdown",
  1735. settings: {
  1736. foreground: "#d52c36",
  1737. },
  1738. },
  1739. {
  1740. scope: "punctuation.definition.list.markdown",
  1741. settings: {
  1742. foreground: "#d52c36",
  1743. },
  1744. },
  1745. {
  1746. scope: "beginning.punctuation.definition.list.markdown",
  1747. settings: {
  1748. foreground: "#d52c36",
  1749. },
  1750. },
  1751. {
  1752. scope: [
  1753. "punctuation.definition.string.begin.markdown",
  1754. "punctuation.definition.string.end.markdown",
  1755. ],
  1756. settings: {
  1757. foreground: "#d52c36",
  1758. },
  1759. },
  1760. {
  1761. scope: "markup.quote.markdown",
  1762. settings: {
  1763. foreground: "#84848A",
  1764. },
  1765. },
  1766. {
  1767. scope: "keyword.other.unit",
  1768. settings: {
  1769. foreground: "#d52c36",
  1770. },
  1771. },
  1772. {
  1773. scope: "markup.changed.diff",
  1774. settings: {
  1775. foreground: "#d5a910",
  1776. },
  1777. },
  1778. {
  1779. scope: [
  1780. "meta.diff.header.from-file",
  1781. "meta.diff.header.to-file",
  1782. "punctuation.definition.from-file.diff",
  1783. "punctuation.definition.to-file.diff",
  1784. ],
  1785. settings: {
  1786. foreground: "#7b43f8",
  1787. },
  1788. },
  1789. {
  1790. scope: "markup.inserted.diff",
  1791. settings: {
  1792. foreground: "#199f43",
  1793. },
  1794. },
  1795. {
  1796. scope: "markup.deleted.diff",
  1797. settings: {
  1798. foreground: "#d52c36",
  1799. },
  1800. },
  1801. {
  1802. scope: "string.regexp",
  1803. settings: {
  1804. foreground: "#17a5af",
  1805. },
  1806. },
  1807. {
  1808. scope: "constant.other.character-class.regexp",
  1809. settings: {
  1810. foreground: "#d52c36",
  1811. },
  1812. },
  1813. {
  1814. scope: "keyword.operator.quantifier.regexp",
  1815. settings: {
  1816. foreground: "#d5a910",
  1817. },
  1818. },
  1819. {
  1820. scope: "constant.character.escape",
  1821. settings: {
  1822. foreground: "#1ca1c7",
  1823. },
  1824. },
  1825. {
  1826. scope: "source.json meta.structure.dictionary.json > string.quoted.json",
  1827. settings: {
  1828. foreground: "#d52c36",
  1829. },
  1830. },
  1831. {
  1832. scope:
  1833. "source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string",
  1834. settings: {
  1835. foreground: "#d52c36",
  1836. },
  1837. },
  1838. {
  1839. scope: [
  1840. "source.json meta.structure.dictionary.json > value.json > string.quoted.json",
  1841. "source.json meta.structure.array.json > value.json > string.quoted.json",
  1842. "source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation",
  1843. "source.json meta.structure.array.json > value.json > string.quoted.json > punctuation",
  1844. ],
  1845. settings: {
  1846. foreground: "#199f43",
  1847. },
  1848. },
  1849. {
  1850. scope: [
  1851. "source.json meta.structure.dictionary.json > constant.language.json",
  1852. "source.json meta.structure.array.json > constant.language.json",
  1853. ],
  1854. settings: {
  1855. foreground: "#08c0ef",
  1856. },
  1857. },
  1858. {
  1859. scope: "support.type.property-name.json",
  1860. settings: {
  1861. foreground: "#d52c36",
  1862. },
  1863. },
  1864. {
  1865. scope: "support.type.property-name.json punctuation",
  1866. settings: {
  1867. foreground: "#d52c36",
  1868. },
  1869. },
  1870. {
  1871. scope: "punctuation.definition.block.sequence.item.yaml",
  1872. settings: {
  1873. foreground: "#79797F",
  1874. },
  1875. },
  1876. {
  1877. scope: "block.scope.end",
  1878. settings: {
  1879. foreground: "#79797F",
  1880. },
  1881. },
  1882. {
  1883. scope: "block.scope.begin",
  1884. settings: {
  1885. foreground: "#79797F",
  1886. },
  1887. },
  1888. {
  1889. scope: "token.info-token",
  1890. settings: {
  1891. foreground: "#7b43f8",
  1892. },
  1893. },
  1894. {
  1895. scope: "token.warn-token",
  1896. settings: {
  1897. foreground: "#d5a910",
  1898. },
  1899. },
  1900. {
  1901. scope: "token.error-token",
  1902. settings: {
  1903. foreground: "#f44747",
  1904. },
  1905. },
  1906. {
  1907. scope: "token.debug-token",
  1908. settings: {
  1909. foreground: "#fc2b73",
  1910. },
  1911. },
  1912. {
  1913. scope: "invalid.illegal",
  1914. settings: {
  1915. foreground: "#ffffff",
  1916. },
  1917. },
  1918. {
  1919. scope: "invalid.broken",
  1920. settings: {
  1921. foreground: "#ffffff",
  1922. },
  1923. },
  1924. {
  1925. scope: "invalid.deprecated",
  1926. settings: {
  1927. foreground: "#ffffff",
  1928. },
  1929. },
  1930. {
  1931. scope: "invalid.unimplemented",
  1932. settings: {
  1933. foreground: "#ffffff",
  1934. },
  1935. },
  1936. ],
  1937. semanticTokenColors: {
  1938. comment: "#84848A",
  1939. string: "#199f43",
  1940. number: "#1ca1c7",
  1941. regexp: "#17a5af",
  1942. keyword: "#fc2b73",
  1943. variable: "#d47628",
  1944. parameter: "#79797F",
  1945. property: "#d47628",
  1946. function: "#7b43f8",
  1947. method: "#7b43f8",
  1948. type: "#c635e4",
  1949. class: "#c635e4",
  1950. namespace: "#d5a910",
  1951. enumMember: "#08c0ef",
  1952. "variable.constant": "#d5a910",
  1953. "variable.defaultLibrary": "#d5a910",
  1954. },
  1955. } as unknown as ThemeRegistrationResolved)
  1956. })
  1957. registerCustomTheme("oc-1-dark", () => {
  1958. return Promise.resolve({
  1959. name: "oc-1-dark",
  1960. type: "dark",
  1961. colors: {
  1962. "editor.background": "transparent",
  1963. "editor.foreground": "#fbfbfb",
  1964. foreground: "#fbfbfb",
  1965. focusBorder: "#1a76d4",
  1966. "selection.background": "#19253c",
  1967. "editor.selectionBackground": "#1a76d44d",
  1968. "editor.lineHighlightBackground": "#19253c8c",
  1969. "editorCursor.foreground": "#1a76d4",
  1970. "editorLineNumber.foreground": "#84848A",
  1971. "editorLineNumber.activeForeground": "#adadb1",
  1972. "editorIndentGuide.background": "#39393c",
  1973. "editorIndentGuide.activeBackground": "#2e2e30",
  1974. "diffEditor.insertedTextBackground": "#00cab11a",
  1975. "diffEditor.deletedTextBackground": "#ff2e3f1a",
  1976. "sideBar.background": "#141415",
  1977. "sideBar.foreground": "#adadb1",
  1978. "sideBar.border": "#070707",
  1979. "sideBarTitle.foreground": "#fbfbfb",
  1980. "sideBarSectionHeader.background": "#141415",
  1981. "sideBarSectionHeader.foreground": "#adadb1",
  1982. "sideBarSectionHeader.border": "#070707",
  1983. "activityBar.background": "#141415",
  1984. "activityBar.foreground": "#fbfbfb",
  1985. "activityBar.border": "#070707",
  1986. "activityBar.activeBorder": "#1a76d4",
  1987. "activityBarBadge.background": "#1a76d4",
  1988. "activityBarBadge.foreground": "#070707",
  1989. "titleBar.activeBackground": "#141415",
  1990. "titleBar.activeForeground": "#fbfbfb",
  1991. "titleBar.inactiveBackground": "#141415",
  1992. "titleBar.inactiveForeground": "#84848A",
  1993. "titleBar.border": "#070707",
  1994. "list.activeSelectionBackground": "#19253c99",
  1995. "list.activeSelectionForeground": "#fbfbfb",
  1996. "list.inactiveSelectionBackground": "#19253c73",
  1997. "list.hoverBackground": "#19253c59",
  1998. "list.focusOutline": "#1a76d4",
  1999. "tab.activeBackground": "#070707",
  2000. "tab.activeForeground": "#fbfbfb",
  2001. "tab.activeBorderTop": "#1a76d4",
  2002. "tab.inactiveBackground": "#141415",
  2003. "tab.inactiveForeground": "#84848A",
  2004. "tab.border": "#070707",
  2005. "editorGroupHeader.tabsBackground": "#141415",
  2006. "editorGroupHeader.tabsBorder": "#070707",
  2007. "panel.background": "#141415",
  2008. "panel.border": "#070707",
  2009. "panelTitle.activeBorder": "#1a76d4",
  2010. "panelTitle.activeForeground": "#fbfbfb",
  2011. "panelTitle.inactiveForeground": "#84848A",
  2012. "statusBar.background": "#141415",
  2013. "statusBar.foreground": "#adadb1",
  2014. "statusBar.border": "#070707",
  2015. "statusBar.noFolderBackground": "#141415",
  2016. "statusBar.debuggingBackground": "#ffca00",
  2017. "statusBar.debuggingForeground": "#070707",
  2018. "statusBarItem.remoteBackground": "#141415",
  2019. "statusBarItem.remoteForeground": "#adadb1",
  2020. "input.background": "#1F1F21",
  2021. "input.border": "#424245",
  2022. "input.foreground": "#fbfbfb",
  2023. "input.placeholderForeground": "#79797F",
  2024. "dropdown.background": "#1F1F21",
  2025. "dropdown.border": "#424245",
  2026. "dropdown.foreground": "#fbfbfb",
  2027. "button.background": "#1a76d4",
  2028. "button.foreground": "#070707",
  2029. "button.hoverBackground": "#186bc0",
  2030. "textLink.foreground": "#1a76d4",
  2031. "textLink.activeForeground": "#1a76d4",
  2032. "gitDecoration.addedResourceForeground": "#00cab1",
  2033. "gitDecoration.conflictingResourceForeground": "#ffca00",
  2034. "gitDecoration.modifiedResourceForeground": "#1a76d4",
  2035. "gitDecoration.deletedResourceForeground": "#ff2e3f",
  2036. "gitDecoration.untrackedResourceForeground": "#00cab1",
  2037. "gitDecoration.ignoredResourceForeground": "#84848A",
  2038. "terminal.titleForeground": "#adadb1",
  2039. "terminal.titleInactiveForeground": "#84848A",
  2040. "terminal.background": "#141415",
  2041. "terminal.foreground": "#adadb1",
  2042. "terminal.ansiBlack": "#141415",
  2043. "terminal.ansiRed": "#ff2e3f",
  2044. "terminal.ansiGreen": "#0dbe4e",
  2045. "terminal.ansiYellow": "#ffca00",
  2046. "terminal.ansiBlue": "#008cff",
  2047. "terminal.ansiMagenta": "#c635e4",
  2048. "terminal.ansiCyan": "#08c0ef",
  2049. "terminal.ansiWhite": "#c6c6c8",
  2050. "terminal.ansiBrightBlack": "#141415",
  2051. "terminal.ansiBrightRed": "#ff2e3f",
  2052. "terminal.ansiBrightGreen": "#0dbe4e",
  2053. "terminal.ansiBrightYellow": "#ffca00",
  2054. "terminal.ansiBrightBlue": "#008cff",
  2055. "terminal.ansiBrightMagenta": "#c635e4",
  2056. "terminal.ansiBrightCyan": "#08c0ef",
  2057. "terminal.ansiBrightWhite": "#c6c6c8",
  2058. },
  2059. tokenColors: [
  2060. {
  2061. scope: ["comment", "punctuation.definition.comment"],
  2062. settings: {
  2063. foreground: "#84848A",
  2064. },
  2065. },
  2066. {
  2067. scope: "comment markup.link",
  2068. settings: {
  2069. foreground: "#84848A",
  2070. },
  2071. },
  2072. {
  2073. scope: ["string", "constant.other.symbol"],
  2074. settings: {
  2075. foreground: "#5ecc71",
  2076. },
  2077. },
  2078. {
  2079. scope: ["punctuation.definition.string.begin", "punctuation.definition.string.end"],
  2080. settings: {
  2081. foreground: "#5ecc71",
  2082. },
  2083. },
  2084. {
  2085. scope: ["constant.numeric", "constant.language.boolean"],
  2086. settings: {
  2087. foreground: "#68cdf2",
  2088. },
  2089. },
  2090. {
  2091. scope: "constant",
  2092. settings: {
  2093. foreground: "#ffd452",
  2094. },
  2095. },
  2096. {
  2097. scope: "punctuation.definition.constant",
  2098. settings: {
  2099. foreground: "#ffd452",
  2100. },
  2101. },
  2102. {
  2103. scope: "constant.language",
  2104. settings: {
  2105. foreground: "#68cdf2",
  2106. },
  2107. },
  2108. {
  2109. scope: "variable.other.constant",
  2110. settings: {
  2111. foreground: "#ffca00",
  2112. },
  2113. },
  2114. {
  2115. scope: "keyword",
  2116. settings: {
  2117. foreground: "#ff678d",
  2118. },
  2119. },
  2120. {
  2121. scope: "keyword.control",
  2122. settings: {
  2123. foreground: "#ff678d",
  2124. },
  2125. },
  2126. {
  2127. scope: ["storage", "storage.type", "storage.modifier"],
  2128. settings: {
  2129. foreground: "#ff678d",
  2130. },
  2131. },
  2132. {
  2133. scope: "token.storage",
  2134. settings: {
  2135. foreground: "#ff678d",
  2136. },
  2137. },
  2138. {
  2139. scope: [
  2140. "keyword.operator.new",
  2141. "keyword.operator.expression.instanceof",
  2142. "keyword.operator.expression.typeof",
  2143. "keyword.operator.expression.void",
  2144. "keyword.operator.expression.delete",
  2145. "keyword.operator.expression.in",
  2146. "keyword.operator.expression.of",
  2147. "keyword.operator.expression.keyof",
  2148. ],
  2149. settings: {
  2150. foreground: "#ff678d",
  2151. },
  2152. },
  2153. {
  2154. scope: "keyword.operator.delete",
  2155. settings: {
  2156. foreground: "#ff678d",
  2157. },
  2158. },
  2159. {
  2160. scope: ["variable", "identifier", "meta.definition.variable"],
  2161. settings: {
  2162. foreground: "#ffa359",
  2163. },
  2164. },
  2165. {
  2166. scope: [
  2167. "variable.other.readwrite",
  2168. "meta.object-literal.key",
  2169. "support.variable.property",
  2170. "support.variable.object.process",
  2171. "support.variable.object.node",
  2172. ],
  2173. settings: {
  2174. foreground: "#ffa359",
  2175. },
  2176. },
  2177. {
  2178. scope: "variable.language",
  2179. settings: {
  2180. foreground: "#ffca00",
  2181. },
  2182. },
  2183. {
  2184. scope: "variable.parameter.function",
  2185. settings: {
  2186. foreground: "#adadb1",
  2187. },
  2188. },
  2189. {
  2190. scope: "function.parameter",
  2191. settings: {
  2192. foreground: "#adadb1",
  2193. },
  2194. },
  2195. {
  2196. scope: "variable.parameter",
  2197. settings: {
  2198. foreground: "#adadb1",
  2199. },
  2200. },
  2201. {
  2202. scope: "variable.parameter.function.language.python",
  2203. settings: {
  2204. foreground: "#ffd452",
  2205. },
  2206. },
  2207. {
  2208. scope: "variable.parameter.function.python",
  2209. settings: {
  2210. foreground: "#ffd452",
  2211. },
  2212. },
  2213. {
  2214. scope: [
  2215. "support.function",
  2216. "entity.name.function",
  2217. "meta.function-call",
  2218. "meta.require",
  2219. "support.function.any-method",
  2220. "variable.function",
  2221. ],
  2222. settings: {
  2223. foreground: "#9d6afb",
  2224. },
  2225. },
  2226. {
  2227. scope: "keyword.other.special-method",
  2228. settings: {
  2229. foreground: "#9d6afb",
  2230. },
  2231. },
  2232. {
  2233. scope: "entity.name.function",
  2234. settings: {
  2235. foreground: "#9d6afb",
  2236. },
  2237. },
  2238. {
  2239. scope: "support.function.console",
  2240. settings: {
  2241. foreground: "#9d6afb",
  2242. },
  2243. },
  2244. {
  2245. scope: ["support.type", "entity.name.type", "entity.name.class", "storage.type"],
  2246. settings: {
  2247. foreground: "#d568ea",
  2248. },
  2249. },
  2250. {
  2251. scope: ["support.class", "entity.name.type.class"],
  2252. settings: {
  2253. foreground: "#d568ea",
  2254. },
  2255. },
  2256. {
  2257. scope: ["entity.name.class", "variable.other.class.js", "variable.other.class.ts"],
  2258. settings: {
  2259. foreground: "#d568ea",
  2260. },
  2261. },
  2262. {
  2263. scope: "entity.name.class.identifier.namespace.type",
  2264. settings: {
  2265. foreground: "#d568ea",
  2266. },
  2267. },
  2268. {
  2269. scope: "entity.name.type.namespace",
  2270. settings: {
  2271. foreground: "#ffca00",
  2272. },
  2273. },
  2274. {
  2275. scope: "entity.other.inherited-class",
  2276. settings: {
  2277. foreground: "#d568ea",
  2278. },
  2279. },
  2280. {
  2281. scope: "entity.name.namespace",
  2282. settings: {
  2283. foreground: "#ffca00",
  2284. },
  2285. },
  2286. {
  2287. scope: "keyword.operator",
  2288. settings: {
  2289. foreground: "#79797F",
  2290. },
  2291. },
  2292. {
  2293. scope: ["keyword.operator.logical", "keyword.operator.bitwise", "keyword.operator.channel"],
  2294. settings: {
  2295. foreground: "#08c0ef",
  2296. },
  2297. },
  2298. {
  2299. scope: [
  2300. "keyword.operator.arithmetic",
  2301. "keyword.operator.comparison",
  2302. "keyword.operator.relational",
  2303. "keyword.operator.increment",
  2304. "keyword.operator.decrement",
  2305. ],
  2306. settings: {
  2307. foreground: "#08c0ef",
  2308. },
  2309. },
  2310. {
  2311. scope: "keyword.operator.assignment",
  2312. settings: {
  2313. foreground: "#08c0ef",
  2314. },
  2315. },
  2316. {
  2317. scope: "keyword.operator.assignment.compound",
  2318. settings: {
  2319. foreground: "#ff678d",
  2320. },
  2321. },
  2322. {
  2323. scope: [
  2324. "keyword.operator.assignment.compound.js",
  2325. "keyword.operator.assignment.compound.ts",
  2326. ],
  2327. settings: {
  2328. foreground: "#08c0ef",
  2329. },
  2330. },
  2331. {
  2332. scope: "keyword.operator.ternary",
  2333. settings: {
  2334. foreground: "#ff678d",
  2335. },
  2336. },
  2337. {
  2338. scope: "keyword.operator.optional",
  2339. settings: {
  2340. foreground: "#ff678d",
  2341. },
  2342. },
  2343. {
  2344. scope: "punctuation",
  2345. settings: {
  2346. foreground: "#79797F",
  2347. },
  2348. },
  2349. {
  2350. scope: "punctuation.separator.delimiter",
  2351. settings: {
  2352. foreground: "#79797F",
  2353. },
  2354. },
  2355. {
  2356. scope: "punctuation.separator.key-value",
  2357. settings: {
  2358. foreground: "#79797F",
  2359. },
  2360. },
  2361. {
  2362. scope: "punctuation.terminator",
  2363. settings: {
  2364. foreground: "#79797F",
  2365. },
  2366. },
  2367. {
  2368. scope: "meta.brace",
  2369. settings: {
  2370. foreground: "#79797F",
  2371. },
  2372. },
  2373. {
  2374. scope: "meta.brace.square",
  2375. settings: {
  2376. foreground: "#79797F",
  2377. },
  2378. },
  2379. {
  2380. scope: "meta.brace.round",
  2381. settings: {
  2382. foreground: "#79797F",
  2383. },
  2384. },
  2385. {
  2386. scope: "function.brace",
  2387. settings: {
  2388. foreground: "#79797F",
  2389. },
  2390. },
  2391. {
  2392. scope: ["punctuation.definition.parameters", "punctuation.definition.typeparameters"],
  2393. settings: {
  2394. foreground: "#79797F",
  2395. },
  2396. },
  2397. {
  2398. scope: ["punctuation.definition.block", "punctuation.definition.tag"],
  2399. settings: {
  2400. foreground: "#79797F",
  2401. },
  2402. },
  2403. {
  2404. scope: ["meta.tag.tsx", "meta.tag.jsx", "meta.tag.js", "meta.tag.ts"],
  2405. settings: {
  2406. foreground: "#79797F",
  2407. },
  2408. },
  2409. {
  2410. scope: "keyword.operator.expression.import",
  2411. settings: {
  2412. foreground: "#9d6afb",
  2413. },
  2414. },
  2415. {
  2416. scope: "keyword.operator.module",
  2417. settings: {
  2418. foreground: "#ff678d",
  2419. },
  2420. },
  2421. {
  2422. scope: "support.type.object.console",
  2423. settings: {
  2424. foreground: "#ffa359",
  2425. },
  2426. },
  2427. {
  2428. scope: ["support.module.node", "support.type.object.module", "entity.name.type.module"],
  2429. settings: {
  2430. foreground: "#ffca00",
  2431. },
  2432. },
  2433. {
  2434. scope: "support.constant.math",
  2435. settings: {
  2436. foreground: "#ffca00",
  2437. },
  2438. },
  2439. {
  2440. scope: "support.constant.property.math",
  2441. settings: {
  2442. foreground: "#ffd452",
  2443. },
  2444. },
  2445. {
  2446. scope: "support.constant.json",
  2447. settings: {
  2448. foreground: "#ffd452",
  2449. },
  2450. },
  2451. {
  2452. scope: "support.type.object.dom",
  2453. settings: {
  2454. foreground: "#08c0ef",
  2455. },
  2456. },
  2457. {
  2458. scope: ["support.variable.dom", "support.variable.property.dom"],
  2459. settings: {
  2460. foreground: "#ffa359",
  2461. },
  2462. },
  2463. {
  2464. scope: "support.variable.property.process",
  2465. settings: {
  2466. foreground: "#ffd452",
  2467. },
  2468. },
  2469. {
  2470. scope: "meta.property.object",
  2471. settings: {
  2472. foreground: "#ffa359",
  2473. },
  2474. },
  2475. {
  2476. scope: "variable.parameter.function.js",
  2477. settings: {
  2478. foreground: "#ffa359",
  2479. },
  2480. },
  2481. {
  2482. scope: ["keyword.other.template.begin", "keyword.other.template.end"],
  2483. settings: {
  2484. foreground: "#5ecc71",
  2485. },
  2486. },
  2487. {
  2488. scope: ["keyword.other.substitution.begin", "keyword.other.substitution.end"],
  2489. settings: {
  2490. foreground: "#5ecc71",
  2491. },
  2492. },
  2493. {
  2494. scope: [
  2495. "punctuation.definition.template-expression.begin",
  2496. "punctuation.definition.template-expression.end",
  2497. ],
  2498. settings: {
  2499. foreground: "#ff678d",
  2500. },
  2501. },
  2502. {
  2503. scope: "meta.template.expression",
  2504. settings: {
  2505. foreground: "#79797F",
  2506. },
  2507. },
  2508. {
  2509. scope: "punctuation.section.embedded",
  2510. settings: {
  2511. foreground: "#ffa359",
  2512. },
  2513. },
  2514. {
  2515. scope: "variable.interpolation",
  2516. settings: {
  2517. foreground: "#ffa359",
  2518. },
  2519. },
  2520. {
  2521. scope: ["punctuation.section.embedded.begin", "punctuation.section.embedded.end"],
  2522. settings: {
  2523. foreground: "#ff678d",
  2524. },
  2525. },
  2526. {
  2527. scope: "punctuation.quasi.element",
  2528. settings: {
  2529. foreground: "#ff678d",
  2530. },
  2531. },
  2532. {
  2533. scope: [
  2534. "support.type.primitive.ts",
  2535. "support.type.builtin.ts",
  2536. "support.type.primitive.tsx",
  2537. "support.type.builtin.tsx",
  2538. ],
  2539. settings: {
  2540. foreground: "#d568ea",
  2541. },
  2542. },
  2543. {
  2544. scope: "support.type.type.flowtype",
  2545. settings: {
  2546. foreground: "#9d6afb",
  2547. },
  2548. },
  2549. {
  2550. scope: "support.type.primitive",
  2551. settings: {
  2552. foreground: "#d568ea",
  2553. },
  2554. },
  2555. {
  2556. scope: "support.variable.magic.python",
  2557. settings: {
  2558. foreground: "#ff6762",
  2559. },
  2560. },
  2561. {
  2562. scope: "variable.parameter.function.language.special.self.python",
  2563. settings: {
  2564. foreground: "#ffca00",
  2565. },
  2566. },
  2567. {
  2568. scope: [
  2569. "punctuation.separator.period.python",
  2570. "punctuation.separator.element.python",
  2571. "punctuation.parenthesis.begin.python",
  2572. "punctuation.parenthesis.end.python",
  2573. ],
  2574. settings: {
  2575. foreground: "#79797F",
  2576. },
  2577. },
  2578. {
  2579. scope: [
  2580. "punctuation.definition.arguments.begin.python",
  2581. "punctuation.definition.arguments.end.python",
  2582. "punctuation.separator.arguments.python",
  2583. "punctuation.definition.list.begin.python",
  2584. "punctuation.definition.list.end.python",
  2585. ],
  2586. settings: {
  2587. foreground: "#79797F",
  2588. },
  2589. },
  2590. {
  2591. scope: "support.type.python",
  2592. settings: {
  2593. foreground: "#08c0ef",
  2594. },
  2595. },
  2596. {
  2597. scope: "keyword.operator.logical.python",
  2598. settings: {
  2599. foreground: "#ff678d",
  2600. },
  2601. },
  2602. {
  2603. scope: "meta.function-call.generic.python",
  2604. settings: {
  2605. foreground: "#9d6afb",
  2606. },
  2607. },
  2608. {
  2609. scope: "constant.character.format.placeholder.other.python",
  2610. settings: {
  2611. foreground: "#ffd452",
  2612. },
  2613. },
  2614. {
  2615. scope: "meta.function.decorator.python",
  2616. settings: {
  2617. foreground: "#9d6afb",
  2618. },
  2619. },
  2620. {
  2621. scope: ["support.token.decorator.python", "meta.function.decorator.identifier.python"],
  2622. settings: {
  2623. foreground: "#08c0ef",
  2624. },
  2625. },
  2626. {
  2627. scope: "storage.modifier.lifetime.rust",
  2628. settings: {
  2629. foreground: "#79797F",
  2630. },
  2631. },
  2632. {
  2633. scope: "support.function.std.rust",
  2634. settings: {
  2635. foreground: "#9d6afb",
  2636. },
  2637. },
  2638. {
  2639. scope: "entity.name.lifetime.rust",
  2640. settings: {
  2641. foreground: "#ffca00",
  2642. },
  2643. },
  2644. {
  2645. scope: "variable.language.rust",
  2646. settings: {
  2647. foreground: "#ff6762",
  2648. },
  2649. },
  2650. {
  2651. scope: "keyword.operator.misc.rust",
  2652. settings: {
  2653. foreground: "#79797F",
  2654. },
  2655. },
  2656. {
  2657. scope: "keyword.operator.sigil.rust",
  2658. settings: {
  2659. foreground: "#ff678d",
  2660. },
  2661. },
  2662. {
  2663. scope: "support.constant.core.rust",
  2664. settings: {
  2665. foreground: "#ffd452",
  2666. },
  2667. },
  2668. {
  2669. scope: ["meta.function.c", "meta.function.cpp"],
  2670. settings: {
  2671. foreground: "#ff6762",
  2672. },
  2673. },
  2674. {
  2675. scope: [
  2676. "punctuation.section.block.begin.bracket.curly.cpp",
  2677. "punctuation.section.block.end.bracket.curly.cpp",
  2678. "punctuation.terminator.statement.c",
  2679. "punctuation.section.block.begin.bracket.curly.c",
  2680. "punctuation.section.block.end.bracket.curly.c",
  2681. "punctuation.section.parens.begin.bracket.round.c",
  2682. "punctuation.section.parens.end.bracket.round.c",
  2683. "punctuation.section.parameters.begin.bracket.round.c",
  2684. "punctuation.section.parameters.end.bracket.round.c",
  2685. ],
  2686. settings: {
  2687. foreground: "#79797F",
  2688. },
  2689. },
  2690. {
  2691. scope: [
  2692. "keyword.operator.assignment.c",
  2693. "keyword.operator.comparison.c",
  2694. "keyword.operator.c",
  2695. "keyword.operator.increment.c",
  2696. "keyword.operator.decrement.c",
  2697. "keyword.operator.bitwise.shift.c",
  2698. ],
  2699. settings: {
  2700. foreground: "#ff678d",
  2701. },
  2702. },
  2703. {
  2704. scope: [
  2705. "keyword.operator.assignment.cpp",
  2706. "keyword.operator.comparison.cpp",
  2707. "keyword.operator.cpp",
  2708. "keyword.operator.increment.cpp",
  2709. "keyword.operator.decrement.cpp",
  2710. "keyword.operator.bitwise.shift.cpp",
  2711. ],
  2712. settings: {
  2713. foreground: "#ff678d",
  2714. },
  2715. },
  2716. {
  2717. scope: ["punctuation.separator.c", "punctuation.separator.cpp"],
  2718. settings: {
  2719. foreground: "#ff678d",
  2720. },
  2721. },
  2722. {
  2723. scope: ["support.type.posix-reserved.c", "support.type.posix-reserved.cpp"],
  2724. settings: {
  2725. foreground: "#08c0ef",
  2726. },
  2727. },
  2728. {
  2729. scope: ["keyword.operator.sizeof.c", "keyword.operator.sizeof.cpp"],
  2730. settings: {
  2731. foreground: "#ff678d",
  2732. },
  2733. },
  2734. {
  2735. scope: "variable.c",
  2736. settings: {
  2737. foreground: "#79797F",
  2738. },
  2739. },
  2740. {
  2741. scope: ["storage.type.annotation.java", "storage.type.object.array.java"],
  2742. settings: {
  2743. foreground: "#ffca00",
  2744. },
  2745. },
  2746. {
  2747. scope: "source.java",
  2748. settings: {
  2749. foreground: "#ff6762",
  2750. },
  2751. },
  2752. {
  2753. scope: [
  2754. "punctuation.section.block.begin.java",
  2755. "punctuation.section.block.end.java",
  2756. "punctuation.definition.method-parameters.begin.java",
  2757. "punctuation.definition.method-parameters.end.java",
  2758. "meta.method.identifier.java",
  2759. "punctuation.section.method.begin.java",
  2760. "punctuation.section.method.end.java",
  2761. "punctuation.terminator.java",
  2762. "punctuation.section.class.begin.java",
  2763. "punctuation.section.class.end.java",
  2764. "punctuation.section.inner-class.begin.java",
  2765. "punctuation.section.inner-class.end.java",
  2766. "meta.method-call.java",
  2767. "punctuation.section.class.begin.bracket.curly.java",
  2768. "punctuation.section.class.end.bracket.curly.java",
  2769. "punctuation.section.method.begin.bracket.curly.java",
  2770. "punctuation.section.method.end.bracket.curly.java",
  2771. "punctuation.separator.period.java",
  2772. "punctuation.bracket.angle.java",
  2773. "punctuation.definition.annotation.java",
  2774. "meta.method.body.java",
  2775. ],
  2776. settings: {
  2777. foreground: "#79797F",
  2778. },
  2779. },
  2780. {
  2781. scope: "meta.method.java",
  2782. settings: {
  2783. foreground: "#9d6afb",
  2784. },
  2785. },
  2786. {
  2787. scope: ["storage.modifier.import.java", "storage.type.java", "storage.type.generic.java"],
  2788. settings: {
  2789. foreground: "#ffca00",
  2790. },
  2791. },
  2792. {
  2793. scope: "keyword.operator.instanceof.java",
  2794. settings: {
  2795. foreground: "#ff678d",
  2796. },
  2797. },
  2798. {
  2799. scope: "meta.definition.variable.name.java",
  2800. settings: {
  2801. foreground: "#ff6762",
  2802. },
  2803. },
  2804. {
  2805. scope: "token.variable.parameter.java",
  2806. settings: {
  2807. foreground: "#79797F",
  2808. },
  2809. },
  2810. {
  2811. scope: "import.storage.java",
  2812. settings: {
  2813. foreground: "#ffca00",
  2814. },
  2815. },
  2816. {
  2817. scope: "token.package.keyword",
  2818. settings: {
  2819. foreground: "#ff678d",
  2820. },
  2821. },
  2822. {
  2823. scope: "token.package",
  2824. settings: {
  2825. foreground: "#79797F",
  2826. },
  2827. },
  2828. {
  2829. scope: "token.storage.type.java",
  2830. settings: {
  2831. foreground: "#ffca00",
  2832. },
  2833. },
  2834. {
  2835. scope: "keyword.operator.assignment.go",
  2836. settings: {
  2837. foreground: "#ffca00",
  2838. },
  2839. },
  2840. {
  2841. scope: ["keyword.operator.arithmetic.go", "keyword.operator.address.go"],
  2842. settings: {
  2843. foreground: "#ff678d",
  2844. },
  2845. },
  2846. {
  2847. scope: "entity.name.package.go",
  2848. settings: {
  2849. foreground: "#ffca00",
  2850. },
  2851. },
  2852. {
  2853. scope: [
  2854. "support.other.namespace.use.php",
  2855. "support.other.namespace.use-as.php",
  2856. "support.other.namespace.php",
  2857. "entity.other.alias.php",
  2858. "meta.interface.php",
  2859. ],
  2860. settings: {
  2861. foreground: "#ffca00",
  2862. },
  2863. },
  2864. {
  2865. scope: "keyword.operator.error-control.php",
  2866. settings: {
  2867. foreground: "#ff678d",
  2868. },
  2869. },
  2870. {
  2871. scope: "keyword.operator.type.php",
  2872. settings: {
  2873. foreground: "#ff678d",
  2874. },
  2875. },
  2876. {
  2877. scope: ["punctuation.section.array.begin.php", "punctuation.section.array.end.php"],
  2878. settings: {
  2879. foreground: "#79797F",
  2880. },
  2881. },
  2882. {
  2883. scope: [
  2884. "storage.type.php",
  2885. "meta.other.type.phpdoc.php",
  2886. "keyword.other.type.php",
  2887. "keyword.other.array.phpdoc.php",
  2888. ],
  2889. settings: {
  2890. foreground: "#ffca00",
  2891. },
  2892. },
  2893. {
  2894. scope: [
  2895. "meta.function-call.php",
  2896. "meta.function-call.object.php",
  2897. "meta.function-call.static.php",
  2898. ],
  2899. settings: {
  2900. foreground: "#9d6afb",
  2901. },
  2902. },
  2903. {
  2904. scope: [
  2905. "punctuation.definition.parameters.begin.bracket.round.php",
  2906. "punctuation.definition.parameters.end.bracket.round.php",
  2907. "punctuation.separator.delimiter.php",
  2908. "punctuation.section.scope.begin.php",
  2909. "punctuation.section.scope.end.php",
  2910. "punctuation.terminator.expression.php",
  2911. "punctuation.definition.arguments.begin.bracket.round.php",
  2912. "punctuation.definition.arguments.end.bracket.round.php",
  2913. "punctuation.definition.storage-type.begin.bracket.round.php",
  2914. "punctuation.definition.storage-type.end.bracket.round.php",
  2915. "punctuation.definition.array.begin.bracket.round.php",
  2916. "punctuation.definition.array.end.bracket.round.php",
  2917. "punctuation.definition.begin.bracket.round.php",
  2918. "punctuation.definition.end.bracket.round.php",
  2919. "punctuation.definition.begin.bracket.curly.php",
  2920. "punctuation.definition.end.bracket.curly.php",
  2921. "punctuation.definition.section.switch-block.end.bracket.curly.php",
  2922. "punctuation.definition.section.switch-block.start.bracket.curly.php",
  2923. "punctuation.definition.section.switch-block.begin.bracket.curly.php",
  2924. "punctuation.definition.section.switch-block.end.bracket.curly.php",
  2925. ],
  2926. settings: {
  2927. foreground: "#79797F",
  2928. },
  2929. },
  2930. {
  2931. scope: [
  2932. "support.constant.ext.php",
  2933. "support.constant.std.php",
  2934. "support.constant.core.php",
  2935. "support.constant.parser-token.php",
  2936. ],
  2937. settings: {
  2938. foreground: "#ffd452",
  2939. },
  2940. },
  2941. {
  2942. scope: ["entity.name.goto-label.php", "support.other.php"],
  2943. settings: {
  2944. foreground: "#9d6afb",
  2945. },
  2946. },
  2947. {
  2948. scope: [
  2949. "keyword.operator.logical.php",
  2950. "keyword.operator.bitwise.php",
  2951. "keyword.operator.arithmetic.php",
  2952. ],
  2953. settings: {
  2954. foreground: "#08c0ef",
  2955. },
  2956. },
  2957. {
  2958. scope: "keyword.operator.regexp.php",
  2959. settings: {
  2960. foreground: "#ff678d",
  2961. },
  2962. },
  2963. {
  2964. scope: "keyword.operator.comparison.php",
  2965. settings: {
  2966. foreground: "#08c0ef",
  2967. },
  2968. },
  2969. {
  2970. scope: ["keyword.operator.heredoc.php", "keyword.operator.nowdoc.php"],
  2971. settings: {
  2972. foreground: "#ff678d",
  2973. },
  2974. },
  2975. {
  2976. scope: "variable.other.class.php",
  2977. settings: {
  2978. foreground: "#ff6762",
  2979. },
  2980. },
  2981. {
  2982. scope: "invalid.illegal.non-null-typehinted.php",
  2983. settings: {
  2984. foreground: "#f44747",
  2985. },
  2986. },
  2987. {
  2988. scope: "variable.other.generic-type.haskell",
  2989. settings: {
  2990. foreground: "#ff678d",
  2991. },
  2992. },
  2993. {
  2994. scope: "storage.type.haskell",
  2995. settings: {
  2996. foreground: "#ffd452",
  2997. },
  2998. },
  2999. {
  3000. scope: "storage.type.cs",
  3001. settings: {
  3002. foreground: "#ffca00",
  3003. },
  3004. },
  3005. {
  3006. scope: "entity.name.variable.local.cs",
  3007. settings: {
  3008. foreground: "#ff6762",
  3009. },
  3010. },
  3011. {
  3012. scope: "entity.name.label.cs",
  3013. settings: {
  3014. foreground: "#ffca00",
  3015. },
  3016. },
  3017. {
  3018. scope: [
  3019. "entity.name.scope-resolution.function.call",
  3020. "entity.name.scope-resolution.function.definition",
  3021. ],
  3022. settings: {
  3023. foreground: "#ffca00",
  3024. },
  3025. },
  3026. {
  3027. scope: [
  3028. "punctuation.definition.delayed.unison",
  3029. "punctuation.definition.list.begin.unison",
  3030. "punctuation.definition.list.end.unison",
  3031. "punctuation.definition.ability.begin.unison",
  3032. "punctuation.definition.ability.end.unison",
  3033. "punctuation.operator.assignment.as.unison",
  3034. "punctuation.separator.pipe.unison",
  3035. "punctuation.separator.delimiter.unison",
  3036. "punctuation.definition.hash.unison",
  3037. ],
  3038. settings: {
  3039. foreground: "#ff6762",
  3040. },
  3041. },
  3042. {
  3043. scope: "support.constant.edge",
  3044. settings: {
  3045. foreground: "#ff678d",
  3046. },
  3047. },
  3048. {
  3049. scope: "support.type.prelude.elm",
  3050. settings: {
  3051. foreground: "#08c0ef",
  3052. },
  3053. },
  3054. {
  3055. scope: "support.constant.elm",
  3056. settings: {
  3057. foreground: "#ffd452",
  3058. },
  3059. },
  3060. {
  3061. scope: "entity.global.clojure",
  3062. settings: {
  3063. foreground: "#ffca00",
  3064. },
  3065. },
  3066. {
  3067. scope: "meta.symbol.clojure",
  3068. settings: {
  3069. foreground: "#ff6762",
  3070. },
  3071. },
  3072. {
  3073. scope: "constant.keyword.clojure",
  3074. settings: {
  3075. foreground: "#08c0ef",
  3076. },
  3077. },
  3078. {
  3079. scope: ["meta.arguments.coffee", "variable.parameter.function.coffee"],
  3080. settings: {
  3081. foreground: "#ff6762",
  3082. },
  3083. },
  3084. {
  3085. scope: "storage.modifier.import.groovy",
  3086. settings: {
  3087. foreground: "#ffca00",
  3088. },
  3089. },
  3090. {
  3091. scope: "meta.method.groovy",
  3092. settings: {
  3093. foreground: "#9d6afb",
  3094. },
  3095. },
  3096. {
  3097. scope: "meta.definition.variable.name.groovy",
  3098. settings: {
  3099. foreground: "#ff6762",
  3100. },
  3101. },
  3102. {
  3103. scope: "meta.definition.class.inherited.classes.groovy",
  3104. settings: {
  3105. foreground: "#5ecc71",
  3106. },
  3107. },
  3108. {
  3109. scope: "support.variable.semantic.hlsl",
  3110. settings: {
  3111. foreground: "#ffca00",
  3112. },
  3113. },
  3114. {
  3115. scope: [
  3116. "support.type.texture.hlsl",
  3117. "support.type.sampler.hlsl",
  3118. "support.type.object.hlsl",
  3119. "support.type.object.rw.hlsl",
  3120. "support.type.fx.hlsl",
  3121. "support.type.object.hlsl",
  3122. ],
  3123. settings: {
  3124. foreground: "#ff678d",
  3125. },
  3126. },
  3127. {
  3128. scope: ["text.variable", "text.bracketed"],
  3129. settings: {
  3130. foreground: "#ff6762",
  3131. },
  3132. },
  3133. {
  3134. scope: ["support.type.swift", "support.type.vb.asp"],
  3135. settings: {
  3136. foreground: "#ffca00",
  3137. },
  3138. },
  3139. {
  3140. scope: "meta.scope.prerequisites.makefile",
  3141. settings: {
  3142. foreground: "#ff6762",
  3143. },
  3144. },
  3145. {
  3146. scope: "source.makefile",
  3147. settings: {
  3148. foreground: "#ffca00",
  3149. },
  3150. },
  3151. {
  3152. scope: "source.ini",
  3153. settings: {
  3154. foreground: "#5ecc71",
  3155. },
  3156. },
  3157. {
  3158. scope: "constant.language.symbol.ruby",
  3159. settings: {
  3160. foreground: "#08c0ef",
  3161. },
  3162. },
  3163. {
  3164. scope: ["function.parameter.ruby", "function.parameter.cs"],
  3165. settings: {
  3166. foreground: "#79797F",
  3167. },
  3168. },
  3169. {
  3170. scope: "constant.language.symbol.elixir",
  3171. settings: {
  3172. foreground: "#08c0ef",
  3173. },
  3174. },
  3175. {
  3176. scope:
  3177. "text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade",
  3178. settings: {
  3179. foreground: "#ff678d",
  3180. },
  3181. },
  3182. {
  3183. scope:
  3184. "text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade",
  3185. settings: {
  3186. foreground: "#ff678d",
  3187. },
  3188. },
  3189. {
  3190. scope: "entity.name.function.xi",
  3191. settings: {
  3192. foreground: "#ffca00",
  3193. },
  3194. },
  3195. {
  3196. scope: "entity.name.class.xi",
  3197. settings: {
  3198. foreground: "#08c0ef",
  3199. },
  3200. },
  3201. {
  3202. scope: "constant.character.character-class.regexp.xi",
  3203. settings: {
  3204. foreground: "#ff6762",
  3205. },
  3206. },
  3207. {
  3208. scope: "constant.regexp.xi",
  3209. settings: {
  3210. foreground: "#ff678d",
  3211. },
  3212. },
  3213. {
  3214. scope: "keyword.control.xi",
  3215. settings: {
  3216. foreground: "#08c0ef",
  3217. },
  3218. },
  3219. {
  3220. scope: "invalid.xi",
  3221. settings: {
  3222. foreground: "#79797F",
  3223. },
  3224. },
  3225. {
  3226. scope: "beginning.punctuation.definition.quote.markdown.xi",
  3227. settings: {
  3228. foreground: "#5ecc71",
  3229. },
  3230. },
  3231. {
  3232. scope: "beginning.punctuation.definition.list.markdown.xi",
  3233. settings: {
  3234. foreground: "#84848A",
  3235. },
  3236. },
  3237. {
  3238. scope: "constant.character.xi",
  3239. settings: {
  3240. foreground: "#9d6afb",
  3241. },
  3242. },
  3243. {
  3244. scope: "accent.xi",
  3245. settings: {
  3246. foreground: "#9d6afb",
  3247. },
  3248. },
  3249. {
  3250. scope: "wikiword.xi",
  3251. settings: {
  3252. foreground: "#ffd452",
  3253. },
  3254. },
  3255. {
  3256. scope: "constant.other.color.rgb-value.xi",
  3257. settings: {
  3258. foreground: "#ffffff",
  3259. },
  3260. },
  3261. {
  3262. scope: "punctuation.definition.tag.xi",
  3263. settings: {
  3264. foreground: "#84848A",
  3265. },
  3266. },
  3267. {
  3268. scope: ["support.constant.property-value.scss", "support.constant.property-value.css"],
  3269. settings: {
  3270. foreground: "#ffd452",
  3271. },
  3272. },
  3273. {
  3274. scope: ["keyword.operator.css", "keyword.operator.scss", "keyword.operator.less"],
  3275. settings: {
  3276. foreground: "#08c0ef",
  3277. },
  3278. },
  3279. {
  3280. scope: [
  3281. "support.constant.color.w3c-standard-color-name.css",
  3282. "support.constant.color.w3c-standard-color-name.scss",
  3283. ],
  3284. settings: {
  3285. foreground: "#ffd452",
  3286. },
  3287. },
  3288. {
  3289. scope: "punctuation.separator.list.comma.css",
  3290. settings: {
  3291. foreground: "#79797F",
  3292. },
  3293. },
  3294. {
  3295. scope: "support.type.vendored.property-name.css",
  3296. settings: {
  3297. foreground: "#08c0ef",
  3298. },
  3299. },
  3300. {
  3301. scope: "support.type.property-name.css",
  3302. settings: {
  3303. foreground: "#08c0ef",
  3304. },
  3305. },
  3306. {
  3307. scope: "support.type.property-name",
  3308. settings: {
  3309. foreground: "#79797F",
  3310. },
  3311. },
  3312. {
  3313. scope: "support.constant.property-value",
  3314. settings: {
  3315. foreground: "#79797F",
  3316. },
  3317. },
  3318. {
  3319. scope: "support.constant.font-name",
  3320. settings: {
  3321. foreground: "#ffd452",
  3322. },
  3323. },
  3324. {
  3325. scope: "entity.other.attribute-name.class.css",
  3326. settings: {
  3327. foreground: "#61d5c0",
  3328. fontStyle: "normal",
  3329. },
  3330. },
  3331. {
  3332. scope: "entity.other.attribute-name.id",
  3333. settings: {
  3334. foreground: "#9d6afb",
  3335. fontStyle: "normal",
  3336. },
  3337. },
  3338. {
  3339. scope: [
  3340. "entity.other.attribute-name.pseudo-element",
  3341. "entity.other.attribute-name.pseudo-class",
  3342. ],
  3343. settings: {
  3344. foreground: "#08c0ef",
  3345. },
  3346. },
  3347. {
  3348. scope: "meta.selector",
  3349. settings: {
  3350. foreground: "#ff678d",
  3351. },
  3352. },
  3353. {
  3354. scope: "selector.sass",
  3355. settings: {
  3356. foreground: "#ff6762",
  3357. },
  3358. },
  3359. {
  3360. scope: "rgb-value",
  3361. settings: {
  3362. foreground: "#08c0ef",
  3363. },
  3364. },
  3365. {
  3366. scope: "inline-color-decoration rgb-value",
  3367. settings: {
  3368. foreground: "#ffd452",
  3369. },
  3370. },
  3371. {
  3372. scope: "less rgb-value",
  3373. settings: {
  3374. foreground: "#ffd452",
  3375. },
  3376. },
  3377. {
  3378. scope: "control.elements",
  3379. settings: {
  3380. foreground: "#ffd452",
  3381. },
  3382. },
  3383. {
  3384. scope: "keyword.operator.less",
  3385. settings: {
  3386. foreground: "#ffd452",
  3387. },
  3388. },
  3389. {
  3390. scope: "entity.name.tag",
  3391. settings: {
  3392. foreground: "#ff6762",
  3393. },
  3394. },
  3395. {
  3396. scope: "entity.other.attribute-name",
  3397. settings: {
  3398. foreground: "#61d5c0",
  3399. fontStyle: "normal",
  3400. },
  3401. },
  3402. {
  3403. scope: "constant.character.entity",
  3404. settings: {
  3405. foreground: "#ff6762",
  3406. },
  3407. },
  3408. {
  3409. scope: "meta.tag",
  3410. settings: {
  3411. foreground: "#79797F",
  3412. },
  3413. },
  3414. {
  3415. scope: "invalid.illegal.bad-ampersand.html",
  3416. settings: {
  3417. foreground: "#79797F",
  3418. },
  3419. },
  3420. {
  3421. scope: "markup.heading",
  3422. settings: {
  3423. foreground: "#ff6762",
  3424. },
  3425. },
  3426. {
  3427. scope: ["markup.heading punctuation.definition.heading", "entity.name.section"],
  3428. settings: {
  3429. foreground: "#9d6afb",
  3430. },
  3431. },
  3432. {
  3433. scope: "entity.name.section.markdown",
  3434. settings: {
  3435. foreground: "#ff6762",
  3436. },
  3437. },
  3438. {
  3439. scope: "punctuation.definition.heading.markdown",
  3440. settings: {
  3441. foreground: "#ff6762",
  3442. },
  3443. },
  3444. {
  3445. scope: "markup.heading.setext",
  3446. settings: {
  3447. foreground: "#79797F",
  3448. },
  3449. },
  3450. {
  3451. scope: ["markup.heading.setext.1.markdown", "markup.heading.setext.2.markdown"],
  3452. settings: {
  3453. foreground: "#ff6762",
  3454. },
  3455. },
  3456. {
  3457. scope: ["markup.bold", "todo.bold"],
  3458. settings: {
  3459. foreground: "#ffd452",
  3460. },
  3461. },
  3462. {
  3463. scope: "punctuation.definition.bold",
  3464. settings: {
  3465. foreground: "#ffca00",
  3466. },
  3467. },
  3468. {
  3469. scope: "punctuation.definition.bold.markdown",
  3470. settings: {
  3471. foreground: "#ffd452",
  3472. },
  3473. },
  3474. {
  3475. scope: ["markup.italic", "punctuation.definition.italic", "todo.emphasis"],
  3476. settings: {
  3477. foreground: "#ff678d",
  3478. fontStyle: "italic",
  3479. },
  3480. },
  3481. {
  3482. scope: "emphasis md",
  3483. settings: {
  3484. foreground: "#ff678d",
  3485. },
  3486. },
  3487. {
  3488. scope: "markup.italic.markdown",
  3489. settings: {
  3490. fontStyle: "italic",
  3491. },
  3492. },
  3493. {
  3494. scope: ["markup.underline.link.markdown", "markup.underline.link.image.markdown"],
  3495. settings: {
  3496. foreground: "#ff678d",
  3497. },
  3498. },
  3499. {
  3500. scope: ["string.other.link.title.markdown", "string.other.link.description.markdown"],
  3501. settings: {
  3502. foreground: "#9d6afb",
  3503. },
  3504. },
  3505. {
  3506. scope: "punctuation.definition.metadata.markdown",
  3507. settings: {
  3508. foreground: "#ff6762",
  3509. },
  3510. },
  3511. {
  3512. scope: ["markup.inline.raw.markdown", "markup.inline.raw.string.markdown"],
  3513. settings: {
  3514. foreground: "#5ecc71",
  3515. },
  3516. },
  3517. {
  3518. scope: "punctuation.definition.list.begin.markdown",
  3519. settings: {
  3520. foreground: "#ff6762",
  3521. },
  3522. },
  3523. {
  3524. scope: "punctuation.definition.list.markdown",
  3525. settings: {
  3526. foreground: "#ff6762",
  3527. },
  3528. },
  3529. {
  3530. scope: "beginning.punctuation.definition.list.markdown",
  3531. settings: {
  3532. foreground: "#ff6762",
  3533. },
  3534. },
  3535. {
  3536. scope: [
  3537. "punctuation.definition.string.begin.markdown",
  3538. "punctuation.definition.string.end.markdown",
  3539. ],
  3540. settings: {
  3541. foreground: "#ff6762",
  3542. },
  3543. },
  3544. {
  3545. scope: "markup.quote.markdown",
  3546. settings: {
  3547. foreground: "#84848A",
  3548. },
  3549. },
  3550. {
  3551. scope: "keyword.other.unit",
  3552. settings: {
  3553. foreground: "#ff6762",
  3554. },
  3555. },
  3556. {
  3557. scope: "markup.changed.diff",
  3558. settings: {
  3559. foreground: "#ffca00",
  3560. },
  3561. },
  3562. {
  3563. scope: [
  3564. "meta.diff.header.from-file",
  3565. "meta.diff.header.to-file",
  3566. "punctuation.definition.from-file.diff",
  3567. "punctuation.definition.to-file.diff",
  3568. ],
  3569. settings: {
  3570. foreground: "#9d6afb",
  3571. },
  3572. },
  3573. {
  3574. scope: "markup.inserted.diff",
  3575. settings: {
  3576. foreground: "#5ecc71",
  3577. },
  3578. },
  3579. {
  3580. scope: "markup.deleted.diff",
  3581. settings: {
  3582. foreground: "#ff6762",
  3583. },
  3584. },
  3585. {
  3586. scope: "string.regexp",
  3587. settings: {
  3588. foreground: "#64d1db",
  3589. },
  3590. },
  3591. {
  3592. scope: "constant.other.character-class.regexp",
  3593. settings: {
  3594. foreground: "#ff6762",
  3595. },
  3596. },
  3597. {
  3598. scope: "keyword.operator.quantifier.regexp",
  3599. settings: {
  3600. foreground: "#ffd452",
  3601. },
  3602. },
  3603. {
  3604. scope: "constant.character.escape",
  3605. settings: {
  3606. foreground: "#68cdf2",
  3607. },
  3608. },
  3609. {
  3610. scope: "source.json meta.structure.dictionary.json > string.quoted.json",
  3611. settings: {
  3612. foreground: "#ff6762",
  3613. },
  3614. },
  3615. {
  3616. scope:
  3617. "source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string",
  3618. settings: {
  3619. foreground: "#ff6762",
  3620. },
  3621. },
  3622. {
  3623. scope: [
  3624. "source.json meta.structure.dictionary.json > value.json > string.quoted.json",
  3625. "source.json meta.structure.array.json > value.json > string.quoted.json",
  3626. "source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation",
  3627. "source.json meta.structure.array.json > value.json > string.quoted.json > punctuation",
  3628. ],
  3629. settings: {
  3630. foreground: "#5ecc71",
  3631. },
  3632. },
  3633. {
  3634. scope: [
  3635. "source.json meta.structure.dictionary.json > constant.language.json",
  3636. "source.json meta.structure.array.json > constant.language.json",
  3637. ],
  3638. settings: {
  3639. foreground: "#08c0ef",
  3640. },
  3641. },
  3642. {
  3643. scope: "support.type.property-name.json",
  3644. settings: {
  3645. foreground: "#ff6762",
  3646. },
  3647. },
  3648. {
  3649. scope: "support.type.property-name.json punctuation",
  3650. settings: {
  3651. foreground: "#ff6762",
  3652. },
  3653. },
  3654. {
  3655. scope: "punctuation.definition.block.sequence.item.yaml",
  3656. settings: {
  3657. foreground: "#79797F",
  3658. },
  3659. },
  3660. {
  3661. scope: "block.scope.end",
  3662. settings: {
  3663. foreground: "#79797F",
  3664. },
  3665. },
  3666. {
  3667. scope: "block.scope.begin",
  3668. settings: {
  3669. foreground: "#79797F",
  3670. },
  3671. },
  3672. {
  3673. scope: "token.info-token",
  3674. settings: {
  3675. foreground: "#9d6afb",
  3676. },
  3677. },
  3678. {
  3679. scope: "token.warn-token",
  3680. settings: {
  3681. foreground: "#ffd452",
  3682. },
  3683. },
  3684. {
  3685. scope: "token.error-token",
  3686. settings: {
  3687. foreground: "#f44747",
  3688. },
  3689. },
  3690. {
  3691. scope: "token.debug-token",
  3692. settings: {
  3693. foreground: "#ff678d",
  3694. },
  3695. },
  3696. {
  3697. scope: "invalid.illegal",
  3698. settings: {
  3699. foreground: "#ffffff",
  3700. },
  3701. },
  3702. {
  3703. scope: "invalid.broken",
  3704. settings: {
  3705. foreground: "#ffffff",
  3706. },
  3707. },
  3708. {
  3709. scope: "invalid.deprecated",
  3710. settings: {
  3711. foreground: "#ffffff",
  3712. },
  3713. },
  3714. {
  3715. scope: "invalid.unimplemented",
  3716. settings: {
  3717. foreground: "#ffffff",
  3718. },
  3719. },
  3720. ],
  3721. semanticTokenColors: {
  3722. comment: "#84848A",
  3723. string: "#5ecc71",
  3724. number: "#68cdf2",
  3725. regexp: "#64d1db",
  3726. keyword: "#ff678d",
  3727. variable: "#ffa359",
  3728. parameter: "#adadb1",
  3729. property: "#ffa359",
  3730. function: "#9d6afb",
  3731. method: "#9d6afb",
  3732. type: "#d568ea",
  3733. class: "#d568ea",
  3734. namespace: "#ffca00",
  3735. enumMember: "#08c0ef",
  3736. "variable.constant": "#ffd452",
  3737. "variable.defaultLibrary": "#ffca00",
  3738. },
  3739. } as unknown as ThemeRegistrationResolved)
  3740. })