Skip to content

Commit 61541ea

Browse files
committed
Update typography to use Open Sans font across styles and configurations; bump version to 1.0.6 in package.json.
1 parent 269c2c6 commit 61541ea

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ All colors are defined as `oklch` CSS custom properties. Key values:
1717
| `--background` | `oklch(1 0 0)` | `oklch(0.2134 0 0)` |
1818
| `--foreground` | `oklch(0.2134 0 0)` | `oklch(1 0 0)` |
1919
| `--radius` | `0.5rem` | `0.5rem` |
20-
| Font sans/serif | `Rubik` ||
21-
| Font mono | `JetBrains Mono` ||
20+
| Font sans/serif | `Open Sans` ||
21+
| Font mono | `Open Sans` ||
2222

2323
See `globals.css` for the full token list.
2424

@@ -79,4 +79,4 @@ import headshot from '@amansanoj/brand/images/headshots/main.jpg'
7979
```
8080

8181
## Fonts
82-
`globals.css` already imports Rubik and JetBrains Mono from Google Fonts. No additional `<link>` tags needed.
82+
`globals.css` already imports Open Sans from Google Fonts. No additional `<link>` tags needed.

globals.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @import '@amansanoj/brand/globals.css';
66
*/
77

8-
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
8+
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
99

1010
:root {
1111
/* ── Text ──────────────────────────────────────────────── */
@@ -82,9 +82,9 @@
8282
--radius: 0.5rem;
8383

8484
/* ── Typography ──────────────────────────────────────────── */
85-
--font-sans: 'Rubik', sans-serif;
86-
--font-serif: 'Rubik', serif;
87-
--font-mono: 'JetBrains Mono', monospace;
85+
--font-sans: 'Open Sans', sans-serif;
86+
--font-serif: 'Open Sans', serif;
87+
--font-mono: 'Open Sans', monospace;
8888
}
8989

9090
.dark {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@amansanoj/brand",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Personal brand system — shadcn/ui-compatible CSS tokens, Tailwind config, logos, fonts, headshots, and shared assets used across all my projects.",
55
"repository": {
66
"type": "git",

tailwind.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ const config: Config = {
7676

7777
// ── Typography ──────────────────────────────────────────
7878
fontFamily: {
79-
display: ['Rubik', 'sans-serif'],
80-
body: ['Rubik', 'sans-serif'],
81-
mono: ['JetBrains Mono', 'monospace'],
79+
display: ['Open Sans', 'sans-serif'],
80+
body: ['Open Sans', 'sans-serif'],
81+
mono: ['Open Sans', 'monospace'],
8282
},
8383

8484
fontSize: {

tokens.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@
163163
},
164164
"typography": {
165165
"family": {
166-
"display": "'Rubik', sans-serif",
167-
"body": "'Rubik', sans-serif",
168-
"mono": "'JetBrains Mono', monospace"
166+
"display": "'Open Sans', sans-serif",
167+
"body": "'Open Sans', sans-serif",
168+
"mono": "'Open Sans', monospace"
169169
},
170170
"size": {
171171
"xs": "0.75rem",

0 commit comments

Comments
 (0)