Skip to content

Commit

Permalink
fix : prose typography
Browse files Browse the repository at this point in the history
  • Loading branch information
nullity00 committed Jan 5, 2025
1 parent e332b93 commit 0dd2165
Showing 1 changed file with 7 additions and 102 deletions.
109 changes: 7 additions & 102 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Config } from "tailwindcss";
import typography from '@tailwindcss/typography'

export default {
content: [
Expand All @@ -7,114 +8,18 @@ export default {
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
sm: {
min: "300px",
max: "768px",
},
md: {
min: "768px",
max: "1150px",
},
lg: {
min: "1150px",
max: "2000px",
},
},
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
black: "#080444",
purple: "#BF5AF2",
emeraldlight: "#3ee680",
darkgreen: "#15803d",
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
chart: {
"1": "hsl(var(--chart-1))",
"2": "hsl(var(--chart-2))",
"3": "hsl(var(--chart-3))",
"4": "hsl(var(--chart-4))",
"5": "hsl(var(--chart-5))",
},
},
fontFamily: {
default: ["Space Grotesk", "sans-serif"],
},
backgroundImage: {
gradientOne:
"linear-gradient(0deg, rgba(42, 219, 131, 0.77) 0%, rgb(179, 237, 172) 50%)",
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
animation: {
orbit: "orbit calc(var(--duration)*1s) linear infinite",
marquee: "marquee var(--duration) infinite linear",
"marquee-vertical": "marquee-vertical var(--duration) linear infinite",
},
keyframes: {
orbit: {
"0%": {
transform:
"rotate(0deg) translateY(calc(var(--radius) * 1px)) rotate(0deg)",
},
"100%": {
transform:
"rotate(360deg) translateY(calc(var(--radius) * 1px)) rotate(-360deg)",
},
},
marquee: {
from: {
transform: "translateX(0)",
},
to: {
transform: "translateX(calc(-100% - var(--gap)))",
},
},
"marquee-vertical": {
from: {
transform: "translateY(0)",
},
to: {
transform: "translateY(calc(-100% - var(--gap)))",
},
},
},
},
},
// eslint-disable-next-line @typescript-eslint/no-require-imports
plugins: [require("tailwindcss-animate")],
} satisfies Config;
plugins: [
typography
],
} satisfies Config;

0 comments on commit 0dd2165

Please sign in to comment.