refactor(docs): replace palette function
This commit is contained in:
parent
331d652ef0
commit
0916b05afd
@ -8,6 +8,9 @@
|
|||||||
"generate": "nuxi generate",
|
"generate": "nuxi generate",
|
||||||
"preview": "nuxi preview"
|
"preview": "nuxi preview"
|
||||||
},
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"theme-colors": "^0.0.5"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nuxt-themes/docus": "^1.8.1",
|
"@nuxt-themes/docus": "^1.8.1",
|
||||||
"nuxt": "^3.3.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({
|
export default defineTheme({
|
||||||
color: {
|
color: {
|
||||||
primary: palette('#d98018'),
|
primary: getColors('#d98018'),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -219,6 +219,9 @@ importers:
|
|||||||
specifiers:
|
specifiers:
|
||||||
'@nuxt-themes/docus': ^1.8.1
|
'@nuxt-themes/docus': ^1.8.1
|
||||||
nuxt: ^3.3.1
|
nuxt: ^3.3.1
|
||||||
|
theme-colors: ^0.0.5
|
||||||
|
dependencies:
|
||||||
|
theme-colors: 0.0.5
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@nuxt-themes/docus': 1.8.1_nuxt@3.3.1
|
'@nuxt-themes/docus': 1.8.1_nuxt@3.3.1
|
||||||
nuxt: 3.3.1
|
nuxt: 3.3.1
|
||||||
@ -12279,6 +12282,10 @@ packages:
|
|||||||
/text-table/0.2.0:
|
/text-table/0.2.0:
|
||||||
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
|
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
|
||||||
|
|
||||||
|
/theme-colors/0.0.5:
|
||||||
|
resolution: {integrity: sha512-EAxGOASXbsrhcaFxEWsCRZb29sHhII/cs8a+Cn3a3AI/FT9uCqNM8rMQBf10jtgqIdl8kxg2rQXz5I2JLHuplA==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/theme-vitesse/0.6.0:
|
/theme-vitesse/0.6.0:
|
||||||
resolution: {integrity: sha512-/XEZFGXLTK/AlWSe9t+NIXB1tP3yqdzugcSJJ2Fg0KYM1PcoL/zWs5AuaEcCFt1pfi/9Og++tzOdiU2aKf/+Xw==}
|
resolution: {integrity: sha512-/XEZFGXLTK/AlWSe9t+NIXB1tP3yqdzugcSJJ2Fg0KYM1PcoL/zWs5AuaEcCFt1pfi/9Og++tzOdiU2aKf/+Xw==}
|
||||||
engines: {vscode: ^1.43.0}
|
engines: {vscode: ^1.43.0}
|
||||||
|
Loading…
Reference in New Issue
Block a user