Navigation resources
Store navigation resources underportal/navigations/. A navigation contains ordered entries for a supported web or mobile context. Entries that target authored screens use screen file slugs.
Use the current screen picker or a pulled definition for system-screen targets. Do not invent or maintain a separate list of system slugs.
Profile resources
Store profile resources underportal/profiles/. A profile connects matching or permission rules to navigation and theme selections.
Local preview selects the profile marked as default. If none is marked as default, it uses the first profile. Preview does not reproduce every production permission decision, so verify permission-sensitive behavior in an appropriate hosted environment before release.
Theme resources
Store theme resources underportal/themes/. A theme file contains the complete structured theme configuration. A partial theme is invalid.
When you need the current full shape, pull an existing theme and edit the required values. Use the theme schema for color modes, semantic tokens, typography, spacing, borders, radii, focus, and chart configuration.
Check cross-resource links
Before push:- Confirm each navigation target matches a screen slug.
- Confirm each profile points to existing navigation and theme slugs.
- Confirm the intended default profile is explicit.
- Validate every theme as a complete resource.
- Preview representative routes under the intended profile and theme.
PortalNavigation, PortalProfile, and PortalTheme for the current resource contracts.