29 lines
1.7 KiB
Markdown
29 lines
1.7 KiB
Markdown
# Audited brand icons
|
|
|
|
The generated `lobehub.js` contains the 30 brands supported by `LobeHubIcon`
|
|
and their existing Mono, Color, Text, Avatar and Combine variants, where provided
|
|
upstream. SVG paths and brand metadata come from **@lobehub/icons 1.97.2**
|
|
([upstream](https://github.com/lobehub/lobe-icons)); see the original MIT `LICENSE`.
|
|
`manifest.json` records the version, brand list and each generated file's SHA-256.
|
|
`primitives.js` exposes only Mono/Color SVGs for Home and the rendering helpers;
|
|
`shared-*.js` shares their SVG implementations with the lazily loaded variants.
|
|
Do not import `lobehub.js` from those eager entry points.
|
|
|
|
This is a generated visual asset, not a second UI framework. Its only runtime
|
|
imports are React and three local adapters under `components/common/brand-icons`.
|
|
Avatar containers use Ant Design. Theme-aware variants read the existing app
|
|
theme. No Lobe UI, Radix, Floating UI, antd-style or layout-kit runtime is needed.
|
|
|
|
Do not edit generated paths or metadata manually. To reproduce:
|
|
|
|
1. Download the pinned source with `npm pack @lobehub/icons@1.97.2 --pack-destination <temporary-directory>`.
|
|
2. Extract that tarball into the temporary directory using `tar -xf <tarball> -C <temporary-directory>`.
|
|
3. Run `npm run vendor:icons -- <temporary-directory>/package` from the repository root.
|
|
4. Run `npm run check:ui`, then compare all supported variants in light and dark themes.
|
|
|
|
The generator rejects unexpected external dependencies. Updating the upstream
|
|
version requires reviewing the generator pin, license, brand APIs and output.
|
|
Keep source packages and browser evidence outside tracked source. The normal
|
|
application install and build use the checked-in assets and never download
|
|
the upstream package.
|