56 lines
1.5 KiB
JavaScript
56 lines
1.5 KiB
JavaScript
const { parseColorMatrix } = require('./tailwind/colors');
|
|
|
|
module.exports = {
|
|
content: ['./app/**/*.{html,js,ts,tsx}'],
|
|
darkMode: 'class',
|
|
theme: {
|
|
screens: {
|
|
sm: '581px',
|
|
md: '768px',
|
|
lg: '976px',
|
|
xl: '1440px',
|
|
},
|
|
extend: {
|
|
fontSize: {
|
|
base: '0.9375rem',
|
|
},
|
|
fontFamily: {
|
|
'sans': [
|
|
'Inter',
|
|
'ui-sans-serif',
|
|
'system-ui',
|
|
'-apple-system',
|
|
'BlinkMacSystemFont',
|
|
'Segoe UI',
|
|
'Roboto',
|
|
'Helvetica Neue',
|
|
'Arial',
|
|
'Noto Sans',
|
|
'sans-serif',
|
|
'Apple Color Emoji',
|
|
'Segoe UI Emoji',
|
|
'Segoe UI Symbol',
|
|
'Noto Color Emoji',
|
|
],
|
|
},
|
|
colors: parseColorMatrix({
|
|
// Define color matrix (of available colors)
|
|
// Colors are configured at runtime with CSS variables in soapbox.json
|
|
gray: [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
|
|
primary: [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
|
|
success: [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
|
|
danger: [50, 100, 200, 300, 400, 500, 600, 700, 800, 900],
|
|
accent: [300, 500],
|
|
'gradient-purple': true,
|
|
'gradient-blue': true,
|
|
'sea-blue': true,
|
|
'bg-shape-1': true,
|
|
'bg-shape-2': true,
|
|
}),
|
|
},
|
|
},
|
|
plugins: [
|
|
require('@tailwindcss/forms'),
|
|
require('@tailwindcss/typography'),
|
|
],
|
|
};
|