-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
83 lines (82 loc) · 1.87 KB
/
tailwind.config.ts
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
import type { Config } from 'tailwindcss';
import plugin from 'tailwindcss/plugin';
const config: Config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
content: ['DIN 2014'],
logo: ['Roboto Slab'],
},
fontWeight: {
semibold: '500',
},
colors: {
primary: {
content: {
default: '#000',
error: '#C1121F',
},
background: {
DEFAULT: '#FDF0D5',
dark: '#F7EBD2',
light: '#FDF5E4',
},
button: '#C1121F',
border: {
active: '#569FB6',
error: '#EA6771',
},
},
secondary: {
content: '#333',
background: {
DEFAULT: '#003049',
light: '#569FB6',
hover: '#004366',
},
},
brand: {
content: {
DEFAULT: '#C1121F',
inverse: '#FFF',
hover: '#DE1524',
},
border: '#C1121F',
},
neutral: {
content: {
DEFAULT: '#569FB6',
inverse: '#FDF0D5',
},
background: '#30829C',
},
},
boxShadow: {
light: '2px 2px 0px 0px rgba(0, 0, 0, 0.08)',
'form-inner': 'inset 0px 0px 4px rgba(0, 0, 0, 0.08)',
},
textShadow: {
DEFAULT: '2px 2px 0 rgba(0, 0, 0, 0.08)',
low: '1px 1px 0 rgba(0, 0, 0, 0.08)',
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') },
);
}),
],
};
export default config;