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
4e86b4154e
commit
fc4a65e4d1
2 changed files with 30 additions and 1 deletions
|
@ -31,6 +31,7 @@ const themesAsOptions = [
|
|||
'system',
|
||||
'light',
|
||||
'dark',
|
||||
'legacy',
|
||||
'cupcake',
|
||||
'bumblebee',
|
||||
'emerald',
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue