Problem
In frontend/src/components/Dashboard/TaskPreview.jsx, the
"Complete Task" duration modal uses hardcoded light mode colors:
bg-white for the modal background
text-black for text
This makes the modal appear with a jarring white background
when the app is in dark mode, inconsistent with the rest of the UI.
Expected Behavior
The modal should use theme-aware classes like bg-(--surface)
and text-main to support both light and dark modes, consistent
with other modals in the app.
Files to Change
frontend/src/components/Dashboard/TaskPreview.jsx
Labels
bug, frontend, good first issue
@aryandas2911 I would like to work on this. Could you please
assign it to me?
Problem
In
frontend/src/components/Dashboard/TaskPreview.jsx, the"Complete Task" duration modal uses hardcoded light mode colors:
bg-whitefor the modal backgroundtext-blackfor textThis makes the modal appear with a jarring white background
when the app is in dark mode, inconsistent with the rest of the UI.
Expected Behavior
The modal should use theme-aware classes like
bg-(--surface)and
text-mainto support both light and dark modes, consistentwith other modals in the app.
Files to Change
frontend/src/components/Dashboard/TaskPreview.jsxLabels
bug, frontend, good first issue
@aryandas2911 I would like to work on this. Could you please
assign it to me?