diff --git a/docs/package.json b/docs/package.json index 50517e54..72ec06a8 100755 --- a/docs/package.json +++ b/docs/package.json @@ -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" diff --git a/docs/tokens.config.ts b/docs/tokens.config.ts index 5029aba9..c27ee13f 100644 --- a/docs/tokens.config.ts +++ b/docs/tokens.config.ts @@ -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'), }, }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19e0476a..6d5a6d5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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}