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
Copy file name to clipboardExpand all lines: AGENTS.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,24 @@
93
93
- Update docs when structure, build rules, or repository workflow changes.
94
94
- When changing contribution workflow files, keep `CONTRIBUTING.md` and `.github/` files aligned.
95
95
96
+
## UI Design Guidelines
97
+
- Prefer a calm, minimal desktop UI: light neutral surfaces, restrained accent color, and clear visual hierarchy over heavy borders or high-contrast chrome.
98
+
- Centralize reusable Qt widget styling in shared application-layer helpers instead of scattering large inline `setStyleSheet()` blocks across many widgets.
99
+
- Reuse a small set of design tokens consistently:
100
+
- spacing around 8 / 12 / 16 / 24 / 32 px
101
+
- rounded corners around 12-20 px for cards/panels
102
+
- one primary accent color with muted supporting grays
103
+
- Use typography roles consistently:
104
+
- large page title
105
+
- section title
106
+
- body text
107
+
- caption/meta text
108
+
- Primary actions should be visually emphasized; secondary actions should stay quieter but still consistent in size, radius, and padding.
109
+
- Prefer card/panel composition with generous padding instead of drawing many separator lines.
110
+
- Keep dense review/workspace screens readable by separating navigation, canvas, and inspector panels with spacing and surface contrast rather than thick borders.
111
+
- Avoid introducing custom UI styling in `domain` or `engine`; all presentation decisions remain in `src/application/`.
112
+
- When adding a new screen or widget, align it with the existing shared UI tokens before introducing a new color, radius, or button treatment.
113
+
96
114
## Docs
97
115
- After any changes to the project, ensure the documents remain consistent.
0 commit comments