Proposing new env()
variables to enable title bar customization on installed Web Apps
#6367
Labels
env()
variables to enable title bar customization on installed Web Apps
#6367
Hola everyone! Diego here from the Edge team. I've been working with my colleagues on a feature that allows to customize the title bar for installed Web applications. The feature we are working on is called Window Controls Overlay and it proposes a set of new env() variables that define the area of the mentioned title bar.
These variables are:
titlebar-area-x
titlebar-area-y
titlebar-area-width
titlebar-area-height
We want to add these env() variables since they provide a responsive CSS solution that the JS counterpart can't easily replicate. This is necessary when a window is resized or when the overlay area dynamically accommodates an extension icon for example.
We'd love to get this into the CSS spec, and I'd love to read your thoughts and feedback, so please feel free to use this GitHub thread as a discussion forum.
You can see the sample code to get an idea of how this works.
The text was updated successfully, but these errors were encountered: