mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-25 13:46:07 +00:00
# Description This PR adds support for customizing graphics themes in the `ThemeCustomizer` component. Users can now select and copy chart colors (`chart-1`, `chart-2`, `chart-3`, `chart-4`, `chart-5`) along with other themes. ## Changes Implemented 1. **Themes Update**: Added chart themes (`chart-1`, `chart-2`, `chart-3`, `chart-4`, `chart-5`) to the chart file. themes configuration (`themes.ts`). 2. **Modification of the `ThemeCustomizer` Component**: The new graphics themes were integrated into the component so that they can be selected and copied. 3. **CSS Tweak**: Updated the functions that generate CSS code to include the new graphics themes. ## How to Test 1. Run the project locally. 2. Navigate to the `ThemeCustomizer` component. 3. Verify that the new graphics themes are available for selection. 4. Test the functionality of copying the CSS code and making sure it includes the graphics colors. ## References - Added support for graphics themes based on defaults provided by Shadcn.