Skip to content

Allow setting the color for controls in the browser toolbar#1315

Open
JanMisker wants to merge 6 commits intoionic-team:mainfrom
JanMisker:main
Open

Allow setting the color for controls in the browser toolbar#1315
JanMisker wants to merge 6 commits intoionic-team:mainfrom
JanMisker:main

Conversation

@JanMisker
Copy link

This PR implements setting a color for the controls in the browser overlay, as mentioned in #911 .
I only made changes for iOS, not sure if something is needed for Android.

So now next to the toolbarColor you can also set a controlsColor in the params for Browser.open, e.g.

Browser.open({
   url: "https://capacitorjs.com",
   toolbarColor: "#ff0000",
   controlsColor: "#00ff00"
});

Enable setting both the toolbar tint as well as the controls tint color.
@WouterWidgets
Copy link

Would love to see this one merged and published 🙏

@codemis
Copy link

codemis commented Sep 18, 2025

I would love to see this merged in and available. 🤓 👍

@eric-horodyski
Copy link
Member

Thanks for opening this PR 🙏

As part of our backlog maintenance effort, we’re reviewing older pull requests for compatibility with the current branch structure and latest releases.

Details: https://ionic.io/blog/keeping-capacitors-backlog-healthy

This PR will need to be rebased against the latest main branch and updated to resolve merge conflicts.

If we don’t see updates within 7 days, we’ll close it to keep the queue focused — but it can always be resubmitted once updated.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants