-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.js
65 lines (63 loc) · 1.63 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
62
63
64
const colors = require('tailwindcss/colors')
export default {
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./app.vue",
"./error.vue",
"./node_modules/flowbite/**/*.{js,ts}",
],
theme: {
extend: {
filter: {
'invert-0': 'invert(0)',
'brightness-0': 'brightness(0)',
},
aria: {
current: 'current="true"'
},
colors: {
...colors,
primary: { // Using https://uicolors.app/create on our primary #6e41e2
50: '#f4f4fe',
100: '#eceafd',
200: '#dcd8fc',
300: '#c0b9f9',
400: '#a191f4',
500: '#8365ed',
600: '#6e41e2',
700: '#6132cf',
800: '#512aad',
900: '#45248e',
950: '#281560',
DEFAULT: '#6e41e2'
},
secondary: colors.teal,
rose: colors.rose
},
animation: {
'infinite-scroll': 'infinite-scroll 40s linear infinite',
'infinite-scroll-30': 'infinite-scroll 30s linear infinite',
'infinite-scroll-right-30': 'infinite-scroll-right 30s linear infinite',
},
keyframes: {
'infinite-scroll': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(-100%)' },
},
'infinite-scroll-right': {
from: { transform: 'translateX(0)' },
to: { transform: 'translateX(100%)' },
},
}
}
},
plugins: [
require('flowbite/plugin')
],
safelist: [
{ pattern: /^bg-/, variants: ['hover', 'focus'] },
],
}