Enhance frontend components and introduce new features
- Added a custom light theme in app.css to match the dark theme's palette. - Introduced AdminBreadcrumbs component for improved navigation in admin pages. - Implemented Skeleton component for loading states in various views. - Added ToastContainer for displaying notifications and alerts. - Enhanced MapView with loading indicators and improved marker handling. - Updated MapCoordsDisplay to allow copying of shareable links. - Refactored MapControls and MapContextMenu for better usability. - Improved user experience in profile and admin pages with loading states and search functionality.
This commit is contained in:
@@ -3,6 +3,28 @@
|
||||
themes: light --default;
|
||||
}
|
||||
|
||||
/* Custom light theme — OKLCH matching the dark theme's violet palette */
|
||||
@plugin "daisyui/theme" {
|
||||
name: "light";
|
||||
color-scheme: light;
|
||||
--color-primary: oklch(50% 0.22 277);
|
||||
--color-primary-content: oklch(100% 0 0);
|
||||
--color-secondary: oklch(52% 0.22 293);
|
||||
--color-secondary-content: oklch(100% 0 0);
|
||||
--color-accent: oklch(55% 0.14 203);
|
||||
--color-accent-content: oklch(100% 0 0);
|
||||
--color-neutral: oklch(25% 0.02 249);
|
||||
--color-neutral-content: oklch(98% 0.005 249);
|
||||
--color-base-100: oklch(99% 0.005 250);
|
||||
--color-base-200: oklch(96% 0.008 251);
|
||||
--color-base-300: oklch(92% 0.01 250);
|
||||
--color-base-content: oklch(22% 0.02 249);
|
||||
--color-info: oklch(55% 0.15 250);
|
||||
--color-success: oklch(55% 0.16 155);
|
||||
--color-warning: oklch(75% 0.15 85);
|
||||
--color-error: oklch(55% 0.22 25);
|
||||
}
|
||||
|
||||
@plugin "daisyui/theme" {
|
||||
name: "dark";
|
||||
prefersdark: true;
|
||||
|
||||
Reference in New Issue
Block a user