If your Macbook isn't charging, there are several ways you can troubleshoot to get the computer to accept a charge.
You can turn on Dark Mode on your Mac through the System Preferences menu if your computer is running macOS Mojave or later.