Skip to content

fix : added dark-mode-aware text color to LiveClock component - #1978

Open
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#1973
Open

fix : added dark-mode-aware text color to LiveClock component#1978
tmdeveloper007 wants to merge 1 commit into
aryandas2911:mainfrom
tmdeveloper007:#1973

Conversation

@tmdeveloper007

Copy link
Copy Markdown

Summary of What Has Been Done

Updated the LiveClock.jsx component to use a dark-mode-aware text color for the live time display.

Changes Made

  1. Changed the Tailwind class from text-teal-500 to text-teal-500 dark:text-[var(--primary)].
  2. In dark mode, the time text now uses the --primary CSS variable color, which matches the application's theme primary color and provides proper contrast.

Impact it Made

  • The live clock time is now readable and consistent in dark mode.
  • Uses the established theme variable pattern (--primary) consistent with other components in the codebase.

Note: please assign this PR to the tmdeveloper007 account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant