From 2d19003e8ad0693a658df328b406312cc9f8d7ba Mon Sep 17 00:00:00 2001 From: Volnei Munhoz Date: Wed, 7 Jan 2026 14:37:07 -0300 Subject: [PATCH] style: use Tailwind color tokens instead of hardcoded hex values (#26557) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace hardcoded hex colors with their exact Tailwind equivalents: - text-[#111827] → text-gray-900 - text-[#6B7280] → text-gray-500 - text-[#374151] → text-gray-700 - border-[#D1D5DB] → border-gray-300 This improves consistency with the rest of the codebase which already uses these tokens (e.g., text-gray-500 is used 107 times). Files changed: - apps/web/modules/videos/views/videos-single-view.tsx - companion/app/(tabs)/(event-types)/index.tsx - companion/components/booking-list-screen/BookingListScreen.tsx - companion/components/event-type-detail/tabs/AdvancedTab.tsx - companion/components/screens/AvailabilityListScreen.tsx - companion/components/screens/BookingDetailScreen.android.tsx 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Dylan Tarre Co-authored-by: Claude Opus 4.5 Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Co-authored-by: Peer Richelsen Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../modules/videos/views/videos-single-view.tsx | 2 +- companion/app/(tabs)/(event-types)/index.tsx | 16 ++++++++-------- .../booking-list-screen/BookingListScreen.tsx | 2 +- .../event-type-detail/tabs/AdvancedTab.tsx | 4 ++-- .../screens/AvailabilityListScreen.tsx | 14 +++++++------- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/apps/web/modules/videos/views/videos-single-view.tsx b/apps/web/modules/videos/views/videos-single-view.tsx index c2d9793072..09d0dcbd91 100644 --- a/apps/web/modules/videos/views/videos-single-view.tsx +++ b/apps/web/modules/videos/views/videos-single-view.tsx @@ -522,7 +522,7 @@ export function LogInOverlay(props: LogInOverlayProps) {

{t("sign_in_to_cal_com")}

-

+

{t("track_meetings_and_manage_schedule")}

diff --git a/companion/app/(tabs)/(event-types)/index.tsx b/companion/app/(tabs)/(event-types)/index.tsx index 9543eea293..d966287e7b 100644 --- a/companion/app/(tabs)/(event-types)/index.tsx +++ b/companion/app/(tabs)/(event-types)/index.tsx @@ -617,8 +617,8 @@ export default function EventTypes() { Title {/* Header */} - + Add a new event type - + Set up event types to offer different types of meetings. @@ -680,9 +680,9 @@ export default function EventTypes() { {/* Title */} - Title + Title - Close + Close = ({ Reason for cancellation {props.showAttendeeInfo && } @@ -338,7 +338,7 @@ export function AdvancedTab(props: AdvancedTabProps) { className={`mr-3 h-5 w-5 items-center justify-center rounded border ${ props.showAvailabilityCount ? "border-[#111827] bg-[#111827]" - : "border-[#D1D5DB] bg-white" + : "border-gray-300 bg-white" }`} > {props.showAvailabilityCount ? ( diff --git a/companion/components/screens/AvailabilityListScreen.tsx b/companion/components/screens/AvailabilityListScreen.tsx index c975cf7273..f1a0a72c83 100644 --- a/companion/components/screens/AvailabilityListScreen.tsx +++ b/companion/components/screens/AvailabilityListScreen.tsx @@ -396,8 +396,8 @@ export function AvailabilityListScreen({ Name {/* Header */} - Add a new schedule + Add a new schedule {/* Content */} - Name + Name { onShowCreateModalChange(false); setNewScheduleName(""); }} disabled={creating} > - Close + Close