-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.base.cjs
44 lines (42 loc) · 1.53 KB
/
tailwind.config.base.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import fluid, { extract } from "fluid-tailwind";
export const baseConfig = {
content: {
files: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
extract,
},
theme: {
screens: {
xs: "20rem", // Extra small (320px)
s: "30rem", // Small (480px)
md: "48rem", // Medium (768px)
lg: "64rem", // Large (1024px)
xlg: "80rem", // Extra large (1280px)
xxlg: "96rem", // Double extra large (1536px)
},
extend: {
fontFamily: {
helvetica: ["Helvetica", "sans-serif"],
helveticaOblique: ["HelveticaOblique", "sans-serif"],
helveticaCompressed: ["HelveticaCompressed", "sans-serif"],
helveticaBold: ["HelveticaBold", "sans-serif"], // You already used the "Helvetica" name, so it will reuse this for bold
helveticaBoldOblique: ["BoldOblique", "sans-serif"],
helveticaLight: ["HelveticaLight", "sans-serif"],
helveticaLightOblique: ["HelveticaLightOblique", "sans-serif"],
},
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
base: {
100: "var(--base-100)",
200: "var(--base-200)",
},
},
},
},
plugins: [fluid],
// darkMode: "selector",
};