Skip to content

Commit df47cfb

Browse files
committed
Updating default design-system font to Fustat
1 parent d30578c commit df47cfb

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

.storybook/manager-head.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<link rel="preconnect" href="https://fonts.googleapis.com" />
22
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
3-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
3+
<!-- <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" /> -->
4+
<link href="https://fonts.googleapis.com/css2?family=Fustat:wght@200..800&display=swap" rel="stylesheet">

.storybook/preview-head.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
href="https://fonts.gstatic.com"
55
crossorigin="anonymous"
66
/>
7-
<link
7+
<!-- <link
88
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
99
rel="stylesheet"
10-
/>
10+
/> -->
11+
<link href="https://fonts.googleapis.com/css2?family=Fustat:wght@200..800&display=swap" rel="stylesheet">
1112

1213
<style type="text/css">
1314
body {

.storybook/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import { create } from 'storybook/theming'
22

33
export default create({
44
base: 'light',
5-
fontBase: 'Inter',
5+
fontBase: 'Fustat',
66
})

src/index.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@
115115
}
116116

117117
@theme inline {
118-
--font-sans:
119-
'Inter', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
120-
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
118+
--font-sans: "Fustat", sans-serif;
121119
--font-mono:
122120
'Roboto', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
123121
'Liberation Mono', 'Courier New', monospace;

0 commit comments

Comments
 (0)