Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docs): add new fonts Gotham SS #153

Merged
merged 1 commit into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/components/home.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { Button } from "@openui-org/react/components";
import Link from "next/link";

export default function Home() {
return (
<section className="py-20 sm:py-24 relative">
Expand All @@ -12,7 +15,7 @@ export default function Home() {
and
<b className="text-sky"> Tailwind CSS </b>
</h1>
<p className="mt-6 text-lg tracking-tight text-foreground text-pretty">
<p className="mt-6 text-base tracking-tight text-foreground text-pretty">
Open UI is an open source design system with a completely
cutting-edge system.
{' '}
Expand All @@ -21,6 +24,13 @@ export default function Home() {
Fully customizable and modifiable you
will make UI development much faster with fully stylized components.
</p>
<div className="mt-10 flex flex-wrap gap-x-6 gap-y-3 justify-center">
<Button asChild>
<Link href="/docs/introduction">
Getting Started
</Link>
</Button>
</div>
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion docs/components/logo.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default function logo() {
return (
<h2 className="text-3xl font-bold tracking-tight">Open UI</h2>
<h2 className="text-3xl font-bold">Open <b className="text-sky">UI</b></h2>
)
}
Binary file added docs/fonts/GothamSSm-medium.woff2
Binary file not shown.
12 changes: 12 additions & 0 deletions docs/globals.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
@font-face {
font-family: 'Gotham Medium';
src: url('./fonts/GothamSSm-medium.woff2') format('woff2');
}
html,
body {
scroll-behavior: smooth;
font-family: 'Gotham Medium', system-ui, sans-serif;
}
}
Loading