feat(web): 🎨 Unified color theme, AntV light/dark theme switching, Antd first-screen style loading. (#1020)

Co-authored-by: 黄振洪 <hzh01509324@alibaba-inc.com>
Co-authored-by: Aralhi <xiaoping0501@gmail.com>
This commit is contained in:
Hzh_97
2024-01-12 09:44:52 +08:00
committed by GitHub
parent 2706e27ae5
commit 99ea6ac1a4
99 changed files with 1125 additions and 1410 deletions

View File

@@ -8,8 +8,17 @@ module.exports = {
fontFamily: {
sans: ['"Josefin Sans"', ...defaultTheme.fontFamily.sans],
},
colors: {
theme: {
primary: '#0069fe',
light: '#f7f7f7',
dark: '#151622',
'dark-container': '#232734',
},
},
},
},
important: true,
darkMode: 'class',
/**
* @see https://www.tailwindcss-animated.com/configurator.html