Skip to content

Commit e4da7c0

Browse files
committed
Revert "feat: add agent icons in adminforth core so they can be reusable"
This reverts commit 5962110.
1 parent 447fe53 commit e4da7c0

6 files changed

Lines changed: 2 additions & 7 deletions

File tree

‎adminforth/design/system-concepts.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ The show, create and edit views list fields as a two-column table on a card: a 2
6868
- 16px (`w-4 h-4`) in controls and menus. Icons are muted (`text-lightInputIconColor`), destructive items color their icon too.
6969
- Don't add icons from other sets; replace flowbite, heroicons and humbleicons icons with Lucide when you touch a component. The old sets stay installed because apps and older plugins still import them.
7070
- Don't draw icons with inline `<svg>` or keep them as own `.vue` files, take the Lucide component. Inline SVG is only for graphics which are not icons: the two-tone `Spinner` ring, the `Toast` timer ring, charts.
71-
- Logos of AI agents (Claude Code, Codex, Gemini) are brand colored SVGs, not icons. They live once in `spa/src/assets/agents/`: plugins import them from `@/assets/agents/`, the docs copy them to `static/landing-previews/agents/` on `pnpm start` and `pnpm build`. Don't keep own copies in plugins or docs.
7271

7372
## Country flags and lazy loading
7473

‎documentation/.gitignore‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
/afcl-preview/examples
1414
/static/afcl-preview
1515

16-
# logos of AI agents, copied from the SPA of adminforth by `pnpm copy:agent-logos`
17-
/static/landing-previews/agents
18-
1916
# Misc
2017
.DS_Store
2118
.env.local

‎documentation/package.json‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"gendoc": "typedoc",
77
"docusaurus": "docusaurus",
88
"build:afcl": "pnpm --dir ../adminforth install && ln -sfn ../../adminforth/spa/node_modules afcl-preview/node_modules && node afcl-preview/node_modules/vite/bin/vite.js build afcl-preview",
9-
"copy:agent-logos": "cp -r ../adminforth/spa/src/assets/agents static/landing-previews/",
10-
"start": "pnpm build:afcl && pnpm copy:agent-logos && docusaurus start",
11-
"build": "pnpm build:afcl && pnpm copy:agent-logos && docusaurus build",
9+
"start": "pnpm build:afcl && docusaurus start",
10+
"build": "pnpm build:afcl && docusaurus build",
1211
"swizzle": "docusaurus swizzle",
1312
"deploy": "DEPLOYMENT_BRANCH=main docusaurus deploy",
1413
"clear": "docusaurus clear",

adminforth/spa/src/assets/agents/claude-code.svg renamed to documentation/static/landing-previews/agents/claude-code.svg

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)