mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-31 15:37:49 +00:00
Removes Font Awesome entirely
### Changes
- All ~1,000 icon call sites now import Lucide components directly from
`lucide-react` (`<PlayIcon className="..." />`); no FA packages, tokens,
or `fa*` identifiers remain anywhere.
- New `@storyteller/icons` lib holds the pieces Lucide doesn't ship:
`DynamicIcon` for runtime-chosen icons (`icon={loading ?
LoaderCircleIcon : SaveIcon}`), 11 brand logos (Discord, TikTok, ...) as
inlined CC BY 4.0 paths, and HD/SD quality badges drawn in Lucide's
stroke style.
- Global `.lucide { display: inline-block; width/height: 1.2em }` rule
in each app stylesheet: keeps icons font-relative like FA (1.2em
compensates Lucide's 24px-viewBox/20px-grid padding) and undoes Tailwind
preflight's `svg { display: block }`. Explicit `w-*`/`size-*` utilities
still win.
- FA-only props migrated: `spin` → `animate-spin`, FA size strings → em
values.
- Dropped `@fortawesome/*` + `@awesome.me` kit deps, both `.npmrc`
files, and
the FA rule in `shared-vite-config.ts` (now externalizes
`lucide-react`).
113 lines
2.1 KiB
JSON
113 lines
2.1 KiB
JSON
{
|
|
"files": [],
|
|
"include": [],
|
|
"references": [
|
|
{
|
|
"path": "../../libs/components/video-editor"
|
|
},
|
|
{
|
|
"path": "../../libs/components/pricing-table"
|
|
},
|
|
{
|
|
"path": "../../libs/components/upload-modal"
|
|
},
|
|
{
|
|
"path": "../../libs/components/pagedraw"
|
|
},
|
|
{
|
|
"path": "../../libs/components/moodboard"
|
|
},
|
|
{
|
|
"path": "../../libs/components/slider-v2"
|
|
},
|
|
{
|
|
"path": "../../libs/components/toaster"
|
|
},
|
|
{
|
|
"path": "../../libs/omni-gen"
|
|
},
|
|
{
|
|
"path": "../../libs/components/pricing-modal"
|
|
},
|
|
{
|
|
"path": "../../libs/components/model-selector"
|
|
},
|
|
{
|
|
"path": "../../libs/components/close-button"
|
|
},
|
|
{
|
|
"path": "../../libs/components/pagescene"
|
|
},
|
|
{
|
|
"path": "../../libs/components/lightbox-modal"
|
|
},
|
|
{
|
|
"path": "../../libs/components/gallery-modal"
|
|
},
|
|
{
|
|
"path": "../../libs/components/switch"
|
|
},
|
|
{
|
|
"path": "../../libs/components/promptbox"
|
|
},
|
|
{
|
|
"path": "../../libs/components/audio-player"
|
|
},
|
|
{
|
|
"path": "../../libs/components/viewer-3d"
|
|
},
|
|
{
|
|
"path": "../../libs/components/loading-spinner"
|
|
},
|
|
{
|
|
"path": "../../libs/components/gravatar"
|
|
},
|
|
{
|
|
"path": "../../libs/components/action-reminder-modal"
|
|
},
|
|
{
|
|
"path": "../../libs/model-list"
|
|
},
|
|
{
|
|
"path": "../../libs/components/tooltip"
|
|
},
|
|
{
|
|
"path": "../../libs/components/generation-list"
|
|
},
|
|
{
|
|
"path": "../../libs/components/tab-selector"
|
|
},
|
|
{
|
|
"path": "../../libs/components/popover"
|
|
},
|
|
{
|
|
"path": "../../libs/components/modal"
|
|
},
|
|
{
|
|
"path": "../../libs/components/input"
|
|
},
|
|
{
|
|
"path": "../../libs/components/button"
|
|
},
|
|
{
|
|
"path": "../../libs/components/vfx"
|
|
},
|
|
{
|
|
"path": "../../libs/common"
|
|
},
|
|
{
|
|
"path": "../../libs/api"
|
|
},
|
|
{
|
|
"path": "../../libs/icons"
|
|
},
|
|
{
|
|
"path": "./tsconfig.app.json"
|
|
},
|
|
{
|
|
"path": "./tsconfig.spec.json"
|
|
}
|
|
],
|
|
"extends": "../../tsconfig.base.json"
|
|
}
|