-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
44 lines (43 loc) · 1.18 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
34
35
36
37
38
39
40
41
42
43
44
/* eslint-disable @typescript-eslint/no-var-requires */
const defaultTheme = require('tailwindcss/defaultTheme')
const defaultColor = require('tailwindcss/colors')
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Plus Jakarta Sans', 'Inter UI', ...defaultTheme.fontFamily.sans],
mono: ['JetBrains Mono', ...defaultTheme.fontFamily.mono]
},
screens: {
standalone: { raw: '(display-mode: standalone)' }
},
colors: {
gray: defaultColor.neutral,
primary: defaultColor.blue,
secondary: defaultColor.indigo,
rose: defaultColor.rose
},
typography: (theme) => ({
default: {
css: {
color: theme('colors.gray.700'),
a: {
color: theme('colors.primary.500'),
'&:hover': {
color: theme('colors.primary.600')
}
}
}
}
})
}
},
plugins: [
// Additional first-party plugins
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/line-clamp')
]
}