Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/tailwind.config.js
7382 views
1
const colors = require('tailwindcss/colors');
2
3
const gray = {
4
50: 'hsl(216, 33%, 97%)',
5
100: 'hsl(214, 15%, 91%)',
6
200: 'hsl(210, 16%, 82%)',
7
300: 'hsl(211, 13%, 65%)',
8
400: 'hsl(211, 10%, 53%)',
9
500: 'hsl(211, 12%, 43%)',
10
600: 'hsl(209, 14%, 37%)',
11
700: 'hsl(209, 18%, 30%)',
12
800: 'hsl(209, 20%, 25%)',
13
900: 'hsl(210, 24%, 16%)',
14
};
15
16
module.exports = {
17
content: [
18
'./resources/scripts/**/*.{js,ts,tsx}',
19
],
20
theme: {
21
extend: {
22
fontFamily: {
23
header: ['"IBM Plex Sans"', '"Roboto"', 'system-ui', 'sans-serif'],
24
},
25
colors: {
26
black: '#131a20',
27
// "primary" and "neutral" are deprecated, prefer the use of "blue" and "gray"
28
// in new code.
29
primary: colors.blue,
30
gray: gray,
31
neutral: gray,
32
cyan: colors.cyan,
33
},
34
fontSize: {
35
'2xs': '0.625rem',
36
},
37
transitionDuration: {
38
250: '250ms',
39
},
40
borderColor: theme => ({
41
default: theme('colors.neutral.400', 'currentColor'),
42
}),
43
},
44
},
45
plugins: [
46
require('@tailwindcss/line-clamp'),
47
require('@tailwindcss/forms')({
48
strategy: 'class',
49
}),
50
]
51
};
52
53