mirror of
https://github.com/Zakkaus/doona.git
synced 2026-12-06 00:00:57 +00:00
In Chrome and Edge, Glass cards, the sign-in card and the phone's bottom bar now take the floating panel's material: a 4px blur, the lens that bends the wallpaper at the bezel, and the rim's specular, which multiplies the bent backdrop by a gain lit from the top left, so the edge takes the colour of what lies behind it. The fill stays at the panel's 0.4 in light, so the wallpaper shows through and bends at every card edge. The filter is shared by every card through the 20px class, and its nine slices stretch to any card size. Menus and dialogs, which sit over the page's text, keep a thicker fill. No palette draws a line round a card any more: the backdrop rim layer and its tokens are gone. The edge comes from the shadow and the material, and in Chromium's Glass from the lens. The card still draws no border, which would leave its material a pixel inside its overflow clip; its padding takes that pixel, so the layout is unchanged. Reduce Transparency, Increase Contrast and forced colours give the card back a solid 1px border. The phone's bottom bar thickens towards the solid chrome over its lower half, where Chromium's blur fades out at the viewport's edge and let the page's text show sharp under the labels. The Glass spec also runs in the Safari project. Frosted takes Float's recipe; Float is removed. Glass puts no sheet behind the content, so cards float on the wallpaper, and floats its chrome over the content as the cards' glass, as macOS 26 does. The top bar draws no material: the brand sits on the wallpaper, and the search field and the icon buttons are two capsules of the cards' fill with a plain blur, drawn just outside the controls so their sizes and places are unchanged. Once the page scrolls, a progressive blur under the bar, masked to fade downwards, keeps the content passing beneath from colliding with the capsules; a root attribute set by a passive scroll listener shows it, since Safari 17 and Firefox lack scroll-driven animations. The sidebar is a floating card with the cards' fill, lens, corners and shadow, inset by the card grid's gap, and the whiter sidebar fill is gone. Frosted and Tinted keep the shared chrome sheet. Tiles and tables inside a card or the floating panel drop their own fill, controls are tints of the label colour, and controls on the wallpaper outside any card take the cards' fill with a plain blur, since the lens on a 32px control shows only as a bright rim. The unused grain token is gone.