Skip to main content

Tailwind Config Generator

Build your tailwind.config.js visually.
Customize colors, spacing, fonts, and breakpoints.

Custom Colors

Add custom colors with auto-generated shade scales (50-950).

...

Live Preview

Colors
Sample Component
Font Sizes

text-xxs: 0.625rem

tailwind.config.js

// tailwind.config.js
export default {
  theme: {
    extend: {
      colors: {
        brand: {
          '50': '#f0f6fe',
          '100': '#d7e5fd',
          '200': '#a4c5fb',
          '300': '#71a4f8',
          '400': '#3e84f6',
          '500': '#0b64f4',
          '600': '#0c50c0',
          '700': '#0b3d8e',
          '800': '#09295d',
          '900': '#05152e',
          '950': '#030a17',
        },
      },
      spacing: {
        '18': '4.5rem',
      },
      fontSize: {
        xxs: ['0.625rem', { lineHeight: '0.875rem' }],
      },
      fontFamily: {
        display: ['Inter', 'sans-serif'],
      },
      borderRadius: {
        sm: '0.125rem',
        DEFAULT: '0.25rem',
        md: '0.375rem',
        lg: '0.5rem',
        xl: '0.75rem',
        '2xl': '1rem',
        '3xl': '1.5rem',
      },
      screens: {
        sm: '640px',
        md: '768px',
        lg: '1024px',
        xl: '1280px',
        '2xl': '1536px',
      },
    },
  },
}