-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
60 lines (56 loc) · 1.64 KB
/
tailwind.config.cjs
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
const withAnimations = require('animated-tailwindcss')
const config = {
content: ['./src/**/*.{html,js,svelte,ts}'],
safelist: [
'from-default-banner-primary',
'to-default-banner-secondary',
'from-inactive-banner-primary',
'to-inactive-banner-secondary',
'from-partner-banner-primary',
'to-partner-banner-secondary',
'from-parent-banner-primary',
'to-parent-banner-secondary',
'from-child-banner-primary',
'to-child-banner-secondary',
'from-sibling-banner-primary',
'to-sibling-banner-secondary',
'bg-default-background',
'bg-inactive-background',
'bg-partner-background',
'bg-parent-background',
'bg-child-background',
'bg-sibling-background'
],
theme: {
extend: {
colors: {
'default-banner-primary': '#964CFF',
'default-banner-secondary': '#4433FF',
'inactive-banner-primary': '#A6A6A6',
'inactive-banner-secondary': '#999999',
'partner-banner-primary': '#FF3399',
'partner-banner-secondary': '#FF4C4D',
'parent-banner-primary': '#D5FF00',
'parent-banner-secondary': '#00CC21',
'child-banner-primary': '#FA00FF',
'child-banner-secondary': '#9E00E8',
'sibling-banner-primary': '#FF5C00',
'sibling-banner-secondary': '#FAFF00'
},
backgroundImage: {
'default-background': 'url(./default.jpg)',
'inactive-background': 'url(./inactive.jpg)',
'partner-background': 'url(./partner.jpg)',
'parent-background': 'url(./parent.jpg)',
'child-background': 'url(./child.jpg)',
'sibling-background': 'url(./sibling.jpg)'
},
fontSize: {
title: ['12px', '14px'],
sub: ['8px', '10px']
}
}
},
plugins: []
}
module.exports = withAnimations(config)