@@ -25,9 +25,7 @@ const Box = ({
25
25
className ?: string ;
26
26
customStyles ?: Record < string , string > ;
27
27
} ) => (
28
- < div
29
- className = { className }
30
- style = { { width, height, backgroundColor : '#C4C4C4' , ...customStyles } } > </ div >
28
+ < div className = { className } style = { { width, height, ...customStyles } } > </ div >
31
29
) ;
32
30
Box . displayName = 'Box' ;
33
31
@@ -44,20 +42,18 @@ function ConsoleBlock({level = 'info', children}: ConsoleBlockProps) {
44
42
45
43
return (
46
44
< div className = "mb-4" translate = "no" >
47
- < div
48
- className = "flex w-full rounded-t-lg"
49
- style = { { backgroundColor : '#DADEE0' } } >
50
- < div className = "px-4 py-2" style = { { borderRight : '1px solid #C4C4C4' } } >
51
- < Box width = "15px" />
45
+ < div className = "flex w-full rounded-t-lg bg-gray-200 dark:bg-gray-80" >
46
+ < div className = "px-4 py-2 border-gray-300 dark:border-gray-90 border-r" >
47
+ < Box className = "bg-gray-300 dark:bg-gray-90" width = "15px" />
52
48
</ div >
53
49
< div className = "flex text-sm px-4" >
54
- < div className = "border-b-2" style = { { borderColor : '#C4C4C4' } } >
50
+ < div className = "border-b-2 border-gray-300 dark:border-gray-90" >
55
51
Console
56
52
</ div >
57
53
< div className = "px-4 py-2 flex" >
58
- < Box className = "mr-2" />
59
- < Box className = "mr-2 hidden md:block" />
60
- < Box className = "hidden md:block" />
54
+ < Box className = "mr-2 bg-gray-300 dark:bg-gray-90 " />
55
+ < Box className = "mr-2 hidden md:block bg-gray-300 dark:bg-gray-90 " />
56
+ < Box className = "hidden md:block bg-gray-300 dark:bg-gray-90 " />
61
57
</ div >
62
58
</ div >
63
59
</ div >
0 commit comments