mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-25 18:49:38 +00:00
b36e4fd27b
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`).
227 lines
4.1 KiB
JSON
227 lines
4.1 KiB
JSON
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compileOnSave": false,
|
|
"files": [],
|
|
"references": [
|
|
{
|
|
"path": "./libs/api"
|
|
},
|
|
{
|
|
"path": "./libs/login"
|
|
},
|
|
{
|
|
"path": "./apps/artcraft"
|
|
},
|
|
{
|
|
"path": "./libs/components/toaster"
|
|
},
|
|
{
|
|
"path": "./libs/components/close-button"
|
|
},
|
|
{
|
|
"path": "./libs/components/modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/settings-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/button"
|
|
},
|
|
{
|
|
"path": "./libs/components/input"
|
|
},
|
|
{
|
|
"path": "./libs/components/label"
|
|
},
|
|
{
|
|
"path": "./libs/components/select"
|
|
},
|
|
{
|
|
"path": "./libs/components/tooltip"
|
|
},
|
|
{
|
|
"path": "./libs/tauri-api"
|
|
},
|
|
{
|
|
"path": "./libs/tauri-events"
|
|
},
|
|
{
|
|
"path": "./libs/tauri-utils"
|
|
},
|
|
{
|
|
"path": "./libs/components/demo-modal"
|
|
},
|
|
{
|
|
"path": "./apps/artcraft-website"
|
|
},
|
|
{
|
|
"path": "./apps/video-info-website"
|
|
},
|
|
{
|
|
"path": "./apps/artcraft-webapp"
|
|
},
|
|
{
|
|
"path": "./libs/components/gallery-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/lightbox-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/tab-selector"
|
|
},
|
|
{
|
|
"path": "./libs/components/loading-spinner"
|
|
},
|
|
{
|
|
"path": "./libs/soundboard"
|
|
},
|
|
{
|
|
"path": "./libs/components/promptbox"
|
|
},
|
|
{
|
|
"path": "./libs/components/popover"
|
|
},
|
|
{
|
|
"path": "./libs/components/camera-settings-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/slider-v2"
|
|
},
|
|
{
|
|
"path": "./libs/common"
|
|
},
|
|
{
|
|
"path": "./libs/components/login-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/switch"
|
|
},
|
|
{
|
|
"path": "./libs/build-env"
|
|
},
|
|
{
|
|
"path": "./libs/components/menu-icon-selector"
|
|
},
|
|
{
|
|
"path": "./libs/components/badge"
|
|
},
|
|
{
|
|
"path": "./libs/components/button-dropdown"
|
|
},
|
|
{
|
|
"path": "./libs/components/button-icon"
|
|
},
|
|
{
|
|
"path": "./libs/components/button-icon-select"
|
|
},
|
|
{
|
|
"path": "./libs/components/button-link"
|
|
},
|
|
{
|
|
"path": "./libs/components/file-uploader"
|
|
},
|
|
{
|
|
"path": "./libs/components/gravatar"
|
|
},
|
|
{
|
|
"path": "./libs/components/loading"
|
|
},
|
|
{
|
|
"path": "./libs/components/list-dropdown"
|
|
},
|
|
{
|
|
"path": "./libs/components/pagination"
|
|
},
|
|
{
|
|
"path": "./libs/components/search"
|
|
},
|
|
{
|
|
"path": "./libs/components/upload-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/action-reminder-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/model-selector"
|
|
},
|
|
{
|
|
"path": "./libs/components/create-3d-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/image-input"
|
|
},
|
|
{
|
|
"path": "./libs/components/pricing-modal"
|
|
},
|
|
{
|
|
"path": "./libs/model-list"
|
|
},
|
|
{
|
|
"path": "./libs/analytics/google-analytics"
|
|
},
|
|
{
|
|
"path": "./libs/components/provider-setup-modal"
|
|
},
|
|
{
|
|
"path": "./libs/components/progress"
|
|
},
|
|
{
|
|
"path": "./libs/components/provider-billing-modal"
|
|
},
|
|
{
|
|
"path": "./libs/state/credits"
|
|
},
|
|
{
|
|
"path": "./libs/state/subscription"
|
|
},
|
|
{
|
|
"path": "./libs/components/help-menu"
|
|
},
|
|
{
|
|
"path": "./libs/api-enums"
|
|
},
|
|
{
|
|
"path": "./libs/components/viewer-3d"
|
|
},
|
|
{
|
|
"path": "./libs/markdown-content"
|
|
},
|
|
{
|
|
"path": "./apps/genhub"
|
|
},
|
|
{
|
|
"path": "./libs/components/pagedraw"
|
|
},
|
|
{
|
|
"path": "./libs/components/checkbox"
|
|
},
|
|
{
|
|
"path": "./libs/components/pagescene"
|
|
},
|
|
{
|
|
"path": "./libs/components/vfx"
|
|
},
|
|
{
|
|
"path": "./libs/components/pricing-table"
|
|
},
|
|
{
|
|
"path": "./libs/components/video-editor"
|
|
},
|
|
{
|
|
"path": "./libs/components/generation-list"
|
|
},
|
|
{
|
|
"path": "./libs/components/moodboard"
|
|
},
|
|
{
|
|
"path": "./libs/omni-gen"
|
|
},
|
|
{
|
|
"path": "./libs/components/audio-player"
|
|
},
|
|
{
|
|
"path": "./libs/icons"
|
|
}
|
|
]
|
|
}
|