Currently, this is only available for websites who sign up to the trial, and only on Windows and Mac OS using Google Chrome. (Meta has this enabled on Light and Dark Themes).
The huge omission here is that there is no back/forward or reload button. Kind of wish we had some minimal responsive PWA panel that we add when we detect PWA cause you can figure this out this is going on from JavaScript.
You can also detect it from CSS, here is one thing I added as a theme-component to the Dark Theme here in Meta:
@media all and (display-mode: standalone) {
//blink-based browsers (don't work on safari, which exposes a JS only API for this)
::-webkit-scrollbar {
background: $secondary;
}
::-webkit-scrollbar-thumb {
background: $header_primary-medium;
}
::-webkit-scrollbar-corner {
background: $secondary;
}
//firefox
body {
scrollbar-color: $header_primary-medium $secondary;
}
}
Falco, gibt es eine Möglichkeit, dass es ein Aufleuchten oder eine Änderung der Hintergrundfarbe gibt, wenn sich der Benachrichtigungswert ändert? (Abgebrochen durch einen offenen Klick) Ich bin mit der API hier nicht vertraut.
Das würde ich auch sehr begrüßen. Besonders nützlich in Fällen, in denen das Branding-Symbol dunkel ist und die Benachrichtigung nicht gut sichtbar ist.
So sehr ich MSTeams auch verabscheue, das sanfte orangefarbene Leuchten ist als Beispiel in Ordnung. So etwas wäre eine sehr nette Geste.