forked from code4romania/practice-for-good
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
126 lines (124 loc) · 2.77 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
119
120
121
122
123
124
125
126
// /** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
screens: {
xs: '300px',
...defaultTheme.screens,
},
colors: {
current: 'currentColor',
transparent: 'transparent',
black: {
DEFAULT: '#000000',
800: '#262626',
},
white: '#FFFFFF',
blue: '#0000FA',
yellow: {
DEFAULT: '#FFEB4F',
50: '#FFFDE7',
100: '#FFF9C4',
200: '#FFF59D',
300: '#FFF176',
400: '#FFEE58',
500: '#FDED5A',
600: '#FDD835',
700: '#FBC02D',
800: '#F9A825',
900: '#F57F17',
},
gray: {
50: '#F1F1F1',
100: '#F7F7F7',
200: '#E5E7EB',
300: '#E6EDF4',
400: '#828282',
500: '#6B7280',
700: '#374159',
900: '#151926',
1000: '#656F95',
},
purple: {
DEFAULT: '#6543C8',
100: '#efebf9',
500: '#6e4dcb',
},
red: {
50: '#FEF2F2',
100: '#FEE2E2',
200: '#FECACA',
300: '#FCA5A5',
400: '#F87171',
500: '#EF4444',
600: '#DC2626',
700: '#B91C1C',
800: '#991B1B',
900: '#7F1D1D',
},
},
extend: {
flex: {
2: '2 2 0%',
},
fontFamily: {
roboto: 'Roboto',
titilliumBold: 'TitilliumWeb-Bold',
titilliumSemiBold: 'TitilliumWeb-SemiBold',
titillium: 'TitilliumWeb-Regular',
},
boxShadow: {
card: '0px 4px 10px rgba(0, 0, 0, 0.1)',
input: 'inset 0 0 0 2px #6543c8',
},
fontSize: {
xxs: [
'0.7rem',
{
lineHeight: '1rem',
},
],
xs: [
'0.75rem',
{
lineHeight: '1.4rem',
},
],
sm: [
'0.8rem',
{
lineHeight: '1.5rem',
},
],
base: [
'1rem',
{
lineHeight: '1.75rem',
},
],
medium: [
'1.25rem',
{
lineHeight: '1.5rem',
fontWeight: '600',
},
],
},
screens: {
'3xl': '1700px',
},
backgroundImage: {
shape: 'url(./assets/images/shape-background.svg)',
search: 'url(./assets/images/background-search-image.webp)',
},
gridTemplateColumns: {
'cards-desktop': 'repeat(auto-fill, minmax(20rem, 1fr))',
'cards-tablet': 'repeat(auto-fill, minmax(17rem, 1fr))',
'cards-mobile': 'repeat(auto-fill, minmax(15rem, 1fr))',
},
},
},
plugins: [],
};