refactor(docs): replace palette function

This commit is contained in:
三咲智子 Kevin Deng 2023-03-24 07:51:30 +08:00
parent 331d652ef0
commit 0916b05afd
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
3 changed files with 13 additions and 2 deletions

View file

@ -1,7 +1,8 @@
import { defineTheme, palette } from 'pinceau'
import { defineTheme } from 'pinceau'
import { getColors } from 'theme-colors'
export default defineTheme({
color: {
primary: palette('#d98018'),
primary: getColors('#d98018'),
},
})