File tree 6 files changed +11
-11
lines changed
6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const Main = () => {
45
45
< div className = "absolute inset-0 flex flex-col overflow-hidden" >
46
46
< main className = "relative flex flex-1 min-h-0" >
47
47
{ /* Left sidebar */ }
48
- < nav className = "flex flex-col w-1/4 overflow-x-hidden overflow-y-auto bg-gray-200 " >
48
+ < nav className = "flex flex-col w-1/4 overflow-x-hidden overflow-y-auto bg-gray-300 " >
49
49
< div
50
50
className = "px-2 my-6"
51
51
role = "menu"
@@ -67,7 +67,7 @@ const Main = () => {
67
67
</ nav >
68
68
69
69
{ /* Main content */ }
70
- < section className = "relative flex flex-col w-full bg-gray-100 " >
70
+ < section className = "relative flex flex-col w-full bg-gray-200 " >
71
71
< div className = "h-full overflow-x-hidden overflow-y-auto px-6 my-6" >
72
72
{ routes . map ( ( { path, Component } ) => (
73
73
< Route key = { path } exact path = { path } >
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ const Base64 = () => {
129
129
/>
130
130
< div className = "mx-1" />
131
131
< textarea
132
- className = "flex-1 min-h-full bg-blue -100 p-4 rounded-md"
132
+ className = "flex-1 min-h-full bg-gray -100 p-4 rounded-md"
133
133
value = { output }
134
134
readOnly
135
135
/>
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ const HtmlPreview = () => {
47
47
/>
48
48
< div className = "mx-1" />
49
49
< section
50
- className = "flex-1 min-h-full bg-blue-50 p-4 prose rounded-md"
50
+ className = "flex-1 min-h-full bg-gray-100 p-4 prose rounded-md"
51
51
dangerouslySetInnerHTML = { { __html : html } }
52
52
/>
53
53
</ div >
Original file line number Diff line number Diff line change @@ -76,14 +76,14 @@ const Md2Html = () => {
76
76
< div className = "mx-1" />
77
77
{ preview ? (
78
78
< section
79
- className = "flex-1 min-h-full bg-blue-50 p-4 prose w-full rounded-md"
79
+ className = "flex-1 min-h-full bg-gray-100 p-4 prose w-full rounded-md"
80
80
dangerouslySetInnerHTML = { { __html : marked ( md ) } }
81
81
/>
82
82
) : (
83
83
< textarea
84
- className = "flex-1 min-h-full bg-blue -100 p-4 rounded-md"
84
+ className = "flex-1 min-h-full bg-gray -100 p-4 rounded-md"
85
85
value = { marked ( md ) }
86
- disabled
86
+ readOnly
87
87
/>
88
88
) }
89
89
</ div >
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const HtmlPreview = () => {
77
77
value = { content }
78
78
/>
79
79
< div className = "mx-1" />
80
- < section className = "flex-1 min-h-full flex items-center p-4 prose bg-white rounded-md" >
80
+ < section className = "flex-1 min-h-full flex items-center p-4 prose bg-gray-100 rounded-md" >
81
81
{ qrCode && < img src = { qrCode } alt = { content } /> }
82
82
</ section >
83
83
</ div >
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ const UnixTimestampConverter = () => {
104
104
</ label >
105
105
</ section >
106
106
107
- < section className = "flex flex-col space-y-4 w-full p-4 pb-8 rounded-md bg-gray-200 border mb-4" >
107
+ < section className = "flex flex-col space-y-4 w-full p-4 pb-8 rounded-md shadow-sm bg-gray-100 border mb-4" >
108
108
< section className = "flex items-center justify-between space-x-4" >
109
109
< label htmlFor = "local" className = "flex-1" >
110
110
< span > Local:</ span >
@@ -172,9 +172,9 @@ const UnixTimestampConverter = () => {
172
172
</ label >
173
173
</ section >
174
174
</ section >
175
- < section className = "mt-4 pt-4 space-y-1 flex items-center border-t space-x-2 pb-4" >
175
+ < section className = "pt-4 space-y-1 flex items-center space-x-2 pb-4" >
176
176
< p > The current Unix epoch time is</ p >
177
- < span className = "bg-blue-200 px-2 py-0.5 rounded font-mono" >
177
+ < span className = "bg-gray-100 border shadow-sm px-2 py-0.5 rounded-md font-mono" >
178
178
{ date . unix ( ) }
179
179
</ span >
180
180
< button
You can’t perform that action at this time.
0 commit comments