This sounds like an explanation for “seeing the light”
From what I know, the brain just dumps the rest of its brain activity before death and the overstimulation is like one of the best highs you could have before dying. It’s like a safety mechanism to make dying less painful.
How is it dark mode with the toggle being off for you? Do you have forced dark mode on?