Hedgehogs in captivity are sedentary and prone to obesity, so their diet should be relatively high in protein and low in fat. Remember, hedgehogs primarily sleep during the day and forage for food in the evening. The main meal should be offered later in the day when they are more active. However, you can leave small amounts of food in their cage for them to snack on throughout the day.
For more information, please read
How to Feed Your Hedgehog.