forked from pelican-dev/panel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
51 lines (49 loc) · 1.36 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
const colors = require('tailwindcss/colors');
const gray = {
50: 'hsl(216, 33%, 97%)',
100: 'hsl(214, 15%, 91%)',
200: 'hsl(210, 16%, 82%)',
300: 'hsl(211, 13%, 65%)',
400: 'hsl(211, 10%, 53%)',
500: 'hsl(211, 12%, 43%)',
600: 'hsl(209, 14%, 37%)',
700: 'hsl(209, 18%, 30%)',
800: 'hsl(209, 20%, 25%)',
900: 'hsl(210, 24%, 16%)',
};
module.exports = {
content: [
'./resources/scripts/**/*.{js,ts,tsx}',
],
theme: {
extend: {
fontFamily: {
header: ['"IBM Plex Sans"', '"Roboto"', 'system-ui', 'sans-serif'],
},
colors: {
black: '#131a20',
// "primary" and "neutral" are deprecated, prefer the use of "blue" and "gray"
// in new code.
primary: colors.blue,
gray: gray,
neutral: gray,
cyan: colors.cyan,
},
fontSize: {
'2xs': '0.625rem',
},
transitionDuration: {
250: '250ms',
},
borderColor: theme => ({
default: theme('colors.neutral.400', 'currentColor'),
}),
},
},
plugins: [
require('@tailwindcss/line-clamp'),
require('@tailwindcss/forms')({
strategy: 'class',
}),
]
};