You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding #1 it would be nice to have something to test the brightness with.
Is there anything out there to intercept the API?
Maybe should we build a simple hook to be able to run a script to for example:
Fake fade between dark and light "ambient light" (to be able to test dynamic theme coloring)
The text was updated successfully, but these errors were encountered:
The ambient() api is rather primitive, and now it doesn't out of the box support intercepting it..
While implementing it, I used a flashlight to get high ambient data readings and/or just covered it with my hand. But a more proper method for trying it out would definitely make it easier.
A lazy idea would just to rewrite ambient() to return looping values of [dark, shadows, outside, shadows].
But I'm sure open for more proper/better solutions. Maybe we should even just make the ambient() to take like {debug: true} to return values that would cover the transition from dark to light and back.
Btw, I got following ambient light readings when I was implementing it:
Regarding #1 it would be nice to have something to test the brightness with.
Is there anything out there to intercept the API?
Maybe should we build a simple hook to be able to run a script to for example:
The text was updated successfully, but these errors were encountered: