feat: font family and colors

This commit is contained in:
DIYgod
2022-08-07 21:38:04 +01:00
parent b5a7aa1210
commit 48e0d6fe84
7 changed files with 5 additions and 30 deletions
+1 -1
View File
@@ -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">
&copy;{" "}
<UniLink href="/" className="hover:text-indigo-500">
{site?.username}
+3 -1
View File
@@ -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
View File
@@ -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.