generated from divasilevski/nuxt-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
34 lines (29 loc) · 885 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
import type { Config } from 'tailwindcss'
import colors from './constants/palette'
import layout from './constants/layout'
export default <Partial<Config>>{
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
theme: {
extend: {
height: {
canvas: `${layout.canvasHeight}px`,
header: `${layout.headerHeight}px`,
},
colors: {
background: colors.background,
error: colors.error,
primaryDark: colors.primaryDark,
primary: colors.primary,
primaryLight: colors.primaryLight,
tertiary: colors.tertiary,
tertiaryLight: colors.tertiaryLight,
accent: colors.accent,
secondary: colors.secondary,
complementary: colors.complementary,
},
boxShadow: {
bottomSheet: '0px -2px 20px -12px rgba(0,0,0,0.4)',
},
},
},
}