-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
61 lines (60 loc) · 1.6 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
const flowbite = require("flowbite-react/tailwind");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,ts,jsx,tsx,mdx}",
flowbite.content(),
],
theme: {
extend: {
animation: {
cursor: 'cursor .6s linear infinite alternate',
type: 'type 1.8s ease-out .8s 1 normal both',
'type-reverse': 'type 1.8s ease-out 0s infinite alternate-reverse both',
},
colors: {
'tourLightOrange': '#ff8040',
'tourDarkBlue': '#293847',
'tourOrange': '#fa4517',
'tourRed': 'd12630'
},
fontFamily: {
'wa-bold': ['var(--font-wa-bold)'],
'wa-regular': ['var(--font-wa-regular)'],
'wa-headline': ['var(--font-wa-headline)'],
},
typography: (theme) => ({
DEFAULT: {
css: {
color: theme('colors.white'),
h1: {
color: theme('colors.white'),
},
h2: {
color: theme('colors.white'),
},
h3: {
color: theme('colors.white'),
},
h4: {
color: theme('colors.white'),
},
th: {
color: theme('colors.white'),
},
strong: {
color: theme('colors.white'),
},
a: {
color: theme('colors.tourLightOrange'),
},
},
},
})
},
},
corePlugins: {
aspectRatio: false,
},
plugins: [require('@tailwindcss/aspect-ratio'), require('@tailwindcss/typography'), flowbite.plugin()],
}