Skip to content

Commit fac0ed6

Browse files
committed
Base64
1 parent 8b5db37 commit fac0ed6

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

src/components/Main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const Main = () => {
4545
<div className="absolute inset-0 flex flex-col overflow-hidden">
4646
<main className="relative flex flex-1 min-h-0">
4747
{/* 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">
4949
<div
5050
className="px-2 my-6"
5151
role="menu"
@@ -67,7 +67,7 @@ const Main = () => {
6767
</nav>
6868

6969
{/* 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">
7171
<div className="h-full overflow-x-hidden overflow-y-auto px-6 my-6">
7272
{routes.map(({ path, Component }) => (
7373
<Route key={path} exact path={path}>

src/components/base64/Base64.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const Base64 = () => {
129129
/>
130130
<div className="mx-1" />
131131
<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"
133133
value={output}
134134
readOnly
135135
/>

src/components/html-preview/HtmlPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const HtmlPreview = () => {
4747
/>
4848
<div className="mx-1" />
4949
<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"
5151
dangerouslySetInnerHTML={{ __html: html }}
5252
/>
5353
</div>

src/components/md-to-html/MarkdownToHtml.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ const Md2Html = () => {
7676
<div className="mx-1" />
7777
{preview ? (
7878
<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"
8080
dangerouslySetInnerHTML={{ __html: marked(md) }}
8181
/>
8282
) : (
8383
<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"
8585
value={marked(md)}
86-
disabled
86+
readOnly
8787
/>
8888
)}
8989
</div>

src/components/qrcode/QrCode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const HtmlPreview = () => {
7777
value={content}
7878
/>
7979
<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">
8181
{qrCode && <img src={qrCode} alt={content} />}
8282
</section>
8383
</div>

src/components/unix-timestamp/UnixTimestamp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const UnixTimestampConverter = () => {
104104
</label>
105105
</section>
106106

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">
108108
<section className="flex items-center justify-between space-x-4">
109109
<label htmlFor="local" className="flex-1">
110110
<span>Local:</span>
@@ -172,9 +172,9 @@ const UnixTimestampConverter = () => {
172172
</label>
173173
</section>
174174
</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">
176176
<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">
178178
{date.unix()}
179179
</span>
180180
<button

0 commit comments

Comments
 (0)