-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
85 lines (83 loc) · 1.73 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
const defaultTheme = require('tailwindcss/defaultTheme');
const plugin = require('tailwindcss/plugin');
const tailwindBoottrapGrid = require('tailwind-bootstrap-grid');
/** Backface Visibility Plugin. */
const backfaceVisibility = plugin(({ addUtilities }) => {
addUtilities({
'.backface-visible': {
'backface-visibility': 'visible',
},
'.backface-hidden': {
'backface-visibility': 'hidden',
},
});
});
/**
* Tailwind config object.
*/
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/templates/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
'./src/pages/**/*.{css,scss}',
'./src/templates/**/*.{css,scss}',
'./src/components/**/*.{css,scss}',
'./src/styles/**/*.{css,scss}',
],
theme: {
extend: {
screens: {
sm: '576px',
md: '768px',
lg: '992px',
xl: '1200px',
xxl: '1400px',
xxxl: '1800px',
},
colors: {
primary: {
50: '#DCEDFF',
100: '#AECDFF',
200: '#7DB0FF',
300: '#4A97FF',
400: '#1A80FF',
500: '#006FE6',
600: '#004AB4',
700: '#002C82',
800: '#001551',
900: '#000421',
},
'dark-gray': {
50: '#ECF1FB',
100: '#CFD5E3',
200: '#B0B9CD',
300: '#919DB9',
400: '#7281A5',
500: '#59678B',
600: '#45506D',
700: '#31394E',
800: '#131720',
900: '#090B15',
},
social: {
facebook: '#1877F2',
google: '#EA4335',
instagram: '#405DE6',
twitter: '#1DA1F2',
youtube: '#FF0000',
},
},
fontFamily: {
sans: ['var(--font-rubik)', ...defaultTheme.fontFamily.sans],
},
},
},
variants: {
extend: {},
},
corePlugins: {
container: false,
},
plugins: [tailwindBoottrapGrid(), backfaceVisibility],
};