feat(app): add custom font AfacadFlux
This commit is contained in:
parent
68db4df351
commit
b97243c5f9
BIN
apps/app/public/AfacadFlux-VariableFont_slnt,wght.ttf
Normal file
BIN
apps/app/public/AfacadFlux-VariableFont_slnt,wght.ttf
Normal file
Binary file not shown.
@ -2,71 +2,72 @@
|
|||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities;
|
||||||
|
|
||||||
|
/* Variable Fonts */
|
||||||
|
@supports (font-variation-settings: normal) {
|
||||||
|
@font-face {
|
||||||
|
font-family: "AfacadFlux";
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 100 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("/AfacadFlux-VariableFont_slnt,wght.ttf") format("ttf");
|
||||||
|
font-named-instance: "Regular";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@layer base {
|
@layer base {
|
||||||
:root {
|
:root {
|
||||||
--background: 0 0% 100%;
|
--background: 0 0% 100%;
|
||||||
--foreground: 222.2 47.4% 11.2%;
|
--foreground: 240 10% 3.9%;
|
||||||
|
|
||||||
--muted: 210 40% 96.1%;
|
|
||||||
--muted-foreground: 215.4 16.3% 46.9%;
|
|
||||||
|
|
||||||
--popover: 0 0% 100%;
|
|
||||||
--popover-foreground: 222.2 47.4% 11.2%;
|
|
||||||
|
|
||||||
--border: 214.3 31.8% 91.4%;
|
|
||||||
--input: 214.3 31.8% 91.4%;
|
|
||||||
|
|
||||||
--card: 0 0% 100%;
|
--card: 0 0% 100%;
|
||||||
--card-foreground: 222.2 47.4% 11.2%;
|
--card-foreground: 240 10% 3.9%;
|
||||||
|
--popover: 0 0% 100%;
|
||||||
--primary: 222.2 47.4% 11.2%;
|
--popover-foreground: 240 10% 3.9%;
|
||||||
--primary-foreground: 210 40% 98%;
|
--primary: 240 5.9% 10%;
|
||||||
|
--primary-foreground: 0 0% 98%;
|
||||||
--secondary: 210 40% 96.1%;
|
--secondary: 240 4.8% 95.9%;
|
||||||
--secondary-foreground: 222.2 47.4% 11.2%;
|
--secondary-foreground: 240 5.9% 10%;
|
||||||
|
--muted: 240 4.8% 95.9%;
|
||||||
--accent: 210 40% 96.1%;
|
--muted-foreground: 240 3.8% 46.1%;
|
||||||
--accent-foreground: 222.2 47.4% 11.2%;
|
--accent: 240 4.8% 95.9%;
|
||||||
|
--accent-foreground: 240 5.9% 10%;
|
||||||
--destructive: 0 100% 50%;
|
--destructive: 0 84.2% 60.2%;
|
||||||
--destructive-foreground: 210 40% 98%;
|
--destructive-foreground: 0 0% 98%;
|
||||||
|
--border: 240 5.9% 90%;
|
||||||
--ring: 215 20.2% 65.1%;
|
--input: 240 5.9% 90%;
|
||||||
|
--ring: 240 5.9% 10%;
|
||||||
--radius: 0.5rem;
|
--radius: 0.5rem;
|
||||||
|
--chart-1: 12 76% 61%;
|
||||||
|
--chart-2: 173 58% 39%;
|
||||||
|
--chart-3: 197 37% 24%;
|
||||||
|
--chart-4: 43 74% 66%;
|
||||||
|
--chart-5: 27 87% 67%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark {
|
.dark {
|
||||||
--background: 224 71% 4%;
|
--background: 240 10% 3.9%;
|
||||||
--foreground: 213 31% 91%;
|
--foreground: 0 0% 98%;
|
||||||
|
--card: 240 10% 3.9%;
|
||||||
--muted: 223 47% 11%;
|
--card-foreground: 0 0% 98%;
|
||||||
--muted-foreground: 215.4 16.3% 56.9%;
|
--popover: 240 10% 3.9%;
|
||||||
|
--popover-foreground: 0 0% 98%;
|
||||||
--accent: 216 34% 17%;
|
--primary: 0 0% 98%;
|
||||||
--accent-foreground: 210 40% 98%;
|
--primary-foreground: 240 5.9% 10%;
|
||||||
|
--secondary: 240 3.7% 15.9%;
|
||||||
--popover: 224 71% 4%;
|
--secondary-foreground: 0 0% 98%;
|
||||||
--popover-foreground: 215 20.2% 65.1%;
|
--muted: 240 3.7% 15.9%;
|
||||||
|
--muted-foreground: 240 5% 64.9%;
|
||||||
--border: 216 34% 17%;
|
--accent: 240 3.7% 15.9%;
|
||||||
--input: 216 34% 17%;
|
--accent-foreground: 0 0% 98%;
|
||||||
|
--destructive: 0 62.8% 30.6%;
|
||||||
--card: 224 71% 4%;
|
--destructive-foreground: 0 0% 98%;
|
||||||
--card-foreground: 213 31% 91%;
|
--border: 240 3.7% 15.9%;
|
||||||
|
--input: 240 3.7% 15.9%;
|
||||||
--primary: 210 40% 98%;
|
--ring: 240 4.9% 83.9%;
|
||||||
--primary-foreground: 222.2 47.4% 1.2%;
|
--chart-1: 220 70% 50%;
|
||||||
|
--chart-2: 160 60% 45%;
|
||||||
--secondary: 222.2 47.4% 11.2%;
|
--chart-3: 30 80% 55%;
|
||||||
--secondary-foreground: 210 40% 98%;
|
--chart-4: 280 65% 60%;
|
||||||
|
--chart-5: 340 75% 55%;
|
||||||
--destructive: 0 63% 31%;
|
|
||||||
--destructive-foreground: 210 40% 98%;
|
|
||||||
|
|
||||||
--ring: 216 34% 17%;
|
|
||||||
|
|
||||||
--radius: 0.5rem;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ export default {
|
|||||||
sm: 'calc(var(--radius) - 4px)',
|
sm: 'calc(var(--radius) - 4px)',
|
||||||
},
|
},
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ['var(--font-sans)', ...fontFamily.sans],
|
sans: ['AfacadFlux', ...fontFamily.sans],
|
||||||
},
|
},
|
||||||
keyframes: {
|
keyframes: {
|
||||||
'accordion-down': {
|
'accordion-down': {
|
||||||
|
Loading…
Reference in New Issue
Block a user