Dynamically load all themes listed under styles/src/themes/*.ts

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-05-17 16:08:14 +02:00
parent 8f88803695
commit 692be10b10
26 changed files with 1081 additions and 1127 deletions

View file

@ -1,5 +1,5 @@
import chroma from "chroma-js";
import Theme, { BackgroundColorSet } from "../themes/theme";
import Theme, { BackgroundColorSet } from "../themes/common/theme";
import { fontFamilies, fontSizes, FontWeight } from "../tokens";
import { Color } from "../utils/color";