URL color overrides
You can override Members Portal colors directly from the page URL. This is useful when you want campaign-specific branding, embedded portal styling, or quick design tests without changing saved styling settings in Nexudus.When to use this
Use URL color overrides when you want to:- apply a temporary color set for a campaign or event
- match the portal colors to a partner or white-label site
- test a new style direction before saving it as the default
Saved colors in Nexudus remain unchanged. URL overrides only affect the session opened with that URL.
How it works
When a page loads with supportedTheme.* parameters:
- Nexudus reads the saved colors for the location.
- URL color values are applied on top of the saved colors.
- A dynamic stylesheet is generated and loaded with the merged values.
Supported parameters
Behaviour parameter
Light mode color parameters
Dark mode color parameters
Use the same colors for dark mode with theDarkMode suffix:
Theme.PrimaryColorDarkModeTheme.SecondaryColorDarkModeTheme.TertiaryColorDarkModeTheme.BrandBlackDarkModeTheme.SuccessDarkModeTheme.WarningDarkModeTheme.AlertDarkModeTheme.InfoDarkModeTheme.Highlight1DarkModeTheme.Highlight2DarkModeTheme.Highlight3DarkModeTheme.Highlight4DarkModeTheme.Highlight5DarkModeTheme.GroundDarkModeTheme.SurfaceDarkMode
Example URL
Priority order
If the same visual token exists in multiple places, Nexudus applies values in this order:- URL override parameter
- Saved color in Nexudus styling settings
- Default portal fallback
Light and dark mode behaviour
- If portal mode is light, light-mode values are used.
- If portal mode is dark, dark-mode values are used.
- If
Theme.ForceDarkMode=true, the portal is forced to dark mode for that session. - If
Theme.ForceLightMode=true, the portal is forced to light mode for that session. - If
Theme.DisableDarkMode=true, the portal is forced to light mode for that session. - If
Theme.DisableLightMode=true, the portal is forced to dark mode for that session.
Mode priority
When multiple mode parameters are present, Nexudus applies this order:Theme.DisableDarkMode=trueorTheme.ForceLightMode=true(light mode)Theme.DisableLightMode=trueorTheme.ForceDarkMode=true(dark mode)- Customer saved mode preference
Mode examples
Troubleshooting
If colors are not changing as expected:- Confirm parameter names are exact, including capitalization and
Theme.prefix. - Confirm hex values are URL-encoded with
%23. - Confirm you are passing the parameters on the page URL, not only after redirect steps.
- Confirm dark mode is not disabled when testing dark-mode colors.
- Hard refresh the page to avoid stale browser CSS.