@@ -145,6 +145,57 @@ Use that phrase as a compact IA and copywriting anchor:
145145- Play: playable games, arcade browsing, testing, saves, and discovery.
146146- Share: marketplace assets, tutorials, community visibility, publishing, and creator identity.
147147
148+ ## GAMEFOUNDRYSTUDIO THEME V2 GOVERNANCE
149+
150+ ` theme/v2 ` is the only approved styling surface for new GameFoundryStudio work.
151+
152+ Existing CSS is deprecated and compatibility-only.
153+
154+ Rules:
155+ - Do not extend deprecated CSS.
156+ - Do not create new CSS files outside ` theme/v2 ` .
157+ - No page-local CSS.
158+ - No tool-local CSS.
159+ - No inline style attributes.
160+ - No ` <style> ` blocks.
161+ - No JavaScript-generated styling except toggling approved ` theme/v2 ` classes.
162+ - No hardcoded colors.
163+ - No hardcoded spacing.
164+ - No hardcoded borders.
165+ - No hardcoded shadows.
166+ - No hardcoded font sizes.
167+ - No hardcoded z-index values.
168+ - No duplicate component styling.
169+ - No copy/paste of deprecated selectors into ` theme/v2 ` .
170+ - No one-off classes for a single page or tool unless approved and promoted into ` theme/v2 ` .
171+ - New UI work must first attempt to use existing ` theme/v2 ` tokens and classes.
172+ - Missing styling requirements must be reported as design-system gaps.
173+ - Design-system gaps should be documented rather than solved locally.
174+
175+ Allowed:
176+ - Adding reusable ` theme/v2 ` tokens.
177+ - Adding reusable ` theme/v2 ` component classes.
178+ - Toggling approved ` theme/v2 ` classes from JavaScript.
179+ - Removing deprecated CSS.
180+ - Consolidating duplicate CSS into ` theme/v2 ` .
181+
182+ Exception documentation is required for any approved deviation and must include:
183+ - File.
184+ - Reason.
185+ - Follow-up plan.
186+
187+ Migration order:
188+ 1 . Home
189+ 2 . Company pages
190+ 3 . Admin pages
191+ 4 . Account pages
192+ 5 . Tools index
193+ 6 . Tool families
194+ 7 . Games
195+ 8 . Samples
196+
197+ Do not migrate pages during governance-only PRs unless the PR explicitly authorizes migration work.
198+
148199## FILE SCOPE GUARD
149200
150201Allowed change scope is PR-specific.
0 commit comments