mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 22:59:14 +00:00
## Summary Consolidates Tailwind configuration and styles into a shared `@comfyorg/design-system` package for reuse across monorepo apps. The goal was not to make changes to how the design system works; merely to separate it cleanly. I _would_ strongly recommend some drastic sweeping changes, however I believe that should be done after the migration. ## Changes - **What**: Migrates CSS files, Tailwind config, and custom icons to design-system package - **Dependencies**: Moves `@iconify-json/lucide` and `@iconify/tailwind` to design-system package
27 lines
606 B
TypeScript
27 lines
606 B
TypeScript
import lucide from '@iconify-json/lucide/icons.json' with { type: 'json' }
|
|
import { addDynamicIconSelectors } from '@iconify/tailwind'
|
|
|
|
import { iconCollection } from './src/iconCollection'
|
|
|
|
export default {
|
|
content: [],
|
|
safelist: [
|
|
'icon-[lucide--folder]',
|
|
'icon-[lucide--package]',
|
|
'icon-[lucide--image]',
|
|
'icon-[lucide--video]',
|
|
'icon-[lucide--box]',
|
|
'icon-[lucide--audio-waveform]',
|
|
'icon-[lucide--message-circle]'
|
|
],
|
|
plugins: [
|
|
addDynamicIconSelectors({
|
|
iconSets: {
|
|
comfy: iconCollection,
|
|
lucide
|
|
},
|
|
prefix: 'icon'
|
|
})
|
|
]
|
|
}
|