48 lines
1.2 KiB
Dart
48 lines
1.2 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class AppTheme {
|
|
static const Color bgLight = Color(0xFFF5F7FA);
|
|
static const Color primary = Color(0xFF15171E);
|
|
static const Color accent = Color(0xFF748CAB);
|
|
|
|
// 流动状态颜色
|
|
static const Color flowStart = Color(0xFFA8E6CF);
|
|
static const Color flowEnd = Color(0xFFDCEDC1);
|
|
|
|
// 极光背景色系
|
|
static const Color blob1 = Color(0xFFE0C3FC);
|
|
static const Color blob2 = Color(0xFF8EC5FC);
|
|
static const Color blob3 = Color(0xFF90F7EC);
|
|
|
|
static const Color textMain = Color(0xFF000000);
|
|
static const Color textSub = Color(0xFF455A64);
|
|
|
|
static List<BoxShadow> softShadow = [
|
|
BoxShadow(
|
|
color: const Color(0xFF9E9E9E).withOpacity(0.2),
|
|
offset: const Offset(5, 5),
|
|
blurRadius: 15,
|
|
spreadRadius: 1,
|
|
),
|
|
const BoxShadow(
|
|
color: Colors.white,
|
|
offset: Offset(-5, -5),
|
|
blurRadius: 15,
|
|
spreadRadius: 1,
|
|
),
|
|
];
|
|
|
|
static List<BoxShadow> innerShadow = [
|
|
BoxShadow(
|
|
color: Colors.black.withOpacity(0.08),
|
|
offset: const Offset(3, 3),
|
|
blurRadius: 6,
|
|
),
|
|
BoxShadow(
|
|
color: Colors.white.withOpacity(0.8),
|
|
offset: const Offset(-3, -3),
|
|
blurRadius: 6,
|
|
),
|
|
];
|
|
}
|