所有一级页面和不分二级页面
This commit is contained in:
41
lib/features/v2/my/presentation/constants/my_constants.dart
Normal file
41
lib/features/v2/my/presentation/constants/my_constants.dart
Normal file
@@ -0,0 +1,41 @@
|
||||
/// 我的页面全局常量
|
||||
/// 包含颜色、尺寸等全局配置
|
||||
library;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// 颜色常量
|
||||
class MyColors {
|
||||
/// 主色调
|
||||
static const Color primary = Color(0xFF165DFF);
|
||||
|
||||
/// 背景色
|
||||
static const Color background = Color(0xFFF5F7FA);
|
||||
|
||||
/// 卡片背景色
|
||||
static const Color cardBackground = Color(0xFFFFFFFF);
|
||||
|
||||
/// 主要文字色
|
||||
static const Color textPrimary = Color(0xFF1D2129);
|
||||
|
||||
/// 次要文字色
|
||||
static const Color textSecondary = Color(0xFF4E5969);
|
||||
|
||||
/// 辅助文字色
|
||||
static const Color textTertiary = Color(0xFF86909C);
|
||||
}
|
||||
|
||||
/// 尺寸常量
|
||||
class MyDimensions {
|
||||
/// 通用圆角
|
||||
static const double borderRadius = 12.0;
|
||||
|
||||
/// 水平边距
|
||||
static const double horizontalPadding = 16.0;
|
||||
|
||||
/// 模块间距
|
||||
static const double moduleSpacing = 16.0;
|
||||
|
||||
/// 卡片阴影模糊半径
|
||||
static const double cardShadowBlur = 8.0;
|
||||
}
|
||||
Reference in New Issue
Block a user