theme: add 'legacy' color theme from previous portal

This commit is contained in:
axolotle 2024-02-21 14:58:15 +01:00
parent 4e86b4154e
commit fc4a65e4d1
2 changed files with 30 additions and 1 deletions

View file

@ -31,6 +31,7 @@ const themesAsOptions = [
'system',
'light',
'dark',
'legacy',
'cupcake',
'bumblebee',
'emerald',

View file

@ -17,6 +17,34 @@ module.exports = {
'bg-error',
],
daisyui: {
themes: true,
themes: [
...Object.keys(require('daisyui/src/theming/themes')),
{
legacy: {
primary: '#2980b9',
secondary: '#7028b8',
accent: '#b87a28',
neutral: '#999',
info: '#2980b9',
success: '#27ae60',
warning: '#e67e22',
error: '#c0392b',
'base-100': '#41444f',
'base-200': '#999',
'base-300': '#30333b',
'base-content': '#fff',
'primary-content': '#fff',
'secondary-content': '#fff',
'accent-content': '#fff',
'neutral-content': '#fff',
'info-content': '#fff',
'success-content': '#fff',
'warning-content': '#fff',
'error-content': '#fff',
'--rounded-box': '0rem',
'--rounded-btn': '0rem',
},
},
],
},
}