Skip to content

Commit 55e8096

Browse files
committed
update dependencies, run format
1 parent e63fd69 commit 55e8096

File tree

6 files changed

+19
-22
lines changed

6 files changed

+19
-22
lines changed

bun.lockb

10 KB
Binary file not shown.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@
1313
"update-deps": "bunx npm-check-updates -u && bun install"
1414
},
1515
"dependencies": {
16-
"@unocss/preset-web-fonts": "^0.61.5",
17-
"hono": "^4.5.1",
18-
"nodemon": "^3.1.4",
19-
"unocss": "^0.61.5",
16+
"@unocss/preset-web-fonts": "^0.61.9",
17+
"hono": "^4.6.9",
18+
"nodemon": "^3.1.7",
19+
"unocss": "^0.61.9",
2020
"zod": "^3.23.8"
2121
},
2222
"devDependencies": {
23-
"@unocss/cli": "^0.61.5",
24-
"bun-types": "^1.1.20",
23+
"@unocss/cli": "^0.61.9",
24+
"bun-types": "^1.1.34",
2525
"concurrently": "^8.2.2",
2626
"prettier": "^3.3.3",
27-
"prettier-plugin-tailwindcss": "^0.6.5"
27+
"prettier-plugin-tailwindcss": "^0.6.8"
2828
},
2929
"module": "src/server.tsx"
3030
}

public/styles/uno.css

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
font-weight: 400;
88
font-display: swap;
99
src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
10-
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
10+
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
1111
}
1212
/* latin */
1313
@font-face {
@@ -16,7 +16,7 @@
1616
font-weight: 400;
1717
font-display: swap;
1818
src: url(https://fonts.gstatic.com/s/lato/v24/S6uyw4BMUTPHjx4wXg.woff2) format('woff2');
19-
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
19+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
2020
}
2121

2222
/* layer: default */
@@ -43,12 +43,10 @@
4343
.bg-gray-300{--un-bg-opacity:1;background-color:rgb(209 213 219 / var(--un-bg-opacity)) /* #d1d5db */;}
4444
.bg-indigo-200{--un-bg-opacity:1;background-color:rgb(199 210 254 / var(--un-bg-opacity)) /* #c7d2fe */;}
4545
.bg-transparent{background-color:transparent /* transparent */;}
46-
.bg-white,
47-
[bg-white=""]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity)) /* #fff */;}
46+
.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity)) /* #fff */;}
4847
.dark .dark\:bg-blue-600{--un-bg-opacity:1;background-color:rgb(37 99 235 / var(--un-bg-opacity)) /* #2563eb */;}
4948
.dark .dark\:bg-gray-700{--un-bg-opacity:1;background-color:rgb(55 65 81 / var(--un-bg-opacity)) /* #374151 */;}
50-
.dark .dark\:bg-gray-900,
51-
.dark [dark\:bg-gray-900=""]{--un-bg-opacity:1;background-color:rgb(17 24 39 / var(--un-bg-opacity)) /* #111827 */;}
49+
.dark .dark\:bg-gray-900{--un-bg-opacity:1;background-color:rgb(17 24 39 / var(--un-bg-opacity)) /* #111827 */;}
5250
.dark .dark\:bg-indigo-600{--un-bg-opacity:1;background-color:rgb(79 70 229 / var(--un-bg-opacity)) /* #4f46e5 */;}
5351
.hover\:bg-blue-400:hover{--un-bg-opacity:1;background-color:rgb(96 165 250 / var(--un-bg-opacity)) /* #60a5fa */;}
5452
.p-0{padding:0;}
@@ -66,8 +64,7 @@
6664
.text-5xl{font-size:3rem;line-height:1;}
6765
.text-base{font-size:1rem;line-height:1.5rem;}
6866
.text-sm{font-size:0.875rem;line-height:1.25rem;}
69-
.dark .dark\:text-white,
70-
.dark [dark\:text-white=""]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity)) /* #fff */;}
67+
.dark .dark\:text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity)) /* #fff */;}
7168
.text-black{--un-text-opacity:1;color:rgb(0 0 0 / var(--un-text-opacity)) /* #000 */;}
7269
.text-neutral-500{--un-text-opacity:1;color:rgb(115 115 115 / var(--un-text-opacity)) /* #737373 */;}
7370
.text-slate-900{--un-text-opacity:1;color:rgb(15 23 42 / var(--un-text-opacity)) /* #0f172a */;}

src/components/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type Props = {
77
export default function Button({ class: className, children, ...rest }: Props) {
88
return (
99
<button
10-
class={`text-slate-900 flex cursor-pointer items-center justify-center gap-3 rounded-md border-none bg-blue-300 px-4 py-2 text-base font-bold shadow-md hover:bg-blue-400 ${className}`}
10+
class={`flex cursor-pointer items-center justify-center gap-3 rounded-md border-none bg-blue-300 px-4 py-2 text-base font-bold text-slate-900 shadow-md hover:bg-blue-400 ${className}`}
1111
{...rest}
1212
>
1313
{children}

src/components/Layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function Layout({ title, children }: LayoutProps) {
1010
return (
1111
<html
1212
lang="en"
13-
className="dark:bg-gray-900 bg-white dark:text-white text-black"
13+
className="bg-white text-black dark:bg-gray-900 dark:text-white"
1414
>
1515
<head>
1616
<meta charSet="utf-8" />
@@ -28,7 +28,7 @@ function Layout({ title, children }: LayoutProps) {
2828
<EnableDarkMode />
2929
</head>
3030
<style>{`* { box-sizing: border-box; margin: 0; outline: none; color: unset; }`}</style>
31-
<body className="font-lato m-0 bg-white dark:bg-gray-900 p-0 text-black dark:text-white">
31+
<body className="font-lato m-0 bg-white p-0 text-black dark:bg-gray-900 dark:text-white">
3232
{children}
3333
</body>
3434
</html>

src/server.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ app.get("/", (c) =>
1212
c.html(
1313
<Layout title="hyperwave">
1414
<main class="m-auto flex h-full flex-col items-center gap-8 px-10 py-8 text-center">
15-
<h1 class="text-5xl font-extrabold text-black dark:text-white drop-shadow-lg">
15+
<h1 class="text-5xl font-extrabold text-black drop-shadow-lg dark:text-white">
1616
🌊 hyperwave
1717
</h1>
18-
<pre class="rounded-md bg-indigo-200 dark:bg-indigo-600 px-6 py-3 text-black dark:text-white shadow-lg">
18+
<pre class="rounded-md bg-indigo-200 px-6 py-3 text-black shadow-lg dark:bg-indigo-600 dark:text-white">
1919
⌨️ edit&nbsp;
20-
<code class="bg-gray-300 dark:bg-gray-700 text-black dark:text-white rounded px-2 py-1">
20+
<code class="rounded bg-gray-300 px-2 py-1 text-black dark:bg-gray-700 dark:text-white">
2121
src/server.tsx
2222
</code>
2323
</pre>
24-
<pre class="rounded-md bg-blue-200 dark:bg-blue-600 px-6 py-3 text-black dark:text-white shadow-lg">
24+
<pre class="rounded-md bg-blue-200 px-6 py-3 text-black shadow-lg dark:bg-blue-600 dark:text-white">
2525
📚 read the&nbsp;
2626
<a
2727
href="https://github.com/tireymorris/hyperwave?tab=readme-ov-file#hyperwave-"

0 commit comments

Comments
 (0)