Skip to content

Commit

Permalink
Merge pull request #239 from jeffgennari/main
Browse files Browse the repository at this point in the history
Applying theme colors to UI
  • Loading branch information
simurai authored Jul 13, 2022
2 parents c0b8efe + d1d663b commit 6164157
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/popular-scissors-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"github-vscode-theme": minor
---

Add debug and symbol icon colors
47 changes: 47 additions & 0 deletions src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,53 @@ function getTheme({ theme, name }) {
"panelTitle.activeForeground" : color.fg.default,
"panelTitle.inactiveForeground" : color.fg.muted,
"panelInput.border" : color.border.default,

"debugConsole.infoForeground": lightDark( scale.gray[6], scale.gray[3]),
"debugConsole.warningForeground": lightDark( scale.yellow[6], scale.yellow[3]),
"debugConsole.errorForeground": lightDark( scale.red[5], scale.red[2]),
"debugConsole.sourceForeground": lightDark( scale.yellow[5], scale.yellow[2]),
"debugConsoleInputIcon.foreground": lightDark( scale.purple[6], scale.purple[3]),

"debugTokenExpression.name": lightDark(scale.blue[6], scale.blue[2]),
"debugTokenExpression.value": lightDark(scale.blue[8], scale.blue[1]),
"debugTokenExpression.string": lightDark(scale.blue[8], scale.blue[1]),
"debugTokenExpression.boolean": lightDark( scale.green[6], scale.green[2]),
"debugTokenExpression.number": lightDark( scale.green[6], scale.green[2]),
"debugTokenExpression.error": lightDark( scale.red[6], scale.red[2]),

"symbolIcon.arrayForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.booleanForeground": lightDark( scale.blue[6], scale.blue[3]),
"symbolIcon.classForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.colorForeground": lightDark( scale.blue[8], scale.blue[2]),
"symbolIcon.constructorForeground": lightDark( scale.purple[8], scale.purple[2]),
"symbolIcon.enumeratorForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.enumeratorMemberForeground": lightDark( scale.blue[6], scale.blue[3]),
"symbolIcon.eventForeground": lightDark( scale.gray[6], scale.gray[4]),
"symbolIcon.fieldForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.fileForeground": lightDark( scale.yellow[6], scale.yellow[3]),
"symbolIcon.folderForeground": lightDark( scale.yellow[6], scale.yellow[3]),
"symbolIcon.functionForeground": lightDark( scale.purple[6], scale.purple[3]),
"symbolIcon.interfaceForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.keyForeground": lightDark( scale.blue[6], scale.blue[3]),
"symbolIcon.keywordForeground": lightDark( scale.red[6], scale.red[3]),
"symbolIcon.methodForeground": lightDark( scale.purple[6], scale.purple[3]),
"symbolIcon.moduleForeground": lightDark( scale.red[6], scale.red[3]),
"symbolIcon.namespaceForeground": lightDark( scale.red[6], scale.red[3]),
"symbolIcon.nullForeground": lightDark( scale.blue[6], scale.blue[3]),
"symbolIcon.numberForeground": lightDark( scale.green[6], scale.green[3]),
"symbolIcon.objectForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.operatorForeground": lightDark( scale.blue[8], scale.blue[2]),
"symbolIcon.packageForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.propertyForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.referenceForeground": lightDark( scale.blue[6], scale.blue[3]),
"symbolIcon.snippetForeground": lightDark( scale.blue[6], scale.blue[3]),
"symbolIcon.stringForeground": lightDark( scale.blue[8], scale.blue[2]),
"symbolIcon.structForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.textForeground": lightDark( scale.blue[8], scale.blue[2]),
"symbolIcon.typeParameterForeground": lightDark( scale.blue[8], scale.blue[2]),
"symbolIcon.unitForeground": lightDark( scale.blue[6], scale.blue[3]),
"symbolIcon.variableForeground": lightDark( scale.orange[6], scale.orange[3]),
"symbolIcon.constantForeground": lightDark( scale.green[6], scale.green),

"terminal.foreground": color.fg.muted,
'terminal.ansiBlack': color.ansi.black,
Expand Down

0 comments on commit 6164157

Please sign in to comment.