-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
55 lines (52 loc) · 1.22 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
import type { Config } from 'tailwindcss';
// eslint-disable-next-line import/no-extraneous-dependencies
import colors from 'tailwindcss/colors';
const navyColor = {
50: '#E7E9EF',
100: '#C2C9D6',
200: '#A3ADC2',
300: '#697A9B',
400: '#5C6B8A',
450: '#465675',
500: '#384766',
600: '#313E59',
700: '#26334D',
750: 'rgb(34,46,69)',
800: '#202B40',
900: '#192132',
};
const customColors = {
navy: navyColor,
'slate-150': '#E9EEF5',
primary: colors.indigo['600'],
'primary-focus': colors.indigo['700'],
'secondary-light': '#ff57d8',
secondary: '#F000B9',
'secondary-focus': '#BD0090',
'accent-light': colors.indigo['400'],
accent: '#5f5af6',
'accent-focus': '#4d47f5',
info: colors.sky['500'],
'info-focus': colors.sky['600'],
success: colors.emerald['500'],
'success-focus': colors.emerald['600'],
warning: '#ff9800',
'warning-focus': '#e68200',
error: '#ff5724',
'error-focus': '#f03000',
};
const config: Config = {
darkMode: 'class',
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
colors: { ...customColors },
},
},
plugins: [],
};
export default config;