From 4af20b8dc0c6626709041e90be9c88fd29902e69 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 25 Mar 2026 23:10:47 +0100 Subject: [PATCH] refactor: update styling and color classes across components - Changed error message styling in ICalImportModal to use new color classes. - Updated task completion styling in TaskListView to use new success color classes. - Modified selected styling in ContactListItem tests to reflect new background class. - Adjusted duplicate warning styling in ContactImportDialog to use new warning color classes. - Refactored background and border colors in CalendarInvitationBanner for various statuses. - Updated email list item and viewer components to use new warning and success color classes. - Refined styling for unread indicators in email components. - Enhanced error fallback styling in error components to use new warning color classes. - Updated filter rule modal button hover styles to use new destructive color classes. - Added experimental feature descriptions in Plugins and Themes settings. - Refined vacation settings validation warning styling to use new warning color classes. - Updated toast component styles to use new color classes for different states. - Introduced a new built-in theme 'Qui' with specific color variables. - Adjusted email security status colors to use new warning color classes. --- .gitignore | 5 +- app/[locale]/login/page.tsx | 12 +- app/[locale]/settings/page.tsx | 15 +- app/admin/page.tsx | 14 +- app/admin/plugins/page.tsx | 4 +- app/globals.css | 146 ++++++++---- components/calendar/calendar-day-view.tsx | 6 +- components/calendar/calendar-week-view.tsx | 6 +- components/calendar/event-detail-popover.tsx | 22 +- components/calendar/event-modal.tsx | 24 +- components/calendar/ical-import-modal.tsx | 2 +- components/calendar/task-list-view.tsx | 2 +- .../__tests__/contact-list-item.test.tsx | 2 +- components/contacts/contact-import-dialog.tsx | 2 +- components/contacts/contact-list-item.tsx | 4 +- .../email/calendar-invitation-banner.tsx | 42 ++-- components/email/email-list-item.tsx | 10 +- components/email/email-viewer.tsx | 6 +- components/email/smime-status-banner.tsx | 8 +- components/email/thread-email-item.tsx | 6 +- components/email/thread-list-item.tsx | 4 +- components/error/error-fallbacks.tsx | 2 +- components/filters/filter-rule-modal.tsx | 4 +- components/filters/sieve-editor-modal.tsx | 8 +- components/layout/navigation-rail.tsx | 12 +- components/settings/plugins-settings.tsx | 2 +- components/settings/settings-section.tsx | 17 +- components/settings/themes-settings.tsx | 3 +- components/settings/vacation-settings.tsx | 2 +- components/ui/toast.tsx | 16 +- lib/builtin-themes.ts | 219 ++++++++++++++++++ lib/email-headers.ts | 4 +- 32 files changed, 465 insertions(+), 166 deletions(-) diff --git a/.gitignore b/.gitignore index 76d65f17..162a9448 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,7 @@ next-env.d.ts /data/ # Local private data -/local-data/ \ No newline at end of file +/local-data/ + +# Sibling repos +/repos/ \ No newline at end of file diff --git a/app/[locale]/login/page.tsx b/app/[locale]/login/page.tsx index 53123ee7..31ec1213 100644 --- a/app/[locale]/login/page.tsx +++ b/app/[locale]/login/page.tsx @@ -733,9 +733,9 @@ export default function LoginPage() { )} ) : oauthDiscoveryDone ? ( -
+
{t("error.oauth_discovery_failed")}
+
{t("error.oauth_discovery_failed")}
{msg}
+{msg}
First login detected
-+
First login detected
+Remember to remove ADMIN_PASSWORD from your .env file now that the hash is stored securely.
{calendar.name}
{event.status === "tentative" && (
-
+
{t("detail.tentative")}
)}
@@ -507,8 +507,8 @@ export function EventDetailPopover({
onClick={() => onRsvp("accepted")}
className={
userCurrentStatus === "accepted"
- ? "bg-green-600 hover:bg-green-700 text-white dark:bg-green-500 dark:hover:bg-green-600"
- : "text-green-600 dark:text-green-400 border-green-300 dark:border-green-700 hover:bg-green-50 dark:hover:bg-green-950"
+ ? "bg-success hover:bg-success/80 text-success-foreground"
+ : "text-success border-success/30 hover:bg-success/10"
}
>
{userCurrentStatus === "accepted" &&