Add next-themes logic + icons.

This commit is contained in:
Arne Pedersen
2022-12-25 14:12:58 +01:00
parent eace80ff1e
commit 1b9d1cc8e6
3 changed files with 65 additions and 10 deletions

View File

@@ -1,18 +1,19 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/views/**/*.{js,ts,jsx,tsx}",
"./src/pages/**/*.{js,ts,jsx,tsx}",
"./src/components/**/*.{js,ts,jsx,tsx}",
"./src/views/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
'custom-green-light': '#6b9370',
'custom-green-dark': '#4D6A51',
'custom-black': '#3C3744'
}
}
"custom-green-light": "#6b9370",
"custom-green-dark": "#4D6A51",
"custom-black": "#3C3744",
},
},
},
plugins: [],
}