Skip to content

Instantly share code, notes, and snippets.

@owenconti
Created December 13, 2020 17:43
Show Gist options
  • Save owenconti/dc3e8e399c479fa2e9f25765cb16c0a1 to your computer and use it in GitHub Desktop.
Save owenconti/dc3e8e399c479fa2e9f25765cb16c0a1 to your computer and use it in GitHub Desktop.
Adding dark mode support to a Tailwind website
// tailwind.config.js
module.exports = {
darkMode: 'media',
// Rest of config here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment