Skip to content

Commit

Permalink
Merge pull request #192 from aws/jurredr/add-syntax-fallback-colors
Browse files Browse the repository at this point in the history
Add syntax fallback colors
  • Loading branch information
dogusata authored Nov 29, 2024
2 parents 2df06b5 + 503f585 commit 929a1f7
Showing 1 changed file with 32 additions and 11 deletions.
43 changes: 32 additions & 11 deletions src/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,39 @@
--mynah-color-toggle-reverse: rgba(0, 0, 0, 0.5);

--mynah-color-syntax-bg: var(--vscode-terminal-dropBackground);
--mynah-color-syntax-variable: var(--vscode-gitDecoration-modifiedResourceForeground);
--mynah-color-syntax-function: var(--vscode-debugTokenExpression-boolean);
--mynah-color-syntax-operator: var(--vscode-terminal-foreground);
--mynah-color-syntax-property: var(--vscode-terminal-ansiCyan);
--mynah-color-syntax-comment: var(--vscode-debugConsole-sourceForeground);
--mynah-color-syntax-variable: var(
--vscode-gitDecoration-modifiedResourceForeground,
var(--vscode-debugTokenExpression-name)
);
--mynah-color-syntax-function: var(
--vscode-debugTokenExpression-boolean,
var(--vscode-gitDecoration-modifiedResourceForeground)
);
--mynah-color-syntax-operator: var(
--vscode-terminal-foreground,
var(--vscode-debugTokenExpression-name, var(--mynah-color-text-default))
);
--mynah-color-syntax-property: var(--vscode-terminal-ansiCyan, var(--mynah-bg-gradient-mid));
--mynah-color-syntax-comment: var(--vscode-debugConsole-sourceForeground, var(--mynah-color-text-weak));
--mynah-color-syntax-code: var(--vscode-editor-foreground, var(--mynah-color-text-default));
--mynah-color-syntax-keyword: var(--vscode-debugTokenExpression-name);
--mynah-color-syntax-string: var(--vscode-debugTokenExpression-string);
--mynah-color-syntax-boolean: var(--vscode-debugTokenExpression-boolean);
--mynah-color-syntax-number: var(--vscode-debugTokenExpression-number);
--mynah-color-syntax-regex: var(--vscode-terminal-ansiMagenta);
--mynah-color-syntax-class-name: var(--vscode-gitDecoration-modifiedResourceForeground);
--mynah-color-syntax-keyword: var(--vscode-debugTokenExpression-name, var(--mynah-color-status-info));
--mynah-color-syntax-string: var(--vscode-debugTokenExpression-string, var(--mynah-bg-gradient-next));
--mynah-color-syntax-boolean: var(
--vscode-debugTokenExpression-boolean,
var(--vscode-debugTokenExpression-string, var(--mynah-bg-gradient-next))
);
--mynah-color-syntax-number: var(
--vscode-debugTokenExpression-number,
var(--vscode-debugTokenExpression-string, var(--mynah-bg-gradient-next))
);
--mynah-color-syntax-regex: var(
--vscode-terminal-ansiMagenta,
var(--vscode-debugTokenExpression-string, var(--mynah-bg-gradient-next))
);
--mynah-color-syntax-class-name: var(
--vscode-gitDecoration-modifiedResourceForeground,
var(--mynah-bg-gradient-mid)
);

--mynah-color-status-info: #0971d3;
--mynah-color-status-success: #037f03;
Expand Down

0 comments on commit 929a1f7

Please sign in to comment.