web icon indicating copy to clipboard operation
web copied to clipboard

Set meta prop "theme-color"

Open kulmann opened this issue 4 years ago • 5 comments

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

kulmann avatar Sep 28 '21 08:09 kulmann

Perhaps not working, see https://css-tricks.com/meta-theme-color-and-trickery/#custom-properties

pascalwengerter avatar Sep 28 '21 08:09 pascalwengerter

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

Shu12388y avatar Jan 16 '23 15:01 Shu12388y

Can probably be added here: https://github.com/owncloud/web/blob/8723750b07ce49b04a9d0a3c46ebc064eedbe2f2/packages/web-runtime/src/composables/head/useHead.ts

dschmidt avatar Jan 16 '23 15:01 dschmidt

Can probably be added here: https://github.com/owncloud/web/blob/8723750b07ce49b04a9d0a3c46ebc064eedbe2f2/packages/web-runtime/src/composables/head/useHead.ts

I was just about to post the very same link 😆 Thank you @dschmidt !

kulmann avatar Jan 16 '23 15:01 kulmann

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

Shu12388y avatar May 31 '23 13:05 Shu12388y