feat: 实现后台管理前端全部页面与登录布局
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
import type { GlobalThemeOverrides } from 'naive-ui';
|
||||
|
||||
// 商务深蓝主色 + 统一设计令牌
|
||||
export const BRAND = {
|
||||
primary: '#1f3864',
|
||||
primaryHover: '#2e5496',
|
||||
primaryPressed: '#162a4d',
|
||||
primarySuppl: '#2e5496',
|
||||
radius: '8px',
|
||||
};
|
||||
|
||||
export const themeOverrides: GlobalThemeOverrides = {
|
||||
common: {
|
||||
primaryColor: BRAND.primary,
|
||||
primaryColorHover: BRAND.primaryHover,
|
||||
primaryColorPressed: BRAND.primaryPressed,
|
||||
primaryColorSuppl: BRAND.primarySuppl,
|
||||
infoColor: BRAND.primaryHover,
|
||||
borderRadius: BRAND.radius,
|
||||
borderRadiusSmall: '6px',
|
||||
fontSize: '14px',
|
||||
fontWeightStrong: '600',
|
||||
},
|
||||
Card: {
|
||||
borderRadius: '12px',
|
||||
},
|
||||
Button: {
|
||||
borderRadiusMedium: BRAND.radius,
|
||||
},
|
||||
DataTable: {
|
||||
thColor: '#f4f7fc',
|
||||
thTextColor: '#1f2937',
|
||||
borderRadius: BRAND.radius,
|
||||
},
|
||||
Layout: {
|
||||
siderColor: '#1f2a44',
|
||||
},
|
||||
Menu: {
|
||||
itemTextColorInverted: 'rgba(255,255,255,0.82)',
|
||||
itemIconColorInverted: 'rgba(255,255,255,0.82)',
|
||||
itemTextColorHoverInverted: '#ffffff',
|
||||
itemIconColorHoverInverted: '#ffffff',
|
||||
itemColorActiveInverted: BRAND.primaryHover,
|
||||
itemColorActiveHoverInverted: BRAND.primaryHover,
|
||||
itemTextColorActiveInverted: '#ffffff',
|
||||
itemIconColorActiveInverted: '#ffffff',
|
||||
itemTextColorChildActiveInverted: '#ffffff',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user