diff --git a/README.md b/README.md index fe8102e..4eb3316 100644 --- a/README.md +++ b/README.md @@ -193,15 +193,13 @@ const config = { // Custom theme customTheme: { - procyon: { - primary: '#fc055b', - secondary: '#219aaf', - accent: '#e8d03a', - neutral: '#2A2730', - 'base-100': '#E3E3ED', - '--rounded-box': '3rem', - '--rounded-btn': '3rem', - }, + primary: '#fc055b', + secondary: '#219aaf', + accent: '#e8d03a', + neutral: '#2A2730', + 'base-100': '#E3E3ED', + '--rounded-box': '3rem', + '--rounded-btn': '3rem', }, }, }; @@ -234,15 +232,13 @@ module.exports = { // ... themeConfig: { customTheme: { - procyon: { - primary: '#fc055b', - secondary: '#219aaf', - accent: '#e8d03a', - neutral: '#2A2730', - 'base-100': '#E3E3ED', - '--rounded-box': '3rem', - '--rounded-btn': '3rem', - }, + primary: '#fc055b', + secondary: '#219aaf', + accent: '#e8d03a', + neutral: '#2A2730', + 'base-100': '#E3E3ED', + '--rounded-box': '3rem', + '--rounded-btn': '3rem', }, // ... }, diff --git a/gitprofile.config.js b/gitprofile.config.js index 96b0d34..ba8d455 100644 --- a/gitprofile.config.js +++ b/gitprofile.config.js @@ -137,15 +137,13 @@ const config = { // Custom theme customTheme: { - procyon: { - primary: '#fc055b', - secondary: '#219aaf', - accent: '#e8d03a', - neutral: '#2A2730', - 'base-100': '#E3E3ED', - '--rounded-box': '3rem', - '--rounded-btn': '3rem', - }, + primary: '#fc055b', + secondary: '#219aaf', + accent: '#e8d03a', + neutral: '#2A2730', + 'base-100': '#E3E3ED', + '--rounded-box': '3rem', + '--rounded-btn': '3rem', }, }, }; diff --git a/tailwind.config.js b/tailwind.config.js index ad4b955..1761a5e 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -8,6 +8,9 @@ export default { plugins: [require('daisyui')], daisyui: { logs: false, - themes: [...config.themeConfig.themes, config.themeConfig.customTheme], + themes: [ + ...config.themeConfig.themes, + { procyon: config.themeConfig.customTheme }, + ], }, };