2022-06-05 20:34:29 +02:00
|
|
|
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%)',
|
|
|
|
};
|
|
|
|
|
2020-07-03 22:55:33 +02:00
|
|
|
module.exports = {
|
2022-06-05 20:34:29 +02:00
|
|
|
content: [
|
|
|
|
'./resources/scripts/**/*.{js,ts,tsx}',
|
|
|
|
],
|
2020-07-03 22:55:33 +02:00
|
|
|
theme: {
|
2020-07-04 18:28:03 +02:00
|
|
|
extend: {
|
2022-06-05 20:34:29 +02:00
|
|
|
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,
|
|
|
|
},
|
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
|
|
|
}),
|
|
|
|
},
|
2020-07-03 22:55:33 +02:00
|
|
|
},
|
2020-12-26 19:41:25 +01:00
|
|
|
plugins: [
|
2022-06-12 15:09:01 +02:00
|
|
|
require('@tailwindcss/line-clamp'),
|
2022-06-05 20:34:29 +02:00
|
|
|
require('@tailwindcss/forms')({
|
|
|
|
strategy: 'class',
|
|
|
|
}),
|
2020-12-26 19:41:25 +01:00
|
|
|
]
|
2020-07-03 22:55:33 +02:00
|
|
|
};
|