mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Use Inter for app typography (#899)
This commit is contained in:
+2
-1
@@ -16,6 +16,7 @@
|
||||
"test:e2e:smoke": "pnpm build && playwright test --project=smoke"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fontsource-variable/inter": "^5.2.8",
|
||||
"@isomorphic-git/lightning-fs": "^4.6.2",
|
||||
"@radix-ui/react-slot": "^1.2.4",
|
||||
"@radix-ui/react-tooltip": "^1.2.8",
|
||||
@@ -37,12 +38,12 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.58.2",
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"@tanstack/router-plugin": "^1.167.12",
|
||||
"@tanstack/virtual-file-routes": "^1.161.7",
|
||||
"@types/react": "^19.1.8",
|
||||
"@types/react-dom": "^19.1.6",
|
||||
"@vitejs/plugin-react": "^6.0.0",
|
||||
"@tailwindcss/postcss": "^4.3.0",
|
||||
"postcss": "^8.5.8",
|
||||
"tailwindcss": "^4.3.0",
|
||||
"tw-animate-css": "^1.4.0",
|
||||
|
||||
@@ -2,6 +2,7 @@ import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { App } from "@/app/App";
|
||||
import "@fontsource-variable/inter/wght.css";
|
||||
import "@/shared/styles/globals.css";
|
||||
import { ThemeProvider } from "@/shared/theme/ThemeProvider";
|
||||
import { Toaster } from "@/shared/ui/sonner";
|
||||
|
||||
@@ -95,6 +95,6 @@
|
||||
|
||||
body {
|
||||
@apply bg-background text-foreground antialiased;
|
||||
font-family: "Geist", "Avenir Next", "Segoe UI", sans-serif;
|
||||
font-family: "Inter Variable", Inter, "Avenir Next", "Segoe UI", sans-serif;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,15 @@ export default {
|
||||
md: "calc(var(--radius) - 2px)",
|
||||
sm: "calc(var(--radius) - 4px)",
|
||||
},
|
||||
fontFamily: {
|
||||
sans: [
|
||||
'"Inter Variable"',
|
||||
"Inter",
|
||||
'"Avenir Next"',
|
||||
'"Segoe UI"',
|
||||
"sans-serif",
|
||||
],
|
||||
},
|
||||
colors: {
|
||||
background: "hsl(var(--background))",
|
||||
foreground: "hsl(var(--foreground))",
|
||||
|
||||
Reference in New Issue
Block a user