@@ -25,7 +25,7 @@ export default function PropertiesPanel() {
2525
2626 if ( ! selectedWidgetId || ! widget ) {
2727 return (
28- < div className = "w-72 border-l bg-gray-50 p-4 text-center text-sm text-gray-500 h-full flex items-center justify-center" >
28+ < div className = "w-72 border-l bg-card p-4 text-center text-sm text-muted-foreground h-full flex items-center justify-center" >
2929 Select a component to edit its properties
3030 </ div >
3131 ) ;
@@ -43,14 +43,14 @@ export default function PropertiesPanel() {
4343 } ;
4444
4545 return (
46- < div className = "w-72 border-l bg-white flex flex-col h-full" >
47- < div className = "p-4 border-b font-medium bg-gray-50 " >
46+ < div className = "w-72 border-l bg-card flex flex-col h-full" >
47+ < div className = "p-4 border-b font-medium bg-background " >
4848 Properties
4949 </ div >
5050 < div className = "p-4 flex-1 overflow-y-auto space-y-6" >
5151 < div className = "space-y-2" >
5252 < Label > Widget Type</ Label >
53- < div className = "text-sm px-3 py-2 bg-gray-100 rounded text-gray-600 font-mono" >
53+ < div className = "text-sm px-3 py-2 bg-muted rounded text-muted-foreground font-mono" >
5454 { widget . type }
5555 </ div >
5656 </ div >
@@ -130,7 +130,7 @@ export default function PropertiesPanel() {
130130 < input
131131 type = "checkbox"
132132 id = "showLatest"
133- className = "w-4 h-4 rounded border-gray-300 text-primary focus:ring-primary cursor-pointer"
133+ className = "w-4 h-4 rounded border-input text-primary focus:ring-primary cursor-pointer"
134134 checked = { draftConfig . showLatest !== false }
135135 onChange = { ( e ) => handleConfigChange ( { showLatest : e . target . checked } ) }
136136 />
@@ -140,7 +140,7 @@ export default function PropertiesPanel() {
140140 < input
141141 type = "checkbox"
142142 id = "showMin"
143- className = "w-4 h-4 rounded border-gray-300 text-primary focus:ring-primary cursor-pointer"
143+ className = "w-4 h-4 rounded border-input text-primary focus:ring-primary cursor-pointer"
144144 checked = { draftConfig . showMin !== false }
145145 onChange = { ( e ) => handleConfigChange ( { showMin : e . target . checked } ) }
146146 />
@@ -150,7 +150,7 @@ export default function PropertiesPanel() {
150150 < input
151151 type = "checkbox"
152152 id = "showAvg"
153- className = "w-4 h-4 rounded border-gray-300 text-primary focus:ring-primary cursor-pointer"
153+ className = "w-4 h-4 rounded border-input text-primary focus:ring-primary cursor-pointer"
154154 checked = { draftConfig . showAvg !== false }
155155 onChange = { ( e ) => handleConfigChange ( { showAvg : e . target . checked } ) }
156156 />
@@ -160,7 +160,7 @@ export default function PropertiesPanel() {
160160 < input
161161 type = "checkbox"
162162 id = "showMax"
163- className = "w-4 h-4 rounded border-gray-300 text-primary focus:ring-primary cursor-pointer"
163+ className = "w-4 h-4 rounded border-input text-primary focus:ring-primary cursor-pointer"
164164 checked = { draftConfig . showMax !== false }
165165 onChange = { ( e ) => handleConfigChange ( { showMax : e . target . checked } ) }
166166 />
@@ -232,7 +232,7 @@ export default function PropertiesPanel() {
232232 </ p >
233233
234234 { ( draftConfig . valueMappings as ValueMapping [ ] || [ ] ) . map ( ( mapping : ValueMapping , idx : number ) => (
235- < div key = { mapping . id } className = "border rounded-lg p-3 space-y-2 bg-gray-50 relative" >
235+ < div key = { mapping . id } className = "border rounded-lg p-3 space-y-2 bg-muted/30 relative" >
236236 < Button
237237 type = "button"
238238 variant = "ghost"
@@ -412,7 +412,7 @@ export default function PropertiesPanel() {
412412 { series . map ( ( s , idx ) => (
413413 < div
414414 key = { s . id }
415- className = "border rounded-lg p-3 space-y-2.5 bg-gray-50 relative"
415+ className = "border rounded-lg p-3 space-y-2.5 bg-muted/30 relative"
416416 style = { { borderLeft : `3px solid ${ s . color } ` } }
417417 >
418418 { /* Series header row */ }
0 commit comments