Introducing a new way to review your PRs.

Read the announcement

imputnet / helium

Private, fast, and honest web browser

View on GitHub

17 documents · Updated Nov 23, 2026

docs / branding-and-resource-customization

Branding and resource customization

Helium changes Chromium's product identity and visual resources so the browser presents as Helium across its application, operating-system surfaces, built-in pages, and packaged outputs. It keeps one compatibility exception: web-facing user-agent brand data continues to identify as Google Chrome where site compatibility needs the common Chromium brand.

Product identity

The product identity defines the names and platform identifiers shown outside normal web requests. Helium sets the product and company names, installer label, copyright owner, macOS bundle identity, and crash-report product to Helium values through patches/helium/core/change-chromium-branding.patch.

The user-agent brand is a separate compatibility identity. patches/helium/core/spoof-chrome-ua-brand.patch makes the browser advertise Google Chrome in its user-agent brand list rather than exposing the Helium product name. This keeps the application identity and site compatibility identity independent.

References: patches/…/change-chromium-branding.patch• L1-23 patches/…/spoof-chrome-ua-brand.patch• L1-21

Branding assets

Branding assets provide the marks used by the browser shell and platform surfaces. The asset set covers light and dark logos, vector and monochrome forms, and a raw application icon that supports scaled outputs (resources/…/product_logo.svg, resources/…/product_logo.png, resources/…/product_logo_white.png, resources/branding/product_logo.icon, resources/…/raw.png).

The replacement manifest applies these assets to Chromium's product-logo locations. This gives browser chrome, shared UI, notifications, and platform icon paths one consistent Helium source instead of separate hand-maintained replacements (resources/helium_resources.txt• L28-47).

References: resources/…/product_logo.svg• L1 resources/…/product_logo.png• L1 resources/…/product_logo_white.png• L1 resources/…/product_logo.icon• L1 resources/…/raw.png• L1 resources/helium_resources.txt• L28-47

Favicon presentation

Built-in Chromium pages use local Helium favicon assets. The resource mapping covers the density variants used by bookmarks, downloads, history, settings, flags, and extensions (resources/helium_resources.txt• L1-27).

Search-provider icons follow the same local-resource goal. Provider records do not depend on remote favicon or logo URLs, while built-in provider assets remain available for local choice UI. Provider labels are also corrected where the upstream names do not match the intended display names (patches/helium/core/search/break-favicons.patch#L1-L83, patches/helium/core/search/fix-search-engine-icons.patch#L1-L8, patches/helium/core/search/fix-startpage-brave-names.patch#L1-L20).

References: resources/helium_resources.txt• L1-27 patches/…/break-favicons.patch• L1-83 patches/…/fix-search-engine-icons.patch• L1-8 patches/…/fix-startpage-brave-names.patch• L1-20

Resource manifests

Resource manifests describe how source artwork reaches Chromium's expected resource paths. resources/generate_resources.txt defines scaled icon outputs from the raw application icon, while resources/helium_resources.txt maps source and generated assets to the destinations used by the browser.

The manifests separate creation from placement. This lets one source asset supply the required sizes and lets the replacement map cover the many Chromium surfaces without manual edits to each destination (resources/generate_resources.txt• L1-8, resources/helium_resources.txt• L1-70).

References: resources/generate_resources.txt• L1-8 resources/helium_resources.txt• L1-70

Resource replacement workflow

Resource replacement turns Helium artwork into build-tree resources in two ordered stages. Generation creates the icon variants first. Replacement then copies source and generated assets into the Chromium paths named by the replacement manifest (utils/generate_resources.py• L17-59, utils/replace_resources.py• L15-35).

The flow connects source artwork to the final browser build:

flowchart LR
    A[Helium source artwork] --> B[Icon generation]
    B --> C[Scaled icon assets]
    A --> D[Resource replacement]
    C --> D
    D --> E[Chromium resource paths]
    E --> F[Helium browser build]

The command-line tools define the boundary of this workflow. The surrounding build or release process must invoke generation before replacement so every mapped generated asset exists when it is copied (utils/generate_resources.py• L62-74, utils/replace_resources.py• L38-51).

References: utils/generate_resources.py• L17-29 utils/generate_resources.py• L32-59 utils/generate_resources.py• L62-74 utils/replace_resources.py• L15-35 utils/replace_resources.py• L38-51

Name substitution

Name substitution corrects local Chromium labels that are separate from the global product identity. The default profile label uses the intended single-profile wording, while History and People pages use their intended page and profile names (patches/helium/core/replace-default-profile-name.patch#L1-L11, patches/helium/settings/fix-page-names.patch#L1-L22).

These local changes complete the identity presented to users. The branding layer changes application and package labels, while name substitution updates browser surfaces that obtain text from separate Chromium strings.

References: patches/…/replace-default-profile-name.patch• L1-11 patches/…/fix-page-names.patch• L1-22

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep generated icon outputs aligned with every generated destination in the replacement manifest.
  • When changing a product name or identifier, review installer, crash-report, operating-system, and user-agent identities as separate contracts.
  • When changing an icon variant, check normal, high-density, and platform-specific destinations that use the same mark.
  • When changing search-provider image sources, keep local provider assets and displayed provider names aligned.
  • When changing a local Chromium label, check whether another page uses the same source string for a different purpose.

Important failure modes

TriggerConsequenceGuard
Replacement runs before icon generationGenerated destinations have no source file and keep an old or missing iconRun icon generation before resource replacement.
A manifest source-destination pair is wrongA browser surface keeps Chromium branding or receives an unrelated assetReview each changed destination as a user-visible branding contract.
A product identity change omits a related identity pathThe application, crash data, installer, or web-facing brand shows mixed namesReview platform identity and user-agent identity separately in the same change.
A search provider relies on a remote image URLIts choice UI icon can disappear when the network resource is unavailableKeep intended provider images local and keep built-in provider assets enabled.

Key files

FileWhy to read it
patches/helium/core/change-chromium-branding.patchDefines the main product, company, installer, platform, and crash-report identity.
patches/helium/core/spoof-chrome-ua-brand.patchDefines the separate Google Chrome user-agent compatibility brand.
resources/helium_resources.txtMaps Helium artwork and favicons to Chromium resource paths.
resources/generate_resources.txtDefines scaled icon outputs from the raw application icon.
utils/generate_resources.pyDefines the icon generation stage.
utils/replace_resources.pyDefines the resource replacement stage.
patches/helium/core/search/break-favicons.patchDefines the local search-provider image policy.
patches/helium/core/replace-default-profile-name.patchShows a user-facing profile label substitution.
patches/helium/settings/fix-page-names.patchShows page-level name substitutions.