Skip to content

Commit 71567a3

Browse files
committed
update radius and shadow css token
1 parent 071603b commit 71567a3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/not-found.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function NotFound() {
1515
<p className="mb-8">But dont worry, you can find plenty of other things on our homepage.</p>
1616
<Link
1717
href="/"
18-
className="focus:shadow-outline-blue inline rounded-lg border border-transparent bg-blue-600 px-4 py-2 text-sm leading-5 font-medium text-white shadow-sm transition-colors duration-150 hover:bg-blue-700 focus:outline-hidden dark:hover:bg-blue-500"
18+
className="focus:shadow-outline-blue inline rounded-lg border border-transparent bg-blue-600 px-4 py-2 text-sm leading-5 font-medium text-white shadow-xs transition-colors duration-150 hover:bg-blue-700 focus:outline-hidden dark:hover:bg-blue-500"
1919
>
2020
Back to homepage
2121
</Link>

css/tailwind.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
1111

1212
/* Colors */
13+
/* Copied from https://tailwindcss.com/docs/theme#default-theme-variable-reference */
1314
--color-primary-50: oklch(0.971 0.014 343.198);
1415
--color-primary-100: oklch(0.948 0.028 342.258);
1516
--color-primary-200: oklch(0.899 0.061 343.231);
@@ -71,7 +72,7 @@
7172
a:focus-visible,
7273
button:focus-visible {
7374
outline: 2px solid;
74-
border-radius: var(--rounded-sm);
75+
border-radius: var(--radius-sm);
7576
outline-color: var(--color-primary-500);
7677
}
7778
}

0 commit comments

Comments
 (0)