1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00
Pterodactyl-Panel/tailwind.config.js

37 lines
1.0 KiB
JavaScript
Raw Normal View History

const colors = require('tailwindcss/colors');
module.exports = {
2022-11-25 21:25:03 +01:00
content: ['./resources/scripts/**/*.{js,ts,tsx}'],
theme: {
2020-07-04 18:28:03 +02:00
extend: {
fontFamily: {
header: ['"IBM Plex Sans"', '"Roboto"', 'system-ui', 'sans-serif'],
},
colors: {
black: '#131a20',
slate: colors.slate,
// "primary" and "neutral" are deprecated, prefer the use of "blue" and "gray"
// in new code.
primary: colors.blue,
neutral: colors.slate,
cyan: colors.cyan,
},
2020-07-04 18:28:03 +02:00
fontSize: {
'2xs': '0.625rem',
},
2020-07-04 19:15:06 +02:00
transitionDuration: {
250: '250ms',
},
2020-07-04 18:28:03 +02:00
borderColor: theme => ({
2020-12-26 18:50:09 +01:00
default: theme('colors.neutral.400', 'currentColor'),
2020-07-04 18:28:03 +02:00
}),
},
},
plugins: [
2022-06-12 15:09:01 +02:00
require('@tailwindcss/line-clamp'),
require('@tailwindcss/forms')({
strategy: 'class',
}),
2022-11-25 21:25:03 +01:00
],
};