Skip to main content
DevReady Kit uses composable props and Tailwind classes for theming. You can customize the appearance of components in several ways:

Method 1: Passing className

The simplest way to customize components is by passing a className prop:

Method 2: Extending Tailwind Config

Customize the design system by extending your Tailwind configuration:

Method 3: CSS Variables

Override component styles using CSS variables:

Method 4: Wrapper Components

Create wrapper components with your design tokens:

Component-Specific Theming

Buttons

Inputs

Cards and Containers

Best Practices

  1. Consistency: Use a consistent color palette across your application
  2. Accessibility: Ensure sufficient contrast ratios for text and backgrounds
  3. Performance: Avoid overly complex CSS that might impact performance
  4. Maintainability: Use design tokens or CSS variables for easy updates

Examples

Brand Colors

Custom Component Library