1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-27 17:00:52 +01:00

Fixed font issue

This commit is contained in:
Nayam Amarshe 2022-12-11 16:25:28 +05:30
parent bff7d90bbc
commit 0f19e669d6
10 changed files with 38 additions and 11 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,40 @@
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-Regular.ttf");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-Medium.ttf");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-SemiBold.ttf");
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-Bold.ttf");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-ExtraBold.ttf");
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: "Poppins";
src: url("../fonts/poppins/Poppins-Black.ttf");
font-weight: 900;
font-style: normal;
}
@tailwind base; @tailwind base;
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@ -6,13 +43,8 @@
* { * {
@apply select-none; @apply select-none;
font-family: "Poppins", sans-serif; font-family: "Poppins", sans-serif;
src: url("/Poppins-Regular.ttf") format("truetype"),
url("/Poppins-Medium.ttf") format("truetype"),
url("/Poppins-Semibold.ttf") format("truetype"),
url("/Poppins-Bold.ttf") format("truetype"),
url("/Poppins-ExtraBold.ttf") format("truetype"),
url("/Poppins-Black.ttf") format("truetype");
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
@apply w-3; @apply w-3;
} }

View File

@ -10,11 +10,6 @@ module.exports = {
}, },
}, },
}, },
safelist: [
{
pattern: /data-theme$/,
},
],
plugins: [require("daisyui"), require("tailwind-scrollbar")], plugins: [require("daisyui"), require("tailwind-scrollbar")],
daisyui: { daisyui: {
themes: [ themes: [