add primary color branding to the page

This commit is contained in:
Fred KISSIE
2025-11-15 02:38:46 +01:00
parent d003436179
commit 8f152bdf9f
4 changed files with 53 additions and 4 deletions

View File

@@ -390,7 +390,12 @@ export default function ResourceAuthPortal(props: ResourceAuthPortalProps) {
: 100;
return (
<div>
<div
style={{
// @ts-expect-error
"--primary": isUnlocked() ? props.branding?.primaryColor : null
}}
>
{!accessDenied ? (
<div>
{isUnlocked() && build === "enterprise" ? (