PteroTheme/tailwind.config.js

65 lines
1.9 KiB
JavaScript
Raw Permalink Normal View History

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: {
2020-07-04 17:28:03 +01:00
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,
2023-08-05 12:35:01 +01:00
orange: colors.orange,
gray: gray,
neutral: gray,
cyan: colors.cyan,
2023-07-08 21:54:58 +01:00
neutral: {
2023-07-09 02:02:17 +01:00
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',
2023-07-08 21:54:58 +01:00
800: '#212121',
900: '#121212',
}
},
2020-07-04 17:28:03 +01:00
fontSize: {
'2xs': '0.625rem',
},
2020-07-04 18:15:06 +01:00
transitionDuration: {
250: '250ms',
},
2020-07-04 17:28:03 +01:00
borderColor: theme => ({
2020-12-26 17:50:09 +00:00
default: theme('colors.neutral.400', 'currentColor'),
2020-07-04 17:28:03 +01:00
}),
},
},
plugins: [
2022-06-12 14:09:01 +01:00
require('@tailwindcss/line-clamp'),
require('@tailwindcss/forms')({
strategy: 'class',
}),
]
};