mirror of
https://github.com/elk-zone/elk
synced 2024-11-30 15:58:06 +09:00
refactor(docs): replace palette function
This commit is contained in:
parent
331d652ef0
commit
0916b05afd
@ -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'),
|
||||
},
|
||||
})
|
||||
|
@ -219,6 +219,9 @@ importers:
|
||||
specifiers:
|
||||
'@nuxt-themes/docus': ^1.8.1
|
||||
nuxt: ^3.3.1
|
||||
theme-colors: ^0.0.5
|
||||
dependencies:
|
||||
theme-colors: 0.0.5
|
||||
devDependencies:
|
||||
'@nuxt-themes/docus': 1.8.1_nuxt@3.3.1
|
||||
nuxt: 3.3.1
|
||||
@ -12279,6 +12282,10 @@ packages:
|
||||
/text-table/0.2.0:
|
||||
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:
|
||||
resolution: {integrity: sha512-/XEZFGXLTK/AlWSe9t+NIXB1tP3yqdzugcSJJ2Fg0KYM1PcoL/zWs5AuaEcCFt1pfi/9Og++tzOdiU2aKf/+Xw==}
|
||||
engines: {vscode: ^1.43.0}
|
||||
|
Loading…
Reference in New Issue
Block a user