-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
100 lines (100 loc) · 2.23 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
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: 'jit',
media: false,
content: ['./pages/**/*.{js,ts,tsx}', './components/**/*.{js,ts,tsx}'],
theme: {
extend: {
colors: {
error: {
dark: '#fd010169',
secondary: '#e14040d8',
DEFAULT: '#ee7c78',
},
dimmed: 'rgba(255, 255, 255, 0.5)',
success: '#47ee61',
},
transitionProperty: {
['cubic-bezier']: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',
},
borderColor: {
greyish: 'rgba(102, 102, 102, 0.35)',
},
placeholderColor: {
white: '#fff',
},
gridTemplateAreas: {
'cartMobile': [
'summary',
'products',
'checkout',
'payments',
],
'cartDesktop': [
'summary checkout',
'products checkout',
'products payments',
'products ...',
],
},
gridTemplateColumns: {
'cartDesktop': '2fr 1fr',
'cartEntryImages': '2rem 6rem 1fr',
},
},
colors: {
blue: {
dark: '#1a28f1dc',
DEFAULT: '#2f82ff',
darkish: '#0000ff34',
darker: '#40404d',
light: '#2596be',
},
orange: '#fd7c5a',
yellow: {
DEFAULT: '#fac80f',
light: '#facf19',
},
green: {
DEFAULT: '#3c811f',
light: '#3dbb56',
},
red: {
dark: '#8B0000',
DEFAULT: '#f15f6f',
},
grey: {
dark: '#666',
lighter: '#999',
light: '#ccc',
DEFAULT: '#f8f8f8',
},
pink: '#ffecea',
violet: '#5a31f4',
white: {
dark: '#eee',
darker: '#e5e5e5',
light: '#f6f6f6',
DEFAULT: '#fff',
},
black: {
lighter: '#333',
light: '#222',
DEFAULT: '#000',
},
transparent: 'transparent',
current: 'currentColor',
},
boxShadow: {
sm: 'rgba(99, 99, 99, 0.1) 0px 0px 4px 0px',
md: 'rgba(99, 99, 99, 0.2) 0px 2px 8px 0px',
},
},
plugins: [
require('@tailwindcss/line-clamp'),
require('@savvywombat/tailwindcss-grid-areas'),
],
variants: {
gridTemplateAreas: ['responsive'],
},
};