mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
* [ci] ignore playwright mcp directory * [feat] add AssetBrowserModal And all related sub components * [feat] reactive filter functions * [ci] clean up storybook config * [feat] add sematic AssetCard * [fix] i love lucide * [fix] AssetCard layout issues * [fix] add AssetBadge type * [fix] simplify useAssetBrowser * [fix] modal layout * [fix] simplify useAssetBrowserDialog * [fix] add tailwind back to storybook * [fix] better reponsive layout * [fix] missed i18n string * [fix] missing i18n translations * [fix] remove erroneous prevent on keyboard.space * [feat] add asset metadata validation utilities * [fix] remove erroneous test code * [fix] remove forced min and max width on AssetCard * [fix] import statement nits
29 lines
664 B
TypeScript
29 lines
664 B
TypeScript
import lucide from '@iconify-json/lucide/icons.json' with { type: 'json' }
|
|
import { addDynamicIconSelectors } from '@iconify/tailwind'
|
|
|
|
import { iconCollection } from './build/customIconCollection'
|
|
|
|
export default {
|
|
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
|
|
|
|
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'
|
|
})
|
|
]
|
|
}
|