feat: adaptive light mode

This commit is contained in:
WanQuanXie 2024-05-24 20:29:49 +08:00
parent f9664d48e7
commit 996cc1b674
18 changed files with 149 additions and 102 deletions

View file

@ -1,4 +1,5 @@
import type { Config } from 'tailwindcss';
import color from 'tailwindcss/colors';
const config: Config = {
content: [
@ -8,7 +9,18 @@ const config: Config = {
],
darkMode: 'class',
theme: {
extend: {},
extend: {
borderColor: {
light: 'rgba(0, 0, 0, 0.1)',
dark: '#1c1c1c',
},
colors: {
primaryDark: '#0a0a0a',
secondDark: '#1c1c1c',
primaryLight: '#fff',
secondLight: color.gray[50],
},
},
},
plugins: [require('@tailwindcss/typography')],
};