refactor(docs): replace palette function
This commit is contained in:
parent
331d652ef0
commit
0916b05afd
3 changed files with 13 additions and 2 deletions
|
@ -8,6 +8,9 @@
|
|||
"generate": "nuxi generate",
|
||||
"preview": "nuxi preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"theme-colors": "^0.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt-themes/docus": "^1.8.1",
|
||||
"nuxt": "^3.3.1"
|
||||
|
|
|
@ -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'),
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue