You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.8 KiB
67 lines
1.8 KiB
// Flutter imports:
|
|
import 'package:flutter/material.dart';
|
|
|
|
// Package imports:
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
export 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
export 'package:aku_community_manager/const/resource.dart';
|
|
|
|
//默认小区名称
|
|
const kEstateName = '深圳华茂悦峰';
|
|
//颜色,渐变主颜色和次级颜色
|
|
const kPrimaryColor = Color(0xFFFDCF12);
|
|
const kMinorColor = Color(0xFFFFDF5D);
|
|
const kSubColor = Color(0xFF3F8FFE);
|
|
//字体
|
|
///主字体颜色
|
|
const kTextPrimaryColor = Color(0xFF333333);
|
|
|
|
///次字体颜色
|
|
const kTextSubColor = Color(0xFF999999);
|
|
|
|
///背景色
|
|
const kBackgroundColor = Color(0xFFF9F9F9);
|
|
|
|
class AppStyle {
|
|
//颜色,渐变主颜色和次级颜色
|
|
static const primaryColor = Color(0xFFFDCF12);
|
|
static const minorColor = Color(0xFFFFDF5D);
|
|
static const secondaryColor = Color(0xFF3F8FFE);
|
|
|
|
//字体
|
|
///主字体颜色
|
|
static const primaryTextColor = Color(0xFF333333);
|
|
|
|
///次字体颜色
|
|
static const minorTextColor = Color(0xFF999999);
|
|
|
|
///背景色
|
|
static const backgroundColor = Color(0xFFF9F9F9);
|
|
|
|
///成功色
|
|
static const successColor = Color(0xFF32B814);
|
|
|
|
static const subSuccessColor = Color(0xFFE5FFDF);
|
|
|
|
///失败色
|
|
static const failColor = Color(0xFFFF4501);
|
|
|
|
static const subFailColor = Color(0xFFFFE5DB);
|
|
|
|
///字体格式
|
|
final barTitleStyle = TextStyle(
|
|
color: primaryTextColor,
|
|
fontSize: 36.sp,
|
|
fontWeight: FontWeight.bold,
|
|
);
|
|
final primaryStyle = TextStyle(
|
|
color: primaryTextColor, fontSize: 28.sp, fontWeight: FontWeight.bold);
|
|
final minorStyle = TextStyle(
|
|
color: minorTextColor, fontSize: 24.sp, fontWeight: FontWeight.normal);
|
|
final secondaryTextStyle = TextStyle(
|
|
color: AppStyle.minorTextColor,
|
|
fontSize: 28.sp,
|
|
fontWeight: FontWeight.normal);
|
|
}
|