Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible for the extension page to match the Chrome theme color? #1416

Closed
daidr opened this issue Feb 20, 2025 · 1 comment
Closed

Comments

@daidr
Copy link
Contributor

daidr commented Feb 20, 2025

Chrome allows customizing theme colors. I hope the extension's page can match Chrome's theme color. Is there currently an API that provides this capability?

Chrome's default new-tab page seems to be able to load CSS variables through chrome://theme/colors.css?sets=ui,chrome, but this does not work in custom extensions.

@oliverdunk
Copy link
Member

Hi @daidr - I hope you're well. We don't have an API for this currently, but there is some prior discussion in w3c/webextensions#680. I'm going to close this one since it isn't a sample issue but would love to provide a capability for this eventually :)

@oliverdunk oliverdunk closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2025
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

No branches or pull requests

2 participants