This commit is contained in:
Nate Butler
2023-04-11 12:23:21 -04:00
parent 527f0310e2
commit 975f5d5fa8
8 changed files with 141 additions and 69 deletions
+6 -6
View File
@@ -1,12 +1,12 @@
import { dark, light, mirage } from 'ayu'
import { ThemeSyntax } from './syntax'
import chroma from 'chroma-js'
import { colorRamp } from './ramps'
import { dark, light, mirage } from "ayu"
import { ThemeSyntax } from "./syntax"
import chroma from "chroma-js"
import { colorRamp } from "./ramps"
export const ayu = {
dark,
light,
mirage
mirage,
}
export const buildTheme = (t: typeof dark, light: boolean) => {
@@ -53,7 +53,7 @@ export const buildTheme = (t: typeof dark, light: boolean) => {
violet: colorRamp(chroma(color.purple)),
magenta: colorRamp(chroma(color.lightBlue)),
},
syntax
syntax,
}
}