File tree Expand file tree Collapse file tree
apps/webapp/app/components/primitives Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ export function DurationPicker({
127127 < input type = "hidden" name = { name } value = { totalSeconds } />
128128
129129 < div className = "flex items-center gap-1" >
130- < div className = "flex items-center gap-1" >
130+ < div className = "group flex items-center gap-1" >
131131 < Input
132132 variant = { variant }
133133 ref = { hourRef }
@@ -143,9 +143,11 @@ export function DurationPicker({
143143 min = { 0 }
144144 inputMode = "numeric"
145145 />
146- < span className = "text-sm text-text-dimmed" > h</ span >
146+ < span className = "text-sm text-text-dimmed transition-colors duration-200 group-focus-within:text-text-bright/80" >
147+ h
148+ </ span >
147149 </ div >
148- < div className = "flex items-center gap-1" >
150+ < div className = "group flex items-center gap-1" >
149151 < Input
150152 variant = { variant }
151153 ref = { minuteRef }
@@ -162,9 +164,11 @@ export function DurationPicker({
162164 max = { 59 }
163165 inputMode = "numeric"
164166 />
165- < span className = "text-sm text-text-dimmed" > m</ span >
167+ < span className = "text-sm text-text-dimmed transition-colors duration-200 group-focus-within:text-text-bright/80" >
168+ m
169+ </ span >
166170 </ div >
167- < div className = "flex items-center gap-1" >
171+ < div className = "group flex items-center gap-1" >
168172 < Input
169173 variant = { variant }
170174 ref = { secondRef }
@@ -181,7 +185,9 @@ export function DurationPicker({
181185 max = { 59 }
182186 inputMode = "numeric"
183187 />
184- < span className = "text-sm text-text-dimmed" > s</ span >
188+ < span className = "text-sm text-text-dimmed transition-colors duration-200 group-focus-within:text-text-bright/80" >
189+ s
190+ </ span >
185191 </ div >
186192 </ div >
187193
You can’t perform that action at this time.
0 commit comments