Skip to content

Commit d7f0fd8

Browse files
authored
Merge pull request #639 from framer/remove-redundant-google-fonts-inter
Remove redundant Google Fonts Inter imports
2 parents 642c1d9 + a9255d4 commit d7f0fd8

9 files changed

Lines changed: 25 additions & 7 deletions

File tree

Binary file not shown.

plugins/code-versions/src/styles.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@import url("https://use.typekit.net/dba5ktr.css"); /* input mono */
2-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
32
@import "tailwindcss";
43

54
@custom-variant dark (&:where([data-framer-theme="dark"], [data-framer-theme="dark"] *));

plugins/global-search/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dependencies": {
1717
"@tanstack/react-virtual": "^3.13.12",
1818
"clsx": "^2.1.1",
19-
"framer-plugin": "3.11.0-alpha.12",
19+
"framer-plugin": "3.11.0-alpha.13",
2020
"idb": "^8.0.3",
2121
"react": "^18.3.1",
2222
"react-dom": "^18.3.1",

plugins/global-search/src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import "framer-plugin/inter.css"
12
import { StrictMode } from "react"
23
import { createRoot } from "react-dom/client"
34
import { App } from "./App"

plugins/global-search/src/styles.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
21
@import "tailwindcss";
32

43
@custom-variant dark (&:where([data-framer-theme="dark"], [data-framer-theme="dark"] *));
@@ -36,6 +35,16 @@
3635
--item-height: 30px;
3736
}
3837

38+
/* Prelease Styles: remove after major release */
39+
/* Conditionally render Inter alternate glyphs */
40+
[data-framer-styles="prerelease"] {
41+
font-feature-settings:
42+
"cv01" 1,
43+
"cv05" 1,
44+
"cv09" 1,
45+
"cv11" 1;
46+
}
47+
3948
@utility scrollbar-hidden {
4049
scrollbar-width: none;
4150

plugins/hubspot/src/globals.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
21
@import "tailwindcss";
32

43
@custom-variant dark (&:where([data-framer-theme="dark"], [data-framer-theme="dark"] *));

plugins/phosphor/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<link rel="icon" type="image/svg+xml" href="/framer.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Phosphor Icons</title>
8-
<link rel="preconnect" href="https://fonts.googleapis.com" />
98
</head>
109

1110
<body>

plugins/unsplash/src/global.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
21
@import "tailwindcss";
32

43
@theme inline {

yarn.lock

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5424,6 +5424,18 @@ __metadata:
54245424
languageName: node
54255425
linkType: hard
54265426

5427+
"framer-plugin@npm:3.11.0-alpha.13":
5428+
version: 3.11.0-alpha.13
5429+
resolution: "framer-plugin@npm:3.11.0-alpha.13"
5430+
dependencies:
5431+
csstype: "npm:^3.1.1"
5432+
peerDependencies:
5433+
react: ^18.2.0
5434+
react-dom: ^18.2.0
5435+
checksum: 10/c08bab3bee580b9027dd9e6a098d5e8647ac80ec88e762d9b749539129284e036497f65457dccc4685035dfe8d2b8dc5cc44417359796435702f575ca9a2a7a0
5436+
languageName: node
5437+
linkType: hard
5438+
54275439
"framer-plugin@npm:^3.10.0":
54285440
version: 3.10.3
54295441
resolution: "framer-plugin@npm:3.10.3"
@@ -5539,7 +5551,7 @@ __metadata:
55395551
"@types/react-dom": "npm:^18.3.7"
55405552
"@vitest/ui": "npm:^3.2.4"
55415553
clsx: "npm:^2.1.1"
5542-
framer-plugin: "npm:3.11.0-alpha.12"
5554+
framer-plugin: "npm:3.11.0-alpha.13"
55435555
happy-dom: "npm:^20.8.9"
55445556
idb: "npm:^8.0.3"
55455557
react: "npm:^18.3.1"

0 commit comments

Comments
 (0)