Skip to content

Tailwind Preset for Colors #21

@garrettbear

Description

@garrettbear

Description

The goal is to create a Tailwind CSS preset that integrates only color design tokens from our design system. This will ensure that our brand colors are consistently applied across all projects using Tailwind CSS, making it easier to maintain and update the color palette across the codebase.

Technical Details

  • Extract only the color design tokens from our existing design system.
  • The Tailwind preset should extend the default color palette with our custom color tokens.
  • Update the tailwind.config.js to integrate the color tokens into Tailwind's theme.
  • Ensure the color tokens are properly mapped to Tailwind’s color utility classes (e.g., text-primary, bg-secondary).
  • The preset should be easily maintainable so updates to the color tokens can be applied centrally.

Acceptance Criteria

  • A Tailwind preset is created that integrates the color design tokens.
  • The preset can be easily included in any project using Tailwind.
  • The color tokens are correctly applied and available as utility classes in the Tailwind theme.
  • Documentation is provided on how to integrate this color preset into a new project.

References

  • Existing design token documentation for colors.
  • Tailwind CSS configuration documentation.
  • Links to any prior discussions around color token integration.

This ticket focuses on ensuring the seamless integration of color design tokens into the Tailwind CSS framework for consistent branding.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions