generated from DTS-STN/next-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
118 lines (118 loc) · 2.87 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
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
fontFamily: {
display: ['var(--lato-font)', '"Open Sans"', 'sans-serif'],
body: ['var(--noto-sans-font)', 'sans-serif'],
},
screens: {
'xs': '376px',
...defaultTheme.screens,
'2xl': '1920px',
},
extend: {
fontSize: {
'20px': ['20px', '33px'],
'32px': ['32px', '35px'],
'34px': ['34px', '38px'],
'36px': ['36px', '40px'],
'38px': ['38px', '42px'],
'46px': ['46px'],
},
padding: {
'5px': '5px',
'15px': '15px',
'18px': '18px',
'10.5': '42px',
'15': '60px',
},
margin: {
'5px': '5px',
'15px': '15px',
},
colors: {
'gray': {
'lightest': '#F5F5F5',
'lighter': '#F3F3F3',
'light': '#DBDBDB',
'medium': '#C4C4C4',
'dark': '#7F8C8D',
'darker': '#333333',
'30a': '#EAEBED',
'40': '#DDDDDD',
'50a': '#CFD1D5',
'60': '#BBBFC5',
},
'bright-blue': {
light: '#78B9E4',
lighter: '#93D0FF',
medium: '#0069AD',
dark: '#245C81',
pale: '#EBF2FC',
},
'brighter-blue': {
light: '#DBE5F2',
medium: '#D9EDF7',
dark: '#269ABC',
},
'blue': {
hover: '#0535D2',
default: '#2B4380',
pressed: '#16446C',
primary: '#26374A',
},
'deep-blue': {
'light': '#5E8EBD',
'medium': '#173451',
'dark': '#284162',
'60b': '#335075',
'60d': '#295376',
'60f': '#0E62C9',
'focus': '#1c578a',
'active': '#21303F',
},
'red': {
'light': '#B76565',
'medium': '#D94141',
'dark': '#881515',
'50': '#BC3331',
'red50a': '#AF3C43',
'50b': '#D3080C',
'70': '#942826',
},
'yellow': {
light: '#F9F4DA',
},
'orange': {
light: '#EE710027',
medium: '#EE710080',
dark: '#EE7100',
},
'green': {
'light': '#A3D88180',
'medium': '#A3D881',
'dark': '#65B234',
'50': '#318000',
'50a': '#278400',
'70': '#1D4D00',
'90': '#102900',
},
'purple': {
'50a': '#7834BC',
},
},
backgroundImage: () => ({
'footer-parliament-image': 'url(../public/landscape.png)',
'splash-page': 'url(../public/sp-bg-1.jpg)',
}),
boxShadow: {
card: '0px 2px 8px rgba(0, 0, 0, 0.25)',
},
},
},
plugins: [require('@tailwindcss/typography')],
}