Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update syntax colors

Nate Butlera3e65528baa6
diff --git a/styles/src/themes/rose-pine/common.ts b/styles/src/themes/rose-pine/common.ts
index 28ed090c5dc..8b3b3b70009 100644
--- a/styles/src/themes/rose-pine/common.ts
+++ b/styles/src/themes/rose-pine/common.ts
@@ -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 },