Skip to content

Commit f901071

Browse files
author
thribhuvan003
committed
Upgrade typography to Bricolage Grotesque for a unique student feel
1 parent 6f0c354 commit f901071

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

public/demo/student.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>Tray — Premium Student Portal</title>
77
<link rel="preconnect" href="https://fonts.googleapis.com" />
88
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
9-
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital,wght@0,400;1,400&family=Geist:wght@100..900&display=swap" rel="stylesheet" />
9+
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital,wght@0,400;1,400&family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Geist:wght@100..900&display=swap" rel="stylesheet" />
1010
<script src="https://cdn.tailwindcss.com"></script>
1111
<script src="https://unpkg.com/framer-motion@11.18.2/dist/framer-motion.js"></script>
1212
<script src="https://unpkg.com/lucide@latest"></script>
@@ -18,7 +18,7 @@
1818
--dust: #908879;
1919
--ocean: #0066FF;
2020
--font-display: "Instrument Serif", serif;
21-
--font-sans: "Geist", sans-serif;
21+
--font-sans: "Bricolage Grotesque", sans-serif;
2222
--ease: cubic-bezier(0.23, 1, 0.32, 1);
2323
}
2424

@@ -124,7 +124,7 @@
124124
<div class="w-10 h-10 bg-ink text-white rounded-xl flex items-center justify-center font-display text-2xl italic">T</div>
125125
<div>
126126
<h1 class="font-display text-2xl tracking-tight leading-none">Tray<span class="text-dust">.</span></h1>
127-
<p id="canteenName" class="text-[9px] font-bold uppercase tracking-[0.2em] text-dust leading-none mt-1">Aditya Engineering</p>
127+
<p id="canteenName" class="text-[10px] font-extrabold uppercase tracking-[0.25em] text-dust leading-none mt-1.5">Aditya Engineering</p>
128128
</div>
129129
</div>
130130

@@ -150,7 +150,7 @@ <h2 class="font-display text-6xl md:text-8xl tracking-tighter italic leading-non
150150
</div>
151151

152152
<div class="flex gap-2 overflow-x-auto pb-2 no-scrollbar">
153-
<button class="cat-pill px-6 py-3 rounded-full bg-ink text-white text-xs font-bold uppercase tracking-widest transition-all">All</button>
153+
<button class="cat-pill px-6 py-3 rounded-full bg-ink text-white text-[10px] font-extrabold uppercase tracking-[0.15em] transition-all">All</button>
154154
<button class="cat-pill px-6 py-3 rounded-full bg-ink/5 text-dust text-xs font-bold uppercase tracking-widest hover:bg-ink/10 transition-all">Mains</button>
155155
<button class="cat-pill px-6 py-3 rounded-full bg-ink/5 text-dust text-xs font-bold uppercase tracking-widest hover:bg-ink/10 transition-all">Snacks</button>
156156
<button class="cat-pill px-6 py-3 rounded-full bg-ink/5 text-dust text-xs font-bold uppercase tracking-widest hover:bg-ink/10 transition-all">Drinks</button>

src/app/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
@theme {
66
/* Type */
7-
--font-sans: "Geist", "Inter", ui-sans-serif, system-ui;
7+
--font-sans: "Bricolage Grotesque", "Geist", "Inter", ui-sans-serif, system-ui;
88
--font-display: "Instrument Serif", serif;
99

1010
/* Premium Palette */
@@ -58,6 +58,6 @@
5858
}
5959

6060
[data-portal="student"] {
61-
--portal-font-sans: "Geist", sans-serif;
61+
--portal-font-sans: "Bricolage Grotesque", sans-serif;
6262
--portal-font-display: "Instrument Serif", serif;
6363
}

0 commit comments

Comments
 (0)