-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
56 lines (53 loc) · 1.48 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
const { fontFamily } = require('tailwindcss/defaultTheme');
const plugin = require('tailwindcss/plugin');
/** @type {import('tailwindcss').Config} */
const backfaceVisibility = plugin(({ addUtilities }) => {
addUtilities({
'.backface-hidden': {
'-moz-backface-visibility': 'hidden',
'-ms-backface-visibility': 'hidden',
'-webkit-backface-visibility': 'hidden',
'backface-visibility': 'hidden',
},
'.backface-visible': {
'-moz-backface-visibility': 'visible',
'-ms-backface-visibility': 'visible',
'-webkit-backface-visibility': 'visible',
'backface-visibility': 'visible',
},
});
});
module.exports = {
content: [
'./src/app/**/*.{js,ts,jsx,tsx}',
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
plugins: [require('@tailwindcss/forms'), backfaceVisibility],
theme: {
extend: {
colors: {
brand: {
100: '#4EDA7A',
200: '#2CD360',
300: '#25B151',
400: '#1E9041',
50: '#5FDE86',
500: '#176E32',
600: '#0D401D',
700: '#041108',
DEFAULT: '#176E32',
800: '#000000',
900: '#000000',
},
},
fontFamily: {
sans: ['var(--font-lexend)', ...fontFamily.sans],
'sans-alt': ['MADE Dillan Regular', ...fontFamily.sans],
},
gridTemplateColumns: {
'my-grid': 'repeat(auto-fill, minmax(250px, 1fr))',
},
},
},
};