Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Style `One Dark` with new properties
Nate Butler94c76c45e6ef
diff --git a/styles/src/themes/one-dark.ts b/styles/src/themes/one-dark.tsindex a4326aa4c67..65d8f3e20b0 100644--- a/styles/src/themes/one-dark.ts+++ b/styles/src/themes/one-dark.ts@@ -1,4 +1,5 @@import chroma from "chroma-js"+import { fontWeights } from "../common"import { Meta, ThemeSyntax } from "./common/colorScheme"import { colorRamp, createColorScheme } from "./common/ramps"@@ -8,6 +9,7 @@ const color = {white: "#ACB2BE",grey: "#5D636F",red: "#D07277",+ darkRed: "#B1574B",orange: "#C0966B",yellow: "#DFC184",green: "#A1C181",@@ -47,10 +49,22 @@ const syntax: ThemeSyntax = {property: { color: color.red },number: { color: color.orange },string: { color: color.green },+ "text.literal": { color: color.green },keyword: { color: color.purple },boolean: { color: color.orange },+ title: { color: color.red, weight: fontWeights.normal },punctuation: { color: color.white },+ "punctuation.special": { color: color.darkRed },+ "punctuation.list_marker": { color: color.red },operator: { color: color.teal },+ "variable.special": { color: color.orange },+ variant: { color: color.blue },+ enum: { color: color.red },+ "emphasis.strong": {+ color: color.orange,+ },+ linkText: { color: color.blue, italic: false },+ linkUri: { color: color.teal },}export const dark = createColorScheme(name, false, ramps, syntax)