-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
38 lines (35 loc) · 1003 Bytes
/
tailwind.config.ts
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
import { withTV } from 'tailwind-variants/transformer'
import colors from 'tailwindcss/colors'
import defaultTheme from 'tailwindcss/defaultTheme'
import type { Config } from 'tailwindcss'
const TailwindConfig: Config = {
content: ['./app/**/{**,.client,.server}/**/*!(*.stories|*.spec).{js,jsx,ts,tsx}'],
darkMode: ['class'],
theme: {
extend: {
fontFamily: {
sans: [...defaultTheme.fontFamily.sans],
mono: [...defaultTheme.fontFamily.mono],
},
colors: {
black: '#000d1a',
gray: colors.neutral,
primary: colors.rose,
},
},
debugScreens: {
position: ['bottom', 'right'],
borderTopLeftRadius: '4px',
printSize: false,
prefix: '',
},
},
plugins: [
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('tailwindcss-animate'),
require('tailwind-debug-breakpoints'),
],
}
export default withTV(TailwindConfig)