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.

feat: re-export chroma

Sergey Onufrienko02c1efc60d57
diff --git a/styles/src/common.ts b/styles/src/common.ts
index 1b4fb6b37b5..5b6ddff4226 100644
--- a/styles/src/common.ts
+++ b/styles/src/common.ts
@@ -1,3 +1,7 @@
+import chroma from "chroma-js"
+export * from "./themes/common"
+export { chroma }
+
export const fontFamilies = {
sans: "Zed Sans",
mono: "Zed Mono",
@@ -23,6 +27,7 @@ export type FontWeight =
| "bold"
| "extra_bold"
| "black"
+
export const fontWeights: { [key: string]: FontWeight } = {
thin: "thin",
extra_light: "extra_light",