mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-25 05:58:16 +03:00
17 lines
417 B
TypeScript
17 lines
417 B
TypeScript
import { defineTheme } from 'pinceau'
|
|
import { getColors } from 'theme-colors'
|
|
|
|
const light = getColors('#995e1b')
|
|
const primary = Object
|
|
.entries(getColors('#d98018'))
|
|
.reduce((acc, [key, value]) => {
|
|
acc[key] = {
|
|
initial: light[key]!,
|
|
dark: value,
|
|
}
|
|
return acc
|
|
}, {} as Record<string | number, { initial: string, dark: string }>)
|
|
|
|
export default defineTheme({
|
|
color: { primary },
|
|
})
|