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

Switch to -moz-window-titlebar? #11

Closed
emilio opened this issue Apr 14, 2024 · 4 comments
Closed

Switch to -moz-window-titlebar? #11

emilio opened this issue Apr 14, 2024 · 4 comments

Comments

@emilio
Copy link

emilio commented Apr 14, 2024

Hey, just a heads-up. I just realized that this is going to break with the changes in https://bugzilla.mozilla.org/show_bug.cgi?id=1891300 (because appearance: menupopup won't do what you want anymore unless you apply it to a popup).

But:

  • I've been working on a more native-looking theme (currently default on nightly with browser.theme.macos.native-theme=true).
  • If you want a similar effect to what menupopup gave you, you can use appearance: -moz-window-titlebar. The default appearance uses the within-window appearance, but you can get behind-window blending with widget.macos.titlebar-blend-mode.behind-window (and a restart).

Cheers,

@zvuc
Copy link
Owner

zvuc commented Apr 15, 2024

Thanks for the heads up! I just tested with the Nightly version and your suggestions work perfectly.
When these changes from Nightly get to the Release version I'll be sure to update the stylesheet as you suggested.

BTW It's also nice to see Firefox finally gets the macOS wallpaper window tint colors in as well — do you think there's a chance the tints will be applied globally across other UI background colors (URL toolbar, tab bg etc..) as well in the coming future? Would be nice if the tint color be accessible as CSS variable or as some other internal form so that colors can be mixed for use in UI.

@emilio
Copy link
Author

emilio commented Apr 15, 2024

do you think there's a chance the tints will be applied globally across other UI background colors (URL toolbar, tab bg etc..) as well in the coming future? Would be nice if the tint color be accessible as CSS variable or as some other internal form so that colors can be mixed for use in UI

That'd be nice, but at least I'm not aware of a way of extracting the tint color for non-native usage like that. E.g., these colors are exposed via e.g. the Window system color, but they don't include tinting when you read the colors out afaict.

@bdusen
Copy link

bdusen commented May 18, 2024

Now that Firefox 126 has dropped any chance in getting these updates deployed? My tab bar is looking awfully opaque. :)

@zvuc
Copy link
Owner

zvuc commented May 19, 2024

Applied changes in 4a2a2b8 !
Thanks! :)

@zvuc zvuc closed this as completed May 19, 2024
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

3 participants