From fc4a65e4d12cb72e74a17d871ea8828e079dc2bb Mon Sep 17 00:00:00 2001 From: axolotle Date: Wed, 21 Feb 2024 14:58:15 +0100 Subject: [PATCH] theme: add 'legacy' color theme from previous portal --- pages/edit.vue | 1 + tailwind.config.js | 30 +++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/pages/edit.vue b/pages/edit.vue index 3e30191..7e0f242 100644 --- a/pages/edit.vue +++ b/pages/edit.vue @@ -31,6 +31,7 @@ const themesAsOptions = [ 'system', 'light', 'dark', + 'legacy', 'cupcake', 'bumblebee', 'emerald', diff --git a/tailwind.config.js b/tailwind.config.js index 9998ed4..e83b074 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -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', + }, + }, + ], }, }