forked from vaionex/openft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
executable file
·73 lines (71 loc) · 1.84 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
const plugin = require('tailwindcss/plugin')
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
important: true,
theme: {
extend: {
fontFamily: {
base: ['Inter', 'sans-serif'],
},
colors: {
mirage: '#101828',
mist: '#667085',
bluewood: '#344054',
azul: '#155EEF',
ultramarine: '#2d6ff1',
'vista-white': '#F9FAFB',
},
screens: {
xs: '475px',
'2xlg': '1200px',
'3xlg': '1364px',
},
backgroundImage: {
'checkbox-icon':
'url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDNMNC41IDguNUwyIDYiIHN0cm9rZT0iIzE1NUVFRiIgc3Ryb2tlLXdpZHRoPSIxLjY2NjYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4KCg==")',
'registration-bg': 'url("/images/register-bg.webp")',
'reset-password-bg': 'url("/images/reset-password-bg.webp")',
},
},
aspectRatio: {
auto: 'auto',
square: '1 / 1',
video: '16 / 9',
1: '1',
2: '2',
3: '3',
4: '4',
5: '5',
6: '6',
7: '7',
8: '8',
9: '9',
10: '10',
11: '11',
12: '12',
13: '13',
14: '14',
15: '15',
16: '16',
},
variants: {
aspectRatio: ['responsive', 'hover'],
},
},
corePlugins: {
aspectRatio: false,
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
plugin(function ({ addUtilities, addComponents }) {
const utilities = {
'.border-gray-gradient': {
borderImage:
'linear-gradient(to bottom, #3F4C71, rgba(255,255,255, 0)) 1 stretch',
},
}
addUtilities(utilities)
}),
],
}