Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Set meta prop "theme-color" #5847

Closed

Description

@kulmann

The new Safari on macOS decorates the tab bar with the color from <meta name="theme-color" content="#375f7E">

CleanShot 2021-09-27 at 21 34 40

Check if we can use the brand color from the currently loaded theme there.

cc @michaelstingl

Activity

  1. Shu12388y commented on Jan 16, 2023

    @Shu12388y

    @kulmann can you assign this issue to me. I want to work on this issue.

  2. kulmann commented on Jan 16, 2023

    @kulmann
    ContributorAuthor
  3. Shu12388y commented on May 31, 2023

    @Shu12388y

    @kulmann I have added the meta prop "theme-color"

  4. ubermensch19 commented on Jan 21, 2026

    @ubermensch19
    Contributor

    Since CSS variables can't be used directly in meta tags , can I use getComputedStyle() to read the resolved value of --oc-color-swatch-brand-default and inject it into the theme-color meta tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Topic:good-first-issue

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions