Working with the device light api to replicate the effects of the @media
light-level