mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 12:38:02 +00:00
Update syntax colors
This commit is contained in:
parent
eeb155a951
commit
a3e65528ba
1 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,5 @@
|
|||
import { ThemeSyntax } from "../../common";
|
||||
|
||||
export const color = {
|
||||
default: {
|
||||
base: '#191724',
|
||||
|
@ -52,20 +54,20 @@ export const color = {
|
|||
}
|
||||
};
|
||||
|
||||
export const syntax = (c: typeof color.default) => {
|
||||
export const syntax = (c: typeof color.default): Partial<ThemeSyntax> => {
|
||||
return {
|
||||
comment: { color: c.muted },
|
||||
operator: { color: c.subtle },
|
||||
operator: { color: c.pine },
|
||||
punctuation: { color: c.subtle },
|
||||
variable: { color: c.text },
|
||||
string: { color: c.gold },
|
||||
"type.builtin": { color: c.rose },
|
||||
type: { color: c.foam },
|
||||
"type.builtin": { color: c.foam },
|
||||
boolean: { color: c.rose },
|
||||
function: { color: c.rose },
|
||||
keyword: { color: c.pine },
|
||||
tag: { color: c.foam },
|
||||
type: { color: c.foam },
|
||||
"function.method": { color: c.iris },
|
||||
"function.method": { color: c.rose },
|
||||
title: { color: c.gold },
|
||||
linkText: { color: c.foam, italic: false },
|
||||
linkUri: { color: c.rose },
|
||||
|
|
Loading…
Reference in a new issue