Branding
Learn how to customize the look your Pangolin dashboard and login pages with custom branding
Branding is only available in Enterprise Edition.
Pangolin allows you to customize the appearance of your dashboard with your own branding, including colors, logos, and custom text for authentication pages. Branding is configured through the privateConfig.yml file.
Organization Branding
In the settings of each organization, there is an Authentication Page branding settings section. These settings enable you to brand the resource authentication page and organization authentication page for that specific organization. These settings will override anything set in the configuration file.
Setting up Branding
To get started, create a privateConfig.yml file next to your existing config.yml file:
branding:
app_name: "MyApp"
logo:
light_path: "/branding/logo-light.svg"
dark_path: "/branding/logo-dark.svg"
colors:
light:
primary: "hsl(212, 65%, 35%)"
ring: "hsl(212, 65%, 35%)"
primary-foreground: "hsl(0 0% 98%)"
dark:
primary: "hsl(212, 65%, 45%)"
ring: "hsl(212, 65%, 35%)"
primary-foreground: "hsl(0 0% 98%)"Mounting Branding Assets
For image assets like logos and backgrounds, you need to mount a volume to the Pangolin container to make them accessible to the application:
volumes:
- ./config:/app/config
- ./branding:/app/public/brandingYour folder structure should look like this:
.
├── config/
│ ├── config.yml
│ └── privateConfig.yml
└── branding/
├── logo-light.svg
├── logo-dark.svg
└── favicon.icoReference
All branding configuration options are optional. Only specify the sections you want to customize.
Application Name
app_namestringThe name of your application that appears in various places throughout the UI.
Example: "MyApp"
Favicon
To customize the favicon, mount your favicon to /app/public/favicon.ico in the container.
volumes:
- ./config:/app/config
- ./branding/favicon.ico:/app/public/favicon.icoBackground Image
background_image_pathstringPath to a custom background image used on authentication pages.
Example: "/branding/backgrounds/bg.png"
Requires mounting a volume to /app/public.
Colors
colorsobjectCustom color scheme that overrides the default Tailwind classes for shadcn components.
Colors can be provided in OKLCH or HSL format for example and apply to both light and dark modes.
Color Reference: Available color properties include background, foreground, card, card-foreground, popover, popover-foreground, primary, primary-foreground, secondary, secondary-foreground, muted, muted-foreground, accent, accent-foreground, destructive, destructive-foreground, border, input, ring, radius, and chart-1 through chart-5.
Example:
colors:
light:
primary: "hsl(212, 65%, 35%)"
background: "hsl(212, 65%, 35%)"
foreground: "hsl(0 0% 98%)"
dark:
primary: "hsl(212, 65%, 45%)"
background: "hsl(212, 65%, 35%)"
foreground: "hsl(0 0% 98%)"For a complete list of Tailwind color classes used by shadcn components, refer to the shadcn/ui documentation.
Logo
logoobjectLogo configuration for different parts of the application.
Footer
Hide Auth Page Footer
Login Page
login_pageobjectCustom text for the login page.
Signup Page
signup_pageobjectCustom text for the signup page.
Resource Auth Page
resource_auth_pageobjectConfiguration for the resource authentication page shown to users when accessing protected resources.
Emails
emailsobjectEmail customization settings.
Applying Changes
After creating or modifying privateConfig.yml, you must restart the Pangolin container for changes to take effect.
Was this page helpful?

