Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: swap inter font for open runde #2633

Merged
merged 3 commits into from
Aug 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed src/app/styles/fonts/Inter-italic.var.woff2
Binary file not shown.
Binary file removed src/app/styles/fonts/Inter-roman.var.woff2
Binary file not shown.
Binary file removed src/app/styles/fonts/Inter.var.woff2
Binary file not shown.
Binary file added src/app/styles/fonts/OpenRunde-Bold.woff
Binary file not shown.
Binary file added src/app/styles/fonts/OpenRunde-Bold.woff2
Binary file not shown.
Binary file added src/app/styles/fonts/OpenRunde-Medium.woff
Binary file not shown.
Binary file added src/app/styles/fonts/OpenRunde-Medium.woff2
Binary file not shown.
Binary file added src/app/styles/fonts/OpenRunde-Regular.woff
Binary file not shown.
Binary file added src/app/styles/fonts/OpenRunde-Regular.woff2
Binary file not shown.
Binary file added src/app/styles/fonts/OpenRunde-Semibold.woff
Binary file not shown.
Binary file added src/app/styles/fonts/OpenRunde-Semibold.woff2
Binary file not shown.
39 changes: 29 additions & 10 deletions src/app/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,44 @@
}

@font-face {
font-family: "Inter var";
font-weight: 100 900;
font-family: "Open Runde";
src: url("./fonts/OpenRunde-Regular.woff2") format("woff2"),
url("./fonts/OpenRunde-Regular.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Open Runde";
src: url("./fonts/OpenRunde-Medium.woff2") format("woff2"),
url("./fonts/OpenRunde-Medium.woff") format("woff");
font-weight: 500;
font-style: normal;
font-named-instance: "Regular";
src: url("./fonts/Inter-roman.var.woff2?v=3.18") format("woff2");
font-display: swap;
}

@font-face {
font-family: "Inter var";
font-weight: 100 900;
font-family: "Open Runde";
src: url("./fonts/OpenRunde-Bold.woff2") format("woff2"),
url("./fonts/OpenRunde-Bold.woff") format("woff");
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Open Runde";
src: url("./fonts/OpenRunde-Semibold.woff2") format("woff2"),
url("./fonts/OpenRunde-Semibold.woff") format("woff");
font-weight: 600;
font-style: normal;
font-display: swap;
font-style: italic;
font-named-instance: "Italic";
src: url("./fonts/Inter-italic.var.woff2?v=3.18") format("woff2");
}

body {
font-size: 100%;
font-family: "Inter var";
font-family: "Open Runde";
font-weight: normal;
}

Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
"spin-fast": "spin 0.7s linear infinite",
},
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
sans: ["Open Runde", ...defaultTheme.fontFamily.sans],
serif: ["Catamaran", ...defaultTheme.fontFamily.sans],
},
fontSize: {
Expand Down
Loading