-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
63 lines (61 loc) · 1.34 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
/** @type {import('tailwindcss').Config} */
import colors from 'tailwindcss/colors';
import plugin from 'tailwindcss/plugin';
export default {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
corePlugins: {
container: false
},
theme: {
extend: {
colors: {
primary: '#FFC138',
secondary: {
50: '#e5eeff',
100: '#d0e0ff',
200: '#abc4ff',
300: '#799cff',
400: '#4562ff',
500: '#1c2aff',
600: '#0001ff',
700: '#0004ff',
800: '#0004dd',
900: '#02024d',
950: '#121230'
},
accent: '#11E07D',
'accent-dark': '#058547',
surface: '#D9D9D9',
black: colors.black,
gray: colors.gray,
white: colors.white
}
},
},
plugins: [
plugin(({ addBase, theme }) => {
addBase({
html: { color: theme('colors.secondary.900') }
});
}),
plugin(({ addComponents }) =>
addComponents({
'.container': {
maxWidth: '100%',
'@screen sm': {
maxWidth: '640px'
},
'@screen md': {
maxWidth: '768px'
},
'@screen lg': {
maxWidth: '944px'
},
'@screen xl': {
maxWidth: '1280px'
}
}
})
)
]
};