forked from pterodactyl/panel
-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathtailwind.config.js
64 lines (62 loc) · 1.85 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
const colors = require('tailwindcss/colors');
const gray = {
50: colors.neutral[50],
100: colors.neutral[100],
200: colors.neutral[200],
300: colors.neutral[300],
400: colors.neutral[400],
500: colors.neutral[500],
600: colors.neutral[600],
700: colors.neutral[700],
800: colors.neutral[800],
900: colors.neutral[900],
};
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,
orange: colors.orange,
gray: gray,
neutral: gray,
cyan: colors.cyan,
neutral: {
50: colors.neutral[50],
100: colors.neutral[100],
200: colors.neutral[200],
300: colors.neutral[300],
400: colors.neutral[400],
500: colors.neutral[500],
600: colors.neutral[600],
700: '#17171B',
800: '#212121',
900: '#121212',
}
},
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',
}),
]
};