Add dark mode with next-themes

This commit is contained in:
Defectink
2022-03-22 11:55:03 +08:00
parent 97f2275ce7
commit bc7ada8abc
8 changed files with 75 additions and 18 deletions

View File

@ -1,4 +1,5 @@
module.exports = {
darkMode: 'class',
content: [
'./pages/**/*.{js,ts,jsx,tsx,md,mdx}',
'./components/**/*.{js,ts,jsx,tsx}',