-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.js
118 lines (118 loc) · 3.9 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./resources/js/**/*.vue', './resources/views/**/*.blade.php'],
darkMode: 'class',
theme: {
extend: {
colors: {
primary: { DEFAULT: '#7567CE', light: '#8172e0', dark: '#6456b8' },
light: {
surface: {
background: '#F9FAFB',
primary: '#FFFFFF',
brand: {
DEFAULT: '#7567CE',
alpha: '#B2A4FF1A',
},
},
stroke: {
DEFAULT: '#E7E9EC',
strong: '#D7D8D9',
},
content: {
DEFAULT: '#5B5E68',
strong: '#1B1D27',
brand: '#7567CE',
selected: '#9281EF',
},
btn: {
background: {
DEFAULT: '#FFFFFF',
hover: '#9281EF',
brand: {
DEFAULT: '#7567CE',
hover: '#9281EF',
},
},
},
},
dark: {
surface: {
background: '#1B1D27',
primary: '#2A2C36',
},
stroke: {
DEFAULT: '#3A3C46',
strong: '#3A3C46',
},
content: {
DEFAULT: '#FFFFFF',
strong: '#FFFFFF',
brand: '#B2A4FF',
selected: '#9281EF',
},
btn: {
background: {
DEFAULT: '#FFFFFF',
hover: '#9281EF',
brand: {
DEFAULT: '#B2A4FF',
hover: '#9281EF',
},
},
},
},
},
keyframes: {
'fade-in': {
from: {
opacity: '0',
},
to: {
opacity: '1',
},
},
'fade-out': {
from: {
opacity: '1',
},
to: {
opacity: '0',
},
},
'slide-in': {
from: {
transform: 'translateX(-100%)',
},
to: {
transform: 'translateX(0)',
},
},
'slide-in-left': {
from: {
transform: 'translateX(100%)',
},
to: {
transform: 'translateX(0)',
},
},
'slide-out': {
from: {
transform: 'translateX(0)',
},
to: {
transform: 'translateX(100%)',
},
},
},
animation: {
'fade-in': 'fade-in 0.2s ease-in',
'fade-out': 'fade-out 0.2s ease-out',
'slide-in': 'slide-in 0.2s ease-in',
'slide-in-left': 'slide-in-left 0.2s ease-in',
'slide-out': 'slide-out 0.2s ease-out',
},
},
},
plugins: [require('@tailwindcss/forms')],
};