+1
-1
| { | ||
| "name": "geist", | ||
| "version": "1.6.0-beta.3", | ||
| "version": "1.6.0-beta.4", | ||
| "description": "Geist is a new font family for Vercel, created by Vercel in collaboration with Basement Studio.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/font.js", |
+38
-32
@@ -1,2 +0,2 @@ | ||
|  | ||
|  | ||
@@ -13,3 +13,2 @@ # Geist Sans, Geist Mono & Geist Pixel | ||
| ### Installation | ||
@@ -29,12 +28,18 @@ | ||
| | Export | CSS Variable | Description | | ||
| |--------|--------------|-------------| | ||
| | `GeistPixelSquare` | `--font-geist-pixel-square` | Square pixel shapes | | ||
| | `GeistPixelGrid` | `--font-geist-pixel-grid` | Grid-based pixel pattern | | ||
| | `GeistPixelCircle` | `--font-geist-pixel-circle` | Circular pixel shapes | | ||
| | `GeistPixelTriangle` | `--font-geist-pixel-triangle` | Triangular pixel shapes | | ||
| | `GeistPixelLine` | `--font-geist-pixel-line` | Line-based pixel pattern | | ||
| | Export | CSS Variable | Description | | ||
| | -------------------- | ----------------------------- | ------------------------ | | ||
| | `GeistPixelSquare` | `--font-geist-pixel-square` | Square pixel shapes | | ||
| | `GeistPixelGrid` | `--font-geist-pixel-grid` | Grid-based pixel pattern | | ||
| | `GeistPixelCircle` | `--font-geist-pixel-circle` | Circular pixel shapes | | ||
| | `GeistPixelTriangle` | `--font-geist-pixel-triangle` | Triangular pixel shapes | | ||
| | `GeistPixelLine` | `--font-geist-pixel-line` | Line-based pixel pattern | | ||
| ```jsx | ||
| import { GeistPixelSquare, GeistPixelGrid, GeistPixelCircle, GeistPixelTriangle, GeistPixelLine } from "geist/font/pixel"; | ||
| import { | ||
| GeistPixelSquare, | ||
| GeistPixelGrid, | ||
| GeistPixelCircle, | ||
| GeistPixelTriangle, | ||
| GeistPixelLine, | ||
| } from "geist/font/pixel"; | ||
| ``` | ||
@@ -49,5 +54,3 @@ | ||
| export default function RootLayout({ | ||
| children, | ||
| }) { | ||
| export default function RootLayout({ children }) { | ||
| return ( | ||
@@ -57,3 +60,3 @@ <html lang="en" className={GeistSans.className}> | ||
| </html> | ||
| ) | ||
| ); | ||
| } | ||
@@ -74,3 +77,3 @@ ``` | ||
| </main> | ||
| ) | ||
| ); | ||
| } | ||
@@ -110,18 +113,19 @@ ``` | ||
| ```jsx | ||
| import { GeistSans } from 'geist/font/sans' | ||
| import { GeistMono } from 'geist/font/mono' | ||
| import { GeistPixelSquare } from 'geist/font/pixel' | ||
| import { GeistSans } from "geist/font/sans"; | ||
| import { GeistMono } from "geist/font/mono"; | ||
| import { GeistPixelSquare } from "geist/font/pixel"; | ||
| export default function RootLayout({ | ||
| children, | ||
| }) { | ||
| export default function RootLayout({ children }) { | ||
| return ( | ||
| <html lang="en" className={`${GeistSans.variable} ${GeistMono.variable} ${GeistPixelSquare.variable}`}> | ||
| <html | ||
| lang="en" | ||
| className={`${GeistSans.variable} ${GeistMono.variable} ${GeistPixelSquare.variable}`} | ||
| > | ||
| <body>{children}</body> | ||
| </html> | ||
| ) | ||
| ); | ||
| } | ||
| ``` | ||
| ##### Tailwind CSS V4 | ||
@@ -156,19 +160,21 @@ | ||
| fontFamily: { | ||
| sans: ['var(--font-geist-sans)'], | ||
| mono: ['var(--font-geist-mono)'], | ||
| 'pixel-square': ['var(--font-geist-pixel-square)'], | ||
| 'pixel-grid': ['var(--font-geist-pixel-grid)'], | ||
| 'pixel-circle': ['var(--font-geist-pixel-circle)'], | ||
| 'pixel-triangle': ['var(--font-geist-pixel-triangle)'], | ||
| 'pixel-line': ['var(--font-geist-pixel-line)'], | ||
| sans: ["var(--font-geist-sans)"], | ||
| mono: ["var(--font-geist-mono)"], | ||
| "pixel-square": ["var(--font-geist-pixel-square)"], | ||
| "pixel-grid": ["var(--font-geist-pixel-grid)"], | ||
| "pixel-circle": ["var(--font-geist-pixel-circle)"], | ||
| "pixel-triangle": ["var(--font-geist-pixel-triangle)"], | ||
| "pixel-line": ["var(--font-geist-pixel-line)"], | ||
| }, | ||
| }, | ||
| }, | ||
| } | ||
| }; | ||
| ``` | ||
| ### License | ||
| The Geist font family is free and open sourced under the [SIL Open Font License](./LICENSE.TXT). | ||
| ### Inspiration | ||
| Geist has been influenced and inspired by the following typefaces: [Inter](https://rsms.me/inter), [Univers](https://www.linotype.com/1567/univers-family.html), [SF Mono](https://developer.apple.com/fonts/), [SF Pro](https://developer.apple.com/fonts/), [Suisse International](https://www.swisstypefaces.com/fonts/suisse/), [ABC Diatype Mono](https://abcdinamo.com/typefaces/diatype), and [ABC Diatype](https://abcdinamo.com/typefaces/diatype). We thank the creators of these typefaces for their craft. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
174
3.57%7988363
-0.01%