From 919eee8cdee5b86fc106855c59130a644612d167 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 2 Dec 2025 08:39:32 -0800 Subject: [PATCH] replace Goalking with AGrot font --- .storybook/preview-head.html | 58 ++++++++++++++++++++++++-- src/stories/foundations/Typography.mdx | 14 ++++--- 2 files changed, 62 insertions(+), 10 deletions(-) diff --git a/.storybook/preview-head.html b/.storybook/preview-head.html index 17a0c06f..e9550328 100644 --- a/.storybook/preview-head.html +++ b/.storybook/preview-head.html @@ -1,10 +1,60 @@ - + + diff --git a/src/stories/foundations/Typography.mdx b/src/stories/foundations/Typography.mdx index 2dbf1aa2..af7cda1f 100644 --- a/src/stories/foundations/Typography.mdx +++ b/src/stories/foundations/Typography.mdx @@ -4,15 +4,15 @@ import { Meta, Typeset } from '@storybook/addon-docs/blocks'; # Typography -Hensei uses the **Goalking** variable font as its primary typeface, with system fonts as fallbacks. +Hensei uses the **AGrot** font family as its primary typeface, with system fonts as fallbacks. ## Font Family ```css ---font-family: 'Goalking', system-ui, sans-serif; +--font-family: 'AGrot', system-ui, sans-serif; ``` -The Goalking font is a variable font supporting weights from 100-900, loaded from `/fonts/gk-variable.woff2`. +The AGrot font family supports weights 400, 500, 700, and 900 (with italic variants), loaded from AWS S3. ## Font Weights @@ -20,7 +20,8 @@ The Goalking font is a variable font supporting weights from 100-900, loaded fro |--------|-------|-------| | Normal | 400 | Body text, descriptions | | Medium | 500 | Labels, emphasized text | -| Bold | 600 | Headings, important text | +| Bold | 700 | Headings, important text | +| Black | 900 | Extra emphasis | ## Font Sizes @@ -39,7 +40,7 @@ Our font sizes use `rem` units based on a 10px base (62.5% of 16px), making calc ]} fontWeight={400} sampleText="The quick brown fox jumps over the lazy dog" - fontFamily="'Goalking', system-ui, sans-serif" + fontFamily="'AGrot', system-ui, sans-serif" /> ### Size Scale @@ -61,7 +62,8 @@ Our font sizes use `rem` units based on a 10px base (62.5% of 16px), making calc
Normal (400): The quick brown fox jumps over the lazy dog
Medium (500): The quick brown fox jumps over the lazy dog
-
Bold (600): The quick brown fox jumps over the lazy dog
+
Bold (700): The quick brown fox jumps over the lazy dog
+
Black (900): The quick brown fox jumps over the lazy dog
## Usage in SCSS