and so on
This commit is contained in:
@@ -4,7 +4,8 @@ library;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
/// 颜色常量
|
||||
/// 颜色常量(仅保留告警等级等模式无关的品牌语义色,
|
||||
/// UI 层颜色请使用 context.appColors 语义色)
|
||||
class AlarmColors {
|
||||
/// 主色调
|
||||
static const Color primary = Color(0xFF165DFF);
|
||||
@@ -20,24 +21,6 @@ class AlarmColors {
|
||||
|
||||
/// 提示色 - 蓝色提示
|
||||
static const Color info = Color(0xFF69b1ff);
|
||||
|
||||
/// 背景色
|
||||
static const Color background = Color(0xFFFFFFFF);
|
||||
|
||||
/// 主要文字色
|
||||
static const Color textPrimary = Color(0xFF1D2129);
|
||||
|
||||
/// 次要文字色
|
||||
static const Color textSecondary = Color(0xFF4E5969);
|
||||
|
||||
/// 辅助文字色
|
||||
static const Color textTertiary = Color(0xFF86909C);
|
||||
|
||||
/// 未处理背景色
|
||||
static const Color unprocessedBg = Color(0xFFFFF0F0);
|
||||
|
||||
/// AI诊断卡片背景色
|
||||
static const Color aiCardBg = Color(0xFFF0F7FF);
|
||||
}
|
||||
|
||||
/// 尺寸常量
|
||||
@@ -53,13 +36,6 @@ class AlarmDimensions {
|
||||
|
||||
/// 导航栏高度
|
||||
static const double appBarHeight = 44.0;
|
||||
|
||||
/// 卡片阴影
|
||||
static BoxShadow cardShadow = const BoxShadow(
|
||||
color: Color(0x0D000000),
|
||||
blurRadius: 4,
|
||||
offset: Offset(0, 2),
|
||||
);
|
||||
}
|
||||
|
||||
/// 告警等级枚举
|
||||
|
||||
Reference in New Issue
Block a user