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.

32 lines
904 B

4 years ago
import 'package:flutter/material.dart';
4 years ago
import 'package:flutter_screenutil/flutter_screenutil.dart';
4 years ago
class AppStyle {
//颜色,渐变主颜色和次级颜色
static const primaryColor = Color(0xFFFDCF12);
static const minorColor = Color(0xFFFFDF5D);
static const secondaryColor = Color(0xFF3F8FFE);
4 years ago
//字体
///主字体颜色
static const primaryTextColor = Color(0xFF333333);
///次字体颜色
static const minorTextColor = Color(0xFF999999);
4 years ago
///背景色
static const backgroundColor = Color(0xFFF9F9F9);
4 years ago
///字体格式
final barTitleStyle = TextStyle(
4 years ago
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);
}