@boopkit/cap-web 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -4,12 +4,17 @@ description: "When you need to design and implement user interfaces — includin
|
|
|
4
4
|
metadata:
|
|
5
5
|
category: design
|
|
6
6
|
---
|
|
7
|
+
> **Read `PROJECT.md`, beside this file, first.**
|
|
8
|
+
> It records how this project applies the guidance below, and where it deliberately differs.
|
|
9
|
+
> Where the two conflict, `PROJECT.md` wins.
|
|
10
|
+
> Record project-specific rules there, never in this file.
|
|
11
|
+
|
|
7
12
|
# Web UI Design Principles
|
|
8
13
|
|
|
9
14
|
For controller design (the code that handles requests and renders views), apply the core principles in `design.controllers.skill.md` from the `services` capability: thin dispatch, no business logic in controllers, services handle the work. This skill adds web-specific guidance on top: view rendering, template structure, CSS patterns.
|
|
10
15
|
|
|
11
16
|
## Core Philosophy
|
|
12
|
-
When building UI components, align with the **Spartan Code Philosophy** (see
|
|
17
|
+
When building UI components, align with the **Spartan Code Philosophy** (see `boop-coding-development`):
|
|
13
18
|
- Only introduce markup, styles, or components required for current functionality
|
|
14
19
|
- Avoid building UI elements in anticipation of future needs
|
|
15
20
|
- Resist adding extra styling, animations, or features beyond what's requested
|
|
@@ -191,8 +196,8 @@ When designing report/analytics UIs, prefer a **paper-like** presentation:
|
|
|
191
196
|
---
|
|
192
197
|
|
|
193
198
|
See also:
|
|
194
|
-
-
|
|
195
|
-
- [
|
|
199
|
+
- `boop-coding-development` for Spartan Code Philosophy
|
|
200
|
+
- [`reference/web-ui.ref.md`](../../reference/web-ui.ref.md) for the current implementation: the view engine, the CSS pipeline and the page pattern
|
|
196
201
|
- [`reference/boop-guide.ref.md`](../../reference/boop-guide.ref.md) for the CSS extension model (`@theme` tokens, package styles, cascade overrides)
|
|
197
202
|
|
|
198
203
|
## Visually verify before declaring done
|