-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
executable file
·33 lines (31 loc) · 1.34 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
import { fontFamily } from 'tailwindcss/defaultTheme';
const tailwindConfig = {
content: ['./app/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-spline-sans-mono)', 'Inter', ...fontFamily.sans],
slab: ['Spline Sans Mono', 'Zilla Slab', 'Roboto Slab', ...fontFamily.serif],
'sans-body': ['var(--font-jakarta-sans)', 'Inter', ...fontFamily.sans],
monospace: ['var(--font-ibm-plex-mono)', 'Menlo', 'Hack', ...fontFamily.mono],
'sans-display': ['var(--font-space-grotesk)', ...fontFamily.sans]
},
screens: { mobile: '420px', ['mobile-x']: '480px' },
colors: {
transparent: 'var(--transparent)',
error: 'rgb(var(--error) / <alpha-value>)',
font: 'rgb(var(--font) / <alpha-value>)',
black: 'rgb(var(--black) / <alpha-value>)',
white: 'rgb(var(--white) / <alpha-value>)',
secondary: 'rgb(var(--secondary) / <alpha-value>)',
foreground: 'rgb(var(--foreground) / <alpha-value>)',
background: 'rgb(var(--background) / <alpha-value>)',
'primary-variant': 'rgb(var(--primary-variant) / <alpha-value>)',
primary: 'rgb(var(--primary) / <alpha-value>)'
}
}
},
plugins: []
};
export default tailwindConfig;