You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/01/21 03:22:55 UTC
(superset) branch docs/federate-storybook updated: fix(docs): add Inter and Fira Code fonts for Superset component styling
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch docs/federate-storybook
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/docs/federate-storybook by this push:
new 3b60cb545f fix(docs): add Inter and Fira Code fonts for Superset component styling
3b60cb545f is described below
commit 3b60cb545f1a416cd40462c704a7bded1ace9b12
Author: Evan Rusackas <ev...@rusackas.com>
AuthorDate: Tue Jan 20 19:22:43 2026 -0800
fix(docs): add Inter and Fira Code fonts for Superset component styling
GlobalStyles in SupersetThemeProvider imports these fonts but they
weren't bundled in the docs. This caused font differences between
Storybook and Docs rendering.
Co-Authored-By: Claude Opus 4.5 <no...@anthropic.com>
---
docs/package.json | 2 ++
docs/yarn.lock | 10 ++++++++++
2 files changed, 12 insertions(+)
diff --git a/docs/package.json b/docs/package.json
index 613e6fcc6a..8ec6ded2ac 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -43,6 +43,8 @@
"@emotion/core": "^11.0.0",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.14.1",
+ "@fontsource/fira-code": "^5.2.7",
+ "@fontsource/inter": "^5.2.8",
"@mdx-js/react": "^3.1.1",
"@saucelabs/theme-github-codeblock": "^0.3.0",
"@storybook/addon-docs": "^8.6.11",
diff --git a/docs/yarn.lock b/docs/yarn.lock
index 94429e4815..fc952f15c8 100644
--- a/docs/yarn.lock
+++ b/docs/yarn.lock
@@ -2533,6 +2533,16 @@
"@eslint/core" "^0.17.0"
levn "^0.4.1"
+"@fontsource/fira-code@^5.2.7":
+ version "5.2.7"
+ resolved "https://registry.yarnpkg.com/@fontsource/fira-code/-/fira-code-5.2.7.tgz#9ecbd909d53e7196a5d895b601747fe34491fc6a"
+ integrity sha512-tnB9NNund9TwIym8/7DMJe573nlPEQb+fKUV5GL8TBYXjIhDvL0D7mgmNVNQUPhXp+R7RylQeiBdkA4EbOHPGQ==
+
+"@fontsource/inter@^5.2.8":
+ version "5.2.8"
+ resolved "https://registry.yarnpkg.com/@fontsource/inter/-/inter-5.2.8.tgz#10c95d877d972c7de5bd4592309d42fb6a5e1a5b"
+ integrity sha512-P6r5WnJoKiNVV+zvW2xM13gNdFhAEpQ9dQJHt3naLvfg+LkF2ldgSLiF4T41lf1SQCM9QmkqPTn4TH568IRagg==
+
"@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0":
version "9.3.0"
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"