mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 14:54:37 +00:00
## Summary Remove the mix of class based and component style icons in favor of just [classes](https://iconify.design/docs/usage/css/tailwind/tailwind4/#basic-usage). ## Changes - **What**: Migrate existing lucide icons ## Review Focus What differs between the icons before and now? ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-5947-Style-Standardize-icon-use-Part-1-2846d73d365081bfa66ceb6bdaa9ff02) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <github-actions@github.com>
18 lines
376 B
TypeScript
18 lines
376 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 {
|
|
plugins: [
|
|
addDynamicIconSelectors({
|
|
iconSets: {
|
|
comfy: iconCollection,
|
|
lucide
|
|
},
|
|
scale: 1.2,
|
|
prefix: 'icon'
|
|
})
|
|
]
|
|
}
|