Files
backend/frontend/src/theme.ts
T
34047007@qq.com 62ca8fa6b8
CI / backend (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
chore: batch commit remaining changes
Includes search engine improvements, Alembic migrations,
new services (pubmed_daily_update, query_expansion),
frontend updates, and documentation sync.
2026-07-27 08:35:12 +08:00

37 lines
974 B
TypeScript

import type { GlobalThemeOverrides } from 'naive-ui'
export const themeOverrides: GlobalThemeOverrides = {
common: {
primaryColor: '#1a5276',
primaryColorHover: '#2471a3',
primaryColorPressed: '#154360',
primaryColorSuppl: '#2e86c1',
borderRadius: '8px',
fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif',
},
Form: {
feedbackFontSizeSmall: '10px',
feedbackHeightSmall: '14px',
blankHeightSmall: '14px',
labelFontSizeLeftSmall: '13px',
},
Card: {
borderRadius: '8px',
paddingMedium: '16px',
},
Tag: {
borderRadius: '4px',
},
Layout: {
// siderColor 在暗色模式下由 darkTheme 自动处理,不再硬编码
},
Input: {
paddingMedium: '0 10px',
border: '1px solid #bbb',
borderHover: '1px solid #2471a3',
borderFocus: '1px solid #2471a3',
boxShadowFocus: '0 0 0 2px rgba(26,82,118,0.1)',
},
}