@@ -422,7 +422,7 @@ export function StreamConfigModal({
422422 < div className = "grid grid-cols-1 md:grid-cols-2 gap-4" >
423423 < div className = "md:col-span-2" >
424424 < label htmlFor = "stream-name" className = "block text-sm font-medium mb-2" >
425- { t ( 'streamsConfig.streamName' ) } < span className = "text-danger " > *</ span >
425+ { t ( 'streamsConfig.streamName' ) } < span className = "text-destructive " > *</ span >
426426 </ label >
427427 < input
428428 type = "text"
@@ -442,7 +442,7 @@ export function StreamConfigModal({
442442
443443 < div className = "md:col-span-2" >
444444 < label htmlFor = "stream-url" className = "block text-sm font-medium mb-2" >
445- { t ( 'streamsConfig.streamUrl' ) } < span className = "text-danger " > *</ span >
445+ { t ( 'streamsConfig.streamUrl' ) } < span className = "text-destructive " > *</ span >
446446 </ label >
447447 < input
448448 type = "text"
@@ -518,7 +518,7 @@ export function StreamConfigModal({
518518 type = "checkbox"
519519 id = "stream-enabled"
520520 name = "enabled"
521- className = "h-4 w-4 rounded border-gray-300 "
521+ className = "h-4 w-4 rounded border-input "
522522 style = { primaryAccentStyle }
523523 checked = { currentStream . enabled }
524524 onChange = { onInputChange }
@@ -530,7 +530,7 @@ export function StreamConfigModal({
530530 type = "checkbox"
531531 id = "stream-streaming-enabled"
532532 name = "streamingEnabled"
533- className = "h-4 w-4 rounded border-gray-300 "
533+ className = "h-4 w-4 rounded border-input "
534534 style = { primaryAccentStyle }
535535 checked = { currentStream . streamingEnabled }
536536 onChange = { onInputChange }
@@ -545,7 +545,7 @@ export function StreamConfigModal({
545545 type = "checkbox"
546546 id = "stream-is-onvif"
547547 name = "isOnvif"
548- className = "h-4 w-4 rounded border-gray-300 "
548+ className = "h-4 w-4 rounded border-input "
549549 style = { primaryAccentStyle }
550550 checked = { currentStream . isOnvif }
551551 onChange = { onInputChange }
@@ -678,7 +678,7 @@ export function StreamConfigModal({
678678 type = "checkbox"
679679 id = "stream-record"
680680 name = "record"
681- className = "h-4 w-4 mt-0.5 rounded border-gray-300 "
681+ className = "h-4 w-4 mt-0.5 rounded border-input "
682682 style = { primaryAccentStyle }
683683 checked = { currentStream . record }
684684 onChange = { onInputChange }
@@ -701,7 +701,7 @@ export function StreamConfigModal({
701701 type = "checkbox"
702702 id = "stream-record-on-schedule"
703703 name = "recordOnSchedule"
704- className = "h-3.5 w-3.5 rounded border-gray-300 "
704+ className = "h-3.5 w-3.5 rounded border-input "
705705 style = { primaryAccentStyle }
706706 checked = { currentStream . recordOnSchedule || false }
707707 onChange = { onInputChange }
@@ -734,7 +734,7 @@ export function StreamConfigModal({
734734 type = "checkbox"
735735 id = "stream-detection-enabled"
736736 name = "detectionEnabled"
737- className = "h-4 w-4 mt-0.5 rounded border-gray-300 "
737+ className = "h-4 w-4 mt-0.5 rounded border-input "
738738 style = { primaryAccentStyle }
739739 checked = { currentStream . detectionEnabled }
740740 onChange = { onInputChange }
@@ -781,7 +781,7 @@ export function StreamConfigModal({
781781 type = "checkbox"
782782 id = "stream-record-audio"
783783 name = "recordAudio"
784- className = "h-4 w-4 rounded border-gray-300 "
784+ className = "h-4 w-4 rounded border-input "
785785 style = { primaryAccentStyle }
786786 checked = { currentStream . recordAudio }
787787 onChange = { onInputChange }
@@ -793,7 +793,7 @@ export function StreamConfigModal({
793793 type = "checkbox"
794794 id = "stream-backchannel-enabled"
795795 name = "backchannelEnabled"
796- className = "h-4 w-4 rounded border-gray-300 "
796+ className = "h-4 w-4 rounded border-input "
797797 style = { primaryAccentStyle }
798798 checked = { currentStream . backchannelEnabled }
799799 onChange = { onInputChange }
@@ -1147,14 +1147,14 @@ export function StreamConfigModal({
11471147 < div className = "flex items-center space-x-3" >
11481148 < div
11491149 className = "w-4 h-4 rounded"
1150- style = { { backgroundColor : zone . color || '#3b82f6 ' } }
1150+ style = { { backgroundColor : zone . color || 'hsl(var(--primary)) ' } }
11511151 />
11521152 < span className = "font-medium" > { zone . name } </ span >
11531153 < span className = "text-sm text-muted-foreground" >
11541154 ({ zone . polygon . length } points)
11551155 </ span >
11561156 </ div >
1157- < span className = { `text-sm px-2 py-1 rounded ${ zone . enabled ? 'bg-success/20 text-success' : 'bg-muted text-muted-foreground' } ` } >
1157+ < span className = { `text-sm px-2 py-1 rounded ${ zone . enabled ? 'bg-[hsl(var(-- success-muted))] text-[hsl(var(-- success-muted-foreground))] ' : 'bg-muted text-muted-foreground' } ` } >
11581158 { zone . enabled ? t ( 'common.enabled' ) : t ( 'common.disabled' ) }
11591159 </ span >
11601160 </ div >
@@ -1197,7 +1197,7 @@ export function StreamConfigModal({
11971197 type = "checkbox"
11981198 id = "motion-recording-enabled"
11991199 name = "motionRecordingEnabled"
1200- className = "h-4 w-4 rounded border-gray-300 "
1200+ className = "h-4 w-4 rounded border-input "
12011201 style = { primaryAccentStyle }
12021202 checked = { currentStream . motionRecordingEnabled }
12031203 onChange = { onInputChange }
0 commit comments