Project

General

Profile

Dark theme implementation

Added by ask low 6 months ago

I wanna know how the blink's way of theming a webpage dark on Android. On desktop, it's cielab based inversion (which excludes foreground components such as images, svgs, etc & applies inversion on text & background).

Questions:
1. Is this the same with Android Webview ?
2. Should I prefer site's own dark mode (if provided) & disable webview's dark mode ? If so, is doing this be more efficient ?


Replies (1)

RE: Dark theme implementation - Added by Soren Stoutner 6 months ago

I don't know the answers to your questions, but you can read a little of Android's documentation at:

https://developer.android.com/develop/ui/views/layout/webapps/dark-theme

    (1-1/1)