selfprivacy.org.app/lib/config/text_themes.dart

68 lines
1.6 KiB
Dart
Raw Normal View History

2020-11-30 12:03:55 +02:00
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:selfprivacy/utils/named_font_weight.dart';
import 'brand_colors.dart';
final defaultTextStyle = GoogleFonts.inter(
textStyle: TextStyle(
fontSize: 15,
color: BrandColors.textColor1,
),
);
final headline1Style = GoogleFonts.inter(
fontSize: 40,
fontWeight: NamedFontWeight.extraBold,
color: BrandColors.headlineColor,
);
final headline2Style = GoogleFonts.inter(
2021-01-06 19:35:57 +02:00
fontSize: 24,
fontWeight: NamedFontWeight.extraBold,
color: BrandColors.headlineColor,
);
final onboardingTitle = GoogleFonts.inter(
2020-12-30 16:13:25 +02:00
fontSize: 30,
2020-11-30 12:03:55 +02:00
fontWeight: NamedFontWeight.extraBold,
color: BrandColors.headlineColor,
);
2020-12-02 11:16:23 +02:00
final headline3Style = GoogleFonts.inter(
fontSize: 20,
fontWeight: NamedFontWeight.extraBold,
color: BrandColors.headlineColor,
);
2020-12-08 21:26:51 +02:00
final headline4Style = GoogleFonts.inter(
2020-11-30 12:03:55 +02:00
fontSize: 18,
fontWeight: NamedFontWeight.medium,
color: BrandColors.headlineColor,
);
2020-12-01 21:08:19 +02:00
final body1Style = defaultTextStyle;
final body2Style = defaultTextStyle.copyWith(
2020-11-30 12:03:55 +02:00
color: BrandColors.textColor2,
);
2020-12-03 18:52:53 +02:00
2021-01-06 19:35:57 +02:00
final mediumStyle = defaultTextStyle.copyWith(fontSize: 13, height: 1.53);
2020-12-03 18:52:53 +02:00
final smallStyle = defaultTextStyle.copyWith(fontSize: 11, height: 1.45);
2020-12-30 16:13:25 +02:00
final linkStyle = defaultTextStyle.copyWith(color: BrandColors.blue);
final progressTextStyleLight = GoogleFonts.inter(
textStyle: TextStyle(
fontSize: 13,
color: BrandColors.textColor1,
),
);
final progressTextStyleDark = GoogleFonts.inter(
textStyle: TextStyle(
fontSize: 13,
color: BrandColors.white,
),
);