Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

fix: font imports (#8387)

Aaryan Khandelwal5e0091e32e5d
diff --git a/apps/admin/styles/globals.css b/apps/admin/styles/globals.css
index e54456f00a..be8c75a0a8 100644
--- a/apps/admin/styles/globals.css
+++ b/apps/admin/styles/globals.css
@@ -1,5 +1,5 @@
@import "@plane/tailwind-config/index.css";
-@import "@plane/tailwind-config/fonts.css";
+@import "@plane/propel/styles/fonts";
.shadow-custom {
box-shadow: 2px 2px 8px 2px rgba(234, 231, 250, 0.3); /* Convert #EAE7FA4D to rgba */
diff --git a/apps/space/styles/globals.css b/apps/space/styles/globals.css
index cd448373c1..e77a5c236c 100644
--- a/apps/space/styles/globals.css
+++ b/apps/space/styles/globals.css
@@ -1,6 +1,6 @@
@import "@plane/tailwind-config/index.css";
-@import "@plane/tailwind-config/fonts.css";
@import "@plane/editor/styles";
+@import "@plane/propel/styles/fonts";
@import "@plane/propel/styles/react-day-picker.css";
@plugin "@tailwindcss/typography";
diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css
index 0d66dd89cf..a2e0df5f42 100644
--- a/apps/web/styles/globals.css
+++ b/apps/web/styles/globals.css
@@ -1,6 +1,6 @@
@import "@plane/tailwind-config/index.css";
-@import "@plane/tailwind-config/fonts.css";
@import "@plane/editor/styles";
+@import "@plane/propel/styles/fonts";
@import "@plane/propel/styles/react-day-picker.css";
@import "./power-k.css";
@import "./emoji.css";
diff --git a/packages/propel/.storybook/tailwind.css b/packages/propel/.storybook/tailwind.css
index eacec4b5f2..baa553f51c 100644
--- a/packages/propel/.storybook/tailwind.css
+++ b/packages/propel/.storybook/tailwind.css
@@ -1,3 +1,3 @@
@import "@plane/tailwind-config/index.css";
-@import "@plane/tailwind-config/fonts.css";
+@import "../src/styles/fonts/index.css";
@import "../src/styles/react-day-picker.css";
diff --git a/packages/tailwind-config/fonts/Inter/LICENSE b/packages/propel/src/styles/fonts/Inter/LICENSE
similarity index 100%
rename from packages/tailwind-config/fonts/Inter/LICENSE
rename to packages/propel/src/styles/fonts/Inter/LICENSE
diff --git a/packages/tailwind-config/fonts/Inter/inter-v13-latin-200.woff2 b/packages/propel/src/styles/fonts/Inter/inter-v13-latin-200.woff2
similarity index 100%
rename from packages/tailwind-config/fonts/Inter/inter-v13-latin-200.woff2
rename to packages/propel/src/styles/fonts/Inter/inter-v13-latin-200.woff2
diff --git a/packages/tailwind-config/fonts/Inter/inter-v13-latin-300.woff2 b/packages/propel/src/styles/fonts/Inter/inter-v13-latin-300.woff2
similarity index 100%
rename from packages/tailwind-config/fonts/Inter/inter-v13-latin-300.woff2
rename to packages/propel/src/styles/fonts/Inter/inter-v13-latin-300.woff2
diff --git a/packages/tailwind-config/fonts/Inter/inter-v13-latin-500.woff2 b/packages/propel/src/styles/fonts/Inter/inter-v13-latin-500.woff2
similarity index 100%
rename from packages/tailwind-config/fonts/Inter/inter-v13-latin-500.woff2
rename to packages/propel/src/styles/fonts/Inter/inter-v13-latin-500.woff2
diff --git a/packages/tailwind-config/fonts/Inter/inter-v13-latin-600.woff2 b/packages/propel/src/styles/fonts/Inter/inter-v13-latin-600.woff2
similarity index 100%
rename from packages/tailwind-config/fonts/Inter/inter-v13-latin-600.woff2
rename to packages/propel/src/styles/fonts/Inter/inter-v13-latin-600.woff2
diff --git a/packages/tailwind-config/fonts/Inter/inter-v13-latin-700.woff2 b/packages/propel/src/styles/fonts/Inter/inter-v13-latin-700.woff2
similarity index 100%
rename from packages/tailwind-config/fonts/Inter/inter-v13-latin-700.woff2
rename to packages/propel/src/styles/fonts/Inter/inter-v13-latin-700.woff2
diff --git a/packages/tailwind-config/fonts/Inter/inter-v13-latin-800.woff2 b/packages/propel/src/styles/fonts/Inter/inter-v13-latin-800.woff2
similarity index 100%
rename from packages/tailwind-config/fonts/Inter/inter-v13-latin-800.woff2
rename to packages/propel/src/styles/fonts/Inter/inter-v13-latin-800.woff2
diff --git a/packages/tailwind-config/fonts/Inter/inter-v13-latin-regular.woff2 b/packages/propel/src/styles/fonts/Inter/inter-v13-latin-regular.woff2
similarity index 100%
rename from packages/tailwind-config/fonts/Inter/inter-v13-latin-regular.woff2
rename to packages/propel/src/styles/fonts/Inter/inter-v13-latin-regular.woff2
diff --git a/packages/tailwind-config/fonts/index.css b/packages/propel/src/styles/fonts/index.css
similarity index 100%
rename from packages/tailwind-config/fonts/index.css
rename to packages/propel/src/styles/fonts/index.css
diff --git a/packages/tailwind-config/fonts/Material-Symbols-Rounded/LICENSE.txt b/packages/tailwind-config/fonts/Material-Symbols-Rounded/LICENSE.txt
deleted file mode 100644
index c86ff014ad..0000000000
--- a/packages/tailwind-config/fonts/Material-Symbols-Rounded/LICENSE.txt
+++ /dev/null
@@ -1 +0,0 @@
-MaterialSymbolsRounded[FILL,GRAD,opsz,wght].ttf: Copyright 2022, 2022 Google LLC. All Rights Reserved.
diff --git a/packages/tailwind-config/fonts/Material-Symbols-Rounded/material-symbols-rounded-v168-latin-regular.woff2 b/packages/tailwind-config/fonts/Material-Symbols-Rounded/material-symbols-rounded-v168-latin-regular.woff2
deleted file mode 100644
index 03d95f1b04..0000000000
Binary files a/packages/tailwind-config/fonts/Material-Symbols-Rounded/material-symbols-rounded-v168-latin-regular.woff2 and /dev/null differ
diff --git a/packages/tailwind-config/package.json b/packages/tailwind-config/package.json
index 6647b09c96..a3b57b18d5 100644
--- a/packages/tailwind-config/package.json
+++ b/packages/tailwind-config/package.json
@@ -15,7 +15,6 @@
},
"exports": {
"./index.css": "./index.css",
- "./fonts.css": "./fonts/index.css",
"./postcss.config.js": "./postcss.config.js"
}
}
diff --git a/packages/ui/styles/globals.css b/packages/ui/styles/globals.css
index 3d3d7597f5..64fd6ebdff 100644
--- a/packages/ui/styles/globals.css
+++ b/packages/ui/styles/globals.css
@@ -1,2 +1,2 @@
@import "@plane/tailwind-config/index.css";
-@import "@plane/tailwind-config/fonts.css";
+@import "@plane/propel/styles/fonts";