Remove custom theme node to support in package

This commit is contained in:
Ariful Alam 2022-03-27 02:08:02 +06:00
parent f75eae4547
commit d00fa61b08
3 changed files with 25 additions and 28 deletions

View File

@ -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',
},
// ...
},

View File

@ -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',
},
},
};

View File

@ -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 },
],
},
};