app/globals.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* In your main CSS file (e.g., app/globals.css) */@import 'passport-ui/styles.css'; /* Override the default font after importing passport-ui styles */@font-face { font-family: "Custom Font"; src: url("./fonts/custom-font-regular.woff2") format("woff2"), url("./fonts/custom-font-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap;} @font-face { font-family: "Custom Font"; src: url("./fonts/custom-font-bold.woff2") format("woff2"), url("./fonts/custom-font-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap;} :root { --font-sans: "Custom Font", ui-sans-serif, system-ui, sans-serif;}