+
{answeredCount}/{TOTAL_QUESTIONS}
@@ -376,7 +376,7 @@ export default function SurveyPage() {
key={i}
className="flex-1 h-1 sm:h-[3px] rounded-full transition-colors duration-300"
style={{
- background: i < currentSlide ? '#34d399' : i === currentSlide ? 'linear-gradient(90deg, #06b6d4, #22d3ee)' : 'hsl(var(--border))',
+ background: i < currentSlide ? '#34d399' : i === currentSlide ? 'linear-gradient(90deg, #06b6d4, #22d3ee)' : 'var(--color-border)',
}}
/>
))}
@@ -551,7 +551,7 @@ function QuestionCard({ question: q, answer, setAnswer }: { question: SurveyQues
style={{
background: answer === opt ? 'rgba(6, 182, 212, 0.1)' : 'rgba(16, 17, 20, 0.6)',
border: `1px solid ${answer === opt ? '#06b6d4' : 'var(--glass-border)'}`,
- color: answer === opt ? 'hsl(var(--foreground))' : 'hsl(var(--muted-foreground))',
+ color: answer === opt ? 'var(--color-foreground)' : 'var(--color-muted-foreground)',
}}
>
@@ -578,7 +578,7 @@ function QuestionCard({ question: q, answer, setAnswer }: { question: SurveyQues
style={{
background: selected ? 'rgba(6, 182, 212, 0.1)' : 'rgba(16, 17, 20, 0.6)',
border: `1px solid ${selected ? '#06b6d4' : 'var(--glass-border)'}`,
- color: selected ? 'hsl(var(--foreground))' : 'hsl(var(--muted-foreground))',
+ color: selected ? 'var(--color-foreground)' : 'var(--color-muted-foreground)',
}}
>
@@ -633,7 +633,7 @@ function RangeInput({ question: q, value, onChange }: { question: SurveyQuestion
onChange={e => onChange(e.target.value + (q.suffix || ''))}
className="w-full h-2 sm:h-1 rounded-full appearance-none cursor-pointer touch-none"
style={{
- background: `linear-gradient(to right, #06b6d4 0%, #06b6d4 ${((numVal - (q.min || 0)) / ((q.max || 10) - (q.min || 0))) * 100}%, hsl(var(--border)) ${((numVal - (q.min || 0)) / ((q.max || 10) - (q.min || 0))) * 100}%, hsl(var(--border)) 100%)`,
+ background: `linear-gradient(to right, #06b6d4 0%, #06b6d4 ${((numVal - (q.min || 0)) / ((q.max || 10) - (q.min || 0))) * 100}%, var(--color-border) ${((numVal - (q.min || 0)) / ((q.max || 10) - (q.min || 0))) * 100}%, var(--color-border) 100%)`,
}}
/>
@@ -733,7 +733,7 @@ function DragRank({ items, onChange }: { items: string[]; onChange: (items: stri
border: `1px solid ${overIdx === idx || draggingIdx === idx ? '#06b6d4' : 'var(--glass-border)'}`,
opacity: draggingIdx === idx ? 0.5 : 1,
cursor: 'grab',
- color: 'hsl(var(--muted-foreground))',
+ color: 'var(--color-muted-foreground)',
}}
>
diff --git a/frontend/src/pages/TeamAnalyticsPage.tsx b/frontend/src/pages/TeamAnalyticsPage.tsx
index 383f8fbd..48fa4c32 100644
--- a/frontend/src/pages/TeamAnalyticsPage.tsx
+++ b/frontend/src/pages/TeamAnalyticsPage.tsx
@@ -144,31 +144,31 @@ export default function TeamAnalyticsPage() {
{
const d = new Date(value)
return `${d.getMonth() + 1}/${d.getDate()}`
}}
/>
{