2020-11-30 11:03:55 +01:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:selfprivacy/utils/named_font_weight.dart';
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
import 'package:selfprivacy/config/brand_colors.dart';
|
2020-11-30 11:03:55 +01:00
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
const TextStyle defaultTextStyle = TextStyle(
|
2021-03-18 01:55:38 +01:00
|
|
|
fontSize: 15,
|
|
|
|
color: BrandColors.textColor1,
|
2020-11-30 11:03:55 +01:00
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle headline1Style = defaultTextStyle.copyWith(
|
2020-11-30 11:03:55 +01:00
|
|
|
fontSize: 40,
|
|
|
|
fontWeight: NamedFontWeight.extraBold,
|
|
|
|
color: BrandColors.headlineColor,
|
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle headline2Style = defaultTextStyle.copyWith(
|
2021-01-06 18:35:57 +01:00
|
|
|
fontSize: 24,
|
|
|
|
fontWeight: NamedFontWeight.extraBold,
|
|
|
|
color: BrandColors.headlineColor,
|
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle onboardingTitle = defaultTextStyle.copyWith(
|
2020-12-30 15:13:25 +01:00
|
|
|
fontSize: 30,
|
2020-11-30 11:03:55 +01:00
|
|
|
fontWeight: NamedFontWeight.extraBold,
|
|
|
|
color: BrandColors.headlineColor,
|
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle headline3Style = defaultTextStyle.copyWith(
|
2020-12-02 10:16:23 +01:00
|
|
|
fontSize: 20,
|
|
|
|
fontWeight: NamedFontWeight.extraBold,
|
|
|
|
color: BrandColors.headlineColor,
|
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle headline4Style = defaultTextStyle.copyWith(
|
2020-11-30 11:03:55 +01:00
|
|
|
fontSize: 18,
|
|
|
|
fontWeight: NamedFontWeight.medium,
|
|
|
|
color: BrandColors.headlineColor,
|
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle headline4UnderlinedStyle = defaultTextStyle.copyWith(
|
2021-09-29 20:28:47 +02:00
|
|
|
fontSize: 18,
|
|
|
|
fontWeight: NamedFontWeight.medium,
|
|
|
|
color: BrandColors.headlineColor,
|
|
|
|
decoration: TextDecoration.underline,
|
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle headline5Style = defaultTextStyle.copyWith(
|
2021-03-26 14:38:39 +01:00
|
|
|
fontSize: 15,
|
|
|
|
fontWeight: NamedFontWeight.medium,
|
|
|
|
color: BrandColors.headlineColor.withOpacity(0.8),
|
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
const TextStyle body1Style = defaultTextStyle;
|
|
|
|
final TextStyle body2Style = defaultTextStyle.copyWith(
|
2020-11-30 11:03:55 +01:00
|
|
|
color: BrandColors.textColor2,
|
|
|
|
);
|
2020-12-03 17:52:53 +01:00
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle buttonTitleText = defaultTextStyle.copyWith(
|
2021-02-15 19:58:29 +01:00
|
|
|
color: BrandColors.white,
|
|
|
|
fontSize: 16,
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
height: 1,
|
|
|
|
);
|
|
|
|
|
2022-06-10 00:13:06 +03:00
|
|
|
final TextStyle mediumStyle =
|
|
|
|
defaultTextStyle.copyWith(fontSize: 13, height: 1.53);
|
2021-01-06 18:35:57 +01:00
|
|
|
|
2022-06-10 00:13:06 +03:00
|
|
|
final TextStyle smallStyle =
|
|
|
|
defaultTextStyle.copyWith(fontSize: 11, height: 1.45);
|
2020-12-30 15:13:25 +01:00
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
const TextStyle progressTextStyleLight = TextStyle(
|
2021-03-18 01:55:38 +01:00
|
|
|
fontSize: 11,
|
|
|
|
color: BrandColors.textColor1,
|
2021-03-31 13:37:39 +02:00
|
|
|
height: 1.7,
|
2020-12-30 15:13:25 +01:00
|
|
|
);
|
|
|
|
|
2022-06-05 22:36:32 +03:00
|
|
|
final TextStyle progressTextStyleDark = progressTextStyleLight.copyWith(
|
2021-03-18 01:55:38 +01:00
|
|
|
color: BrandColors.white,
|
2020-12-30 15:13:25 +01:00
|
|
|
);
|