mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-08 15:09:27 +08:00
* chore: use token better * chore: use rgba * feat: add some custom tokens * Revert "chore: use rgba" This reverts commit dac660f6936ab795d52561ce79d0e6a7a721cc71. * feat: adaptor tokens * chore: adjust details * chore: fix unit tests * chore: remove box shadow from buttons in the upper right corner of the page * fix: font size
27 lines
670 B
TypeScript
27 lines
670 B
TypeScript
import { ThemeConfig } from './type';
|
|
|
|
const defaultTheme: ThemeConfig = {
|
|
name: '',
|
|
token: {
|
|
// 顶部导航栏
|
|
colorPrimaryHeader: '#001529',
|
|
colorBgHeader: '#001529',
|
|
colorBgHeaderMenuHover: '#ffffff1a',
|
|
colorBgHeaderMenuActive: '#ffffff1a',
|
|
colorTextHeaderMenu: '#ffffffa6',
|
|
colorTextHeaderMenuHover: '#ffffff',
|
|
colorTextHeaderMenuActive: '#ffffff',
|
|
|
|
// UI 配置组件
|
|
colorSettings: '#F18B62',
|
|
colorBgSettingsHover: 'rgba(241, 139, 98, 0.06)',
|
|
colorBorderSettingsHover: 'rgba(241, 139, 98, 0.3)',
|
|
|
|
// 动画相关
|
|
motionUnit: 0.03,
|
|
motion: !process.env.__E2E__,
|
|
},
|
|
};
|
|
|
|
export default defaultTheme;
|