This pull request introduces enhancements to the Tailwind configuration for better color management and utility across the project. It leverages Tailwind's utilities to flatten color palettes and dynamically generate CSS variables for all Tailwind colors, making them globally accessible across the application.
Summary
Added a dependency on flattenColorPalette from tailwindcss/lib/util to process the Tailwind color palette.
Implemented a custom function addVariablesForColors that converts Tailwind's color configuration into CSS variables.
Integrated addVariablesForColors as a plugin within the Tailwind configuration to automatically generate and apply these variables.
Ensured that all changes are compatible with existing configurations by carefully extending the tailwind.config.ts file.
These enhancements aim to streamline the use of color within the UI, promoting consistency and ease of maintenance.
Fixes #1.
🎉 Latest improvements to Sweep:
New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
PR Feedback (click)
Description
This pull request introduces enhancements to the Tailwind configuration for better color management and utility across the project. It leverages Tailwind's utilities to flatten color palettes and dynamically generate CSS variables for all Tailwind colors, making them globally accessible across the application.
Summary
flattenColorPalette
fromtailwindcss/lib/util
to process the Tailwind color palette.addVariablesForColors
that converts Tailwind's color configuration into CSS variables.addVariablesForColors
as a plugin within the Tailwind configuration to automatically generate and apply these variables.tailwind.config.ts
file.These enhancements aim to streamline the use of color within the UI, promoting consistency and ease of maintenance.
Fixes #1.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can:
This is an automated message generated by Sweep AI.