mirror of
https://github.com/YunoHost/yunohost-portal.git
synced 2024-09-03 20:06:23 +02:00
theme: add 'legacy' color theme from previous portal
This commit is contained in:
parent
595e8b9bba
commit
84b5263978
2 changed files with 30 additions and 1 deletions
|
@ -33,6 +33,7 @@ const themesAsOptions = [
|
||||||
'system',
|
'system',
|
||||||
'light',
|
'light',
|
||||||
'dark',
|
'dark',
|
||||||
|
'legacy',
|
||||||
'cupcake',
|
'cupcake',
|
||||||
'bumblebee',
|
'bumblebee',
|
||||||
'emerald',
|
'emerald',
|
||||||
|
|
|
@ -17,6 +17,34 @@ module.exports = {
|
||||||
'bg-error',
|
'bg-error',
|
||||||
],
|
],
|
||||||
daisyui: {
|
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',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue