You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 30fae5c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: adminforth/design/adoption.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,6 @@ Which packages follow the [design concepts](./system-concepts.md): tokens instea
20
20
|@adminforth/i18n| ✓ |
21
21
|@adminforth/i18n-static| ✓ |
22
22
|@adminforth/import-export| ✓ |
23
-
|@adminforth/inline-create||
24
23
|@adminforth/json-form||
25
24
|@adminforth/list-in-place-edit| ✓ |
26
25
|@adminforth/login-captcha||
@@ -46,7 +45,7 @@ Which packages follow the [design concepts](./system-concepts.md): tokens instea
46
45
47
46
## Landing page previews
48
47
49
-
The cards of the landing gallery (`documentation/src/pages/index.tsx`) show either a PNG screenshot (`original`) or a static HTML page of `documentation/static/landing-previews` (`preview: '<file>'`) drawn in the design system. A plugin moves to `preview` once it is adapted.
48
+
The cards of the landing gallery (`documentation/src/pages/index.tsx`) show a static HTML page of `documentation/static/landing-previews` (`preview: '<file>'`) drawn in the design system.
50
49
51
50
- Draw the screen of the plugin's core feature, not the whole page: keep one key element (an open menu, a form field, a dialog) and drop the columns, fields and buttons which don't explain the feature. A card is about 440px wide, so a screen with every column of the real page is unreadable.
52
51
- Copy the closest page (a list, an edit form, a settings tab) and take the markup, texts, Lucide icons and tokens from the components of the plugin, the shared classes are in `previews.css`.
@@ -63,4 +62,4 @@ The cards of the landing gallery (`documentation/src/pages/index.tsx`) show eith
63
62
64
63
- If simple - get of flowbite, prefer pure AFCL + Tailwind, move features we luck to AFCL
65
64
- Existing icon fonts apart lucide - try to get rid of them if not complex
66
-
- Core uses only Lucide icons and `flag-icons` flags (`afcl/CountryFlag.vue`). `vue-flowbite` and `vue-heroicons` stay in `spa/package.json` while plugins import them (flowbite: foreign-inline-list, inline-create, user-soft-delete, and dashboard only for `flowbite:chart-pie-solid`, the old default menu icon which stored dashboard configs may name; no plugin imports heroicons any more). After plugins rework it they should disappear.
65
+
- Core uses only Lucide icons and `flag-icons` flags (`afcl/CountryFlag.vue`). `vue-flowbite` and `vue-heroicons` stay in `spa/package.json` while plugins import them (flowbite: foreign-inline-list, user-soft-delete, and dashboard only for `flowbite:chart-pie-solid`, the old default menu icon which stored dashboard configs may name; no plugin imports heroicons any more). After plugins rework it they should disappear.
0 commit comments