-
Notifications
You must be signed in to change notification settings - Fork 3.9k
[WEB-5649] [WEB-5675] fix: local font files #8377
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| @import "@plane/tailwind-config/index.css"; | ||
| @import "@plane/tailwind-config/fonts.css"; | ||
| @import "../src/styles/react-day-picker.css"; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Inter[slnt,wght].ttf: Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter) | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,87 @@ | ||||||
| /* inter-200 - latin */ | ||||||
| @font-face { | ||||||
| font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||||||
| font-family: Inter; | ||||||
| font-style: normal; | ||||||
| font-weight: 200; | ||||||
| src: url("./Inter/inter-v13-latin-200.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||||||
| } | ||||||
|
|
||||||
| /* inter-300 - latin */ | ||||||
| @font-face { | ||||||
| font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||||||
| font-family: Inter; | ||||||
| font-style: normal; | ||||||
| font-weight: 300; | ||||||
| src: url("./Inter/inter-v13-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||||||
| } | ||||||
|
|
||||||
| /* inter-regular - latin */ | ||||||
| @font-face { | ||||||
| font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||||||
| font-family: Inter; | ||||||
| font-style: normal; | ||||||
| font-weight: 400; | ||||||
| src: url("./Inter/inter-v13-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||||||
| } | ||||||
|
|
||||||
| /* inter-500 - latin */ | ||||||
| @font-face { | ||||||
| font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||||||
| font-family: Inter; | ||||||
| font-style: normal; | ||||||
| font-weight: 500; | ||||||
| src: url("./Inter/inter-v13-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||||||
| } | ||||||
|
|
||||||
| /* inter-600 - latin */ | ||||||
| @font-face { | ||||||
| font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||||||
| font-family: Inter; | ||||||
| font-style: normal; | ||||||
| font-weight: 600; | ||||||
| src: url("./Inter/inter-v13-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||||||
| } | ||||||
|
|
||||||
| /* inter-700 - latin */ | ||||||
| @font-face { | ||||||
| font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||||||
| font-family: Inter; | ||||||
| font-style: normal; | ||||||
| font-weight: 700; | ||||||
| src: url("./Inter/inter-v13-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||||||
| } | ||||||
|
|
||||||
| /* inter-800 - latin */ | ||||||
| @font-face { | ||||||
| font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||||||
| font-family: Inter; | ||||||
| font-style: normal; | ||||||
| font-weight: 800; | ||||||
| src: url("./Inter/inter-v13-latin-800.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||||||
| } | ||||||
|
|
||||||
| /* material-symbols-rounded-regular - latin */ | ||||||
| @font-face { | ||||||
| font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ | ||||||
| font-family: "Material Symbols Rounded"; | ||||||
| font-style: normal; | ||||||
| font-weight: 400; | ||||||
| src: url("./Material-Symbols-Rounded/material-symbols-rounded-v168-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ | ||||||
| } | ||||||
|
|
||||||
| .material-symbols-rounded { | ||||||
| font-family: "Material Symbols Rounded"; | ||||||
| font-weight: normal; | ||||||
| font-style: normal; | ||||||
| font-size: 24px; | ||||||
|
||||||
| font-size: 24px; | |
| font-size: 1.5rem; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,11 +15,7 @@ | |
| }, | ||
| "exports": { | ||
| "./index.css": "./index.css", | ||
| "./fonts.css": "./fonts/index.css", | ||
|
||
| "./postcss.config.js": "./postcss.config.js" | ||
| }, | ||
| "dependencies": { | ||
| "@fontsource/ibm-plex-mono": "5.2.7", | ||
| "@fontsource/inter": "5.2.8", | ||
| "@fontsource/material-symbols-rounded": "5.2.30" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| @import "@plane/tailwind-config/index.css"; | ||
| @import "@plane/tailwind-config/fonts.css"; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: makeplane/plane
Length of output: 105
🏁 Script executed:
Repository: makeplane/plane
Length of output: 400
🏁 Script executed:
Repository: makeplane/plane
Length of output: 865
🏁 Script executed:
Repository: makeplane/plane
Length of output: 290
Include full SIL Open Font License 1.1 text in LICENSE file.
Inter font is licensed under the SIL Open Font License, Version 1.1. The current file contains only a copyright notice. When distributing font files, the copyright notice and full license must be included, either as stand-alone text files or in appropriate machine-readable metadata fields. Replace the single-line copyright notice with the complete SIL OFL 1.1 license text from the official Inter repository (https://github.com/rsms/inter/blob/master/LICENSE.txt).
🤖 Prompt for AI Agents