feat: font family and colors
This commit is contained in:
@@ -9,7 +9,7 @@ export const SiteFooter: React.FC<{
|
||||
return (
|
||||
<footer className="text-zinc-500 border-t">
|
||||
<div className="max-w-screen-md mx-auto px-5 py-10 text-xs">
|
||||
<p className="font-medium text-base text-gray-800">
|
||||
<p className="font-medium text-base">
|
||||
©{" "}
|
||||
<UniLink href="/" className="hover:text-indigo-500">
|
||||
{site?.username}
|
||||
|
||||
@@ -162,7 +162,9 @@ export const SiteHeader: React.FC<{
|
||||
/>
|
||||
)}
|
||||
<div>
|
||||
<div className="text-2xl font-bold">{site?.name}</div>
|
||||
<div className="text-2xl font-bold text-zinc-900">
|
||||
{site?.name}
|
||||
</div>
|
||||
{site?.bio && (
|
||||
<div className="text-gray-500 text-sm">{site?.bio}</div>
|
||||
)}
|
||||
|
||||
+1
-28
@@ -2,36 +2,9 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@font-face {
|
||||
font-family: SFCompactRounded;
|
||||
font-weight: 400;
|
||||
src: url("../fonts/SF-Compact-Rounded-Regular.otf") format("opentype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: SFCompactRounded;
|
||||
font-weight: 300;
|
||||
src: url("../fonts/SF-Compact-Rounded-Light.otf") format("opentype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: SFCompactRounded;
|
||||
font-weight: 500;
|
||||
src: url("../fonts/SF-Compact-Rounded-Medium.otf") format("opentype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: SFCompactRounded;
|
||||
font-weight: 600;
|
||||
src: url("../fonts/SF-Compact-Rounded-Semibold.otf") format("opentype");
|
||||
}
|
||||
|
||||
@layer base {
|
||||
html {
|
||||
font-family: SFCompactRounded, ui-sans-serif, system-ui, -apple-system,
|
||||
BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
|
||||
"Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
||||
"Segoe UI Symbol", "Noto Color Emoji";
|
||||
@apply text-zinc-800;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user