Skip to content

Commit 9952aaf

Browse files
committed
PI update
1 parent 1e5ce8e commit 9952aaf

1 file changed

Lines changed: 28 additions & 5 deletions

File tree

docs/dev/PROJECT_INSTRUCTIONS.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,36 @@ Use that phrase as a compact IA and copywriting anchor:
147147

148148
## GAMEFOUNDRYSTUDIO THEME V2 GOVERNANCE
149149

150-
`theme/v2` is the only approved styling surface for GameFoundryStudio work.
150+
`theme/v2` is the only approved styling surface for public/root GameFoundryStudio page work as bounded below.
151151

152152
V1/legacy CSS is deprecated and out of play.
153153

154+
### Theme Surface Boundary
155+
156+
`GameFoundryStudio/assets/css/theme/v2` owns public/root GameFoundryStudio page styling:
157+
- root Home
158+
- Company pages
159+
- Tools index
160+
- public/root tool pages
161+
- marketing/content surfaces
162+
- placeholder Admin/Account pages until DB/login implementation
163+
164+
`src/engine/theme` owns engine/runtime first-class tool shell styling:
165+
- runtime tool shell
166+
- engine-facing first-class tools
167+
- reusable runtime UI foundations
168+
169+
Rules:
170+
- Do not deprecate `src/engine/theme` at this time.
171+
- Do not duplicate behavior between the two surfaces.
172+
- Do not create competing `.tool-shell` implementations.
173+
- If both public/root tools and runtime first-class tools need the same behavior, document the shared shell contract first.
174+
- Shared behavior must be promoted intentionally rather than patched independently in both places.
175+
- Collapse/rail behavior currently belongs only to the public/root `.tool-workspace` shell unless a later PR explicitly promotes it to shared runtime shell behavior.
176+
154177
### Theme V2 Only CSS Rule
155178

156-
- Theme V2 is the only active styling system.
179+
- Theme V2 is the only active styling system for public/root GameFoundryStudio page work.
157180
- V1/legacy CSS is deprecated and out of play.
158181
- V1/legacy CSS must not be used as a source.
159182
- V1/legacy CSS must not be copied.
@@ -205,7 +228,7 @@ Allowed:
205228

206229
### Theme V2 File Ownership
207230

208-
All reusable styling must live under:
231+
All reusable public/root GameFoundryStudio styling must live under:
209232

210233
`GameFoundryStudio/assets/css/theme/v2/`
211234

@@ -225,8 +248,8 @@ Approved styling surfaces:
225248
- `layout.css`
226249

227250
Rules:
228-
- Pages consume `theme/v2`.
229-
- Tools consume `theme/v2`.
251+
- Public/root pages consume `theme/v2`.
252+
- Public/root tools consume `theme/v2`.
230253
- Pages do not define styling.
231254
- Tools do not define styling.
232255
- New CSS files outside `theme/v2` are prohibited.

0 commit comments

Comments
 (0)