tailwind.config.js 922 B

1234567891011121314151617181920212223242526
  1. // Static parse only: if this file were executed, the sentinel below would be written.
  2. const colors = require('tailwindcss/colors');
  3. require('node:fs').writeFileSync(require('node:path').join(__dirname, 'EXECUTED'), 'x');
  4. /** @type {import('tailwindcss').Config} */
  5. module.exports = {
  6. content: ['./src/**/*.{html,tsx}'],
  7. theme: {
  8. extend: {
  9. colors: {
  10. primary: { DEFAULT: '#d1495b', 600: "#b23a4b" },
  11. slate: colors.slate,
  12. sand: `#${'e9dcc9'}`,
  13. current: 'currentColor',
  14. surface: 'hsl(var(--surface) / <alpha-value>)',
  15. },
  16. fontFamily: {
  17. display: ['Fraunces', 'Georgia', 'serif'],
  18. mono: ['"JetBrains Mono"', 'ui-monospace', 'monospace'],
  19. },
  20. spacing: { 18: '4.5rem' },
  21. borderRadius: { xl: '1rem', DEFAULT: '6px', lg: 'var(--radius)', md: 'calc(var(--radius) - 2px)' },
  22. },
  23. },
  24. plugins: [require('@tailwindcss/forms')],
  25. };