Hardcore darkness?

I'm making a datapack inspired by Better than Wolves and I want to make it pitch black at night and in caves. Is this something I can do in a datapack? Or will I have to make a shader or something?
Continue to help post