添加注册和账户信息页面,更新登录页面,修改样式和国际化文本,调整导航逻辑,更新 package.json 以支持 Node 22.12.0,替换 logo 图片。
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -82,13 +82,14 @@ export const positionFixed = useStyles({
|
||||
position: 'fixed',
|
||||
});
|
||||
|
||||
export const getColor = (color = {brandPrimary: '#ff6600', brandPrimaryTap: '#ff6600' }) => {
|
||||
export const getColor = (
|
||||
color = { brandPrimary: '#6B39F4', brandPrimaryTap: '#ff6600', checkbox_border: '#888888', fill_body: '#ffffff',fill_base: '#f5f5f9' },
|
||||
) => {
|
||||
const brandPrimary = color.brandPrimary || '#108ee9';
|
||||
const brandPrimaryTap = color.brandPrimaryTap || '#1284d6';
|
||||
const brandPrimaryTap = color.brandPrimaryTap || '#1284d6';
|
||||
return {
|
||||
transparent: 'transparent',
|
||||
brandPrimary,
|
||||
brandPrimaryTap,
|
||||
brandPrimary,
|
||||
brandPrimaryTap,
|
||||
|
||||
// 文字色
|
||||
color_text_base: color.color_text_base || '#000000', // 基本
|
||||
@@ -124,7 +125,7 @@ export const getColor = (color = {brandPrimary: '#ff6600', brandPrimaryTap: '#ff
|
||||
primary_button_fill_tap: color.primary_button_fill_tap || brandPrimaryTap,
|
||||
|
||||
ghost_button_color: color.ghost_button_color || brandPrimary, // 同时应用于背景、文字颜色、边框色
|
||||
ghost_button_fill_tap: color.ghost_button_fill_tap || `${brandPrimary}99`, // alpha 60%
|
||||
ghost_button_fill_tap: color.ghost_button_fill_tap || `${brandPrimary}99`, // alpha 60%
|
||||
|
||||
warning_button_fill: color.warning_button_fill || '#e94f4f',
|
||||
warning_button_fill_tap: color.warning_button_fill_tap || '#d24747',
|
||||
|
||||
Reference in New Issue
Block a user