Skip to content

Commit

Permalink
refactor(fonts): change all fonts to Inter
Browse files Browse the repository at this point in the history
  • Loading branch information
masoudmanson committed Feb 13, 2024
1 parent ecab23c commit f510e62
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .storybook/sds-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default create({
appBorderRadius: 0,

// Typography
fontBase: '"Open Sans", sans-serif',
fontBase: '"Inter", sans-serif',
fontCode: "monospace",

// Text colors
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/core/Link/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const Default = {

const livePreviewStyles = {
display: "grid",
fontFamily: "Open Sans",
fontFamily: "Inter",
gridColumnGap: "24px",
gridTemplateColumns: "repeat(2, 250px)",
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`<NavigationJumpTo /> Default story renders snapshot 1`] = `
class="MuiBox-root css-0"
>
<div
class="MuiBox-root css-1r7i9e6"
class="MuiBox-root css-1bqrueo"
>
<p
id="nav-item-height-slider"
Expand Down Expand Up @@ -226,7 +226,7 @@ exports[`<NavigationJumpTo /> Default story renders snapshot 1`] = `
<div
id="navigation-panel-1"
role="tabpanel"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Open Sans, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Inter, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
>
<div
class="MuiBox-root css-19kzrtu"
Expand All @@ -244,7 +244,7 @@ exports[`<NavigationJumpTo /> Default story renders snapshot 1`] = `
<div
id="navigation-panel-2"
role="tabpanel"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Open Sans, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Inter, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
>
<div
class="MuiBox-root css-19kzrtu"
Expand All @@ -262,7 +262,7 @@ exports[`<NavigationJumpTo /> Default story renders snapshot 1`] = `
<div
id="navigation-panel-3"
role="tabpanel"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Open Sans, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Inter, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
>
<div
class="MuiBox-root css-19kzrtu"
Expand All @@ -280,7 +280,7 @@ exports[`<NavigationJumpTo /> Default story renders snapshot 1`] = `
<div
id="navigation-panel-4"
role="tabpanel"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Open Sans, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Inter, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
>
<div
class="MuiBox-root css-19kzrtu"
Expand All @@ -298,7 +298,7 @@ exports[`<NavigationJumpTo /> Default story renders snapshot 1`] = `
<div
id="navigation-panel-5"
role="tabpanel"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Open Sans, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
style="align-items: center; background-color: rgb(244, 244, 244); color: black; display: flex; font-family: Inter, sans-serif; font-size: 36px; font-weight: 100; justify-content: center; margin: 0px 22px 22px 6px; min-height: 100vh; text-align: center;"
>
<div
class="MuiBox-root css-19kzrtu"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const TabPanel = React.forwardRef<HTMLDivElement, TabPanelPropsExtra>(
backgroundColor: "#f4f4f4",
color: "black",
display: "flex",
fontFamily: "Open Sans, sans-serif",
fontFamily: "Inter, sans-serif",
fontSize: "36px",
fontWeight: 100,
justifyContent: "center",
Expand Down Expand Up @@ -58,7 +58,7 @@ const NavigationJumpTo = (props: Args): JSX.Element => {
<Box>
<Box
sx={{
fontFamily: "Open Sans, sans-serif",
fontFamily: "Inter, sans-serif",
margin: "0 0 30px 6px",
width: 250,
}}
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/core/styles/common/defaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const defaultAppTheme: AppTheme = {
xxxs: 2,
},
typography: {
fontFamily: "Open Sans",
fontFamily: "Inter",
styles: {
body: {
button: {
Expand Down

0 comments on commit f510e62

Please sign in to comment.