stack_wallet/lib/utilities/text_styles.dart

238 lines
5.8 KiB
Dart
Raw Normal View History

2022-08-26 08:11:35 +00:00
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:stackwallet/utilities/cfcolors.dart';
class STextStyles {
static final TextStyle pageTitleH1 = GoogleFonts.inter(
color: CFColors.black,
fontWeight: FontWeight.w600,
fontSize: 20,
);
static final TextStyle pageTitleH2 = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w600,
fontSize: 18,
);
static final TextStyle navBarTitle = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w600,
fontSize: 16,
);
static final TextStyle titleBold12 = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w600,
fontSize: 16,
);
static final TextStyle subtitle = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w400,
fontSize: 16,
);
static final TextStyle button = GoogleFonts.inter(
color: CFColors.white,
fontWeight: FontWeight.w500,
fontSize: 16,
);
static final TextStyle largeMedium14 = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w500,
fontSize: 16,
);
static final TextStyle smallMed14 = GoogleFonts.inter(
color: CFColors.neutral50,
fontWeight: FontWeight.w500,
fontSize: 16,
);
static final TextStyle smallMed12 = GoogleFonts.inter(
color: CFColors.neutral50,
fontWeight: FontWeight.w500,
fontSize: 14,
);
static final TextStyle label = GoogleFonts.inter(
color: CFColors.neutral60,
fontWeight: FontWeight.w500,
fontSize: 12,
);
static final TextStyle itemSubtitle = GoogleFonts.inter(
color: CFColors.neutral60,
fontWeight: FontWeight.w500,
fontSize: 14,
);
static final TextStyle itemSubtitle12 = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w500,
fontSize: 14,
);
static final TextStyle fieldLabel = GoogleFonts.inter(
color: CFColors.gray3,
fontWeight: FontWeight.w500,
fontSize: 14,
height: 1.5,
);
static final TextStyle field = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w500,
fontSize: 14,
height: 1.5,
);
static final TextStyle baseXS = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w400,
fontSize: 14,
);
static final TextStyle link = GoogleFonts.inter(
color: CFColors.link,
fontWeight: FontWeight.w500,
fontSize: 14,
);
static final TextStyle link2 = GoogleFonts.inter(
color: CFColors.link2,
fontWeight: FontWeight.w500,
fontSize: 14,
);
static final TextStyle richLink = GoogleFonts.inter(
color: CFColors.primaryBlue,
fontWeight: FontWeight.w500,
fontSize: 12,
);
static final TextStyle w600_10 = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w600,
fontSize: 12,
);
static final TextStyle syncPercent = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w500,
fontSize: 12,
);
static final TextStyle buttonSmall = GoogleFonts.inter(
color: CFColors.stackAccent,
fontWeight: FontWeight.w500,
fontSize: 12,
);
static final TextStyle errorSmall = GoogleFonts.inter(
color: CFColors.error,
fontWeight: FontWeight.w500,
fontSize: 10,
);
static final TextStyle infoSmall = GoogleFonts.inter(
color: CFColors.neutral60,
fontWeight: FontWeight.w500,
fontSize: 10,
);
// Desktop
static final TextStyle desktopH2 = GoogleFonts.inter(
color: CFColors.textDark,
fontWeight: FontWeight.w600,
fontSize: 32,
height: 32 / 32,
);
static final TextStyle desktopH3 = GoogleFonts.inter(
color: CFColors.textDark,
fontWeight: FontWeight.w600,
fontSize: 24,
height: 24 / 24,
);
static final TextStyle desktopTextMedium = GoogleFonts.inter(
color: CFColors.textDark,
fontWeight: FontWeight.w500,
fontSize: 20,
height: 30 / 20,
);
2022-09-18 17:27:38 +00:00
static final TextStyle desktopTextMediumRegular = GoogleFonts.inter(
color: CFColors.textDark,
fontWeight: FontWeight.w400,
fontSize: 20,
height: 30 / 20,
);
static final TextStyle desktopSubtitleH2 = GoogleFonts.inter(
color: CFColors.textDark,
fontWeight: FontWeight.w400,
fontSize: 20,
height: 28 / 20,
);
static final TextStyle desktopButtonEnabled = GoogleFonts.inter(
color: CFColors.buttonTextPrimary,
fontWeight: FontWeight.w500,
fontSize: 20,
height: 26 / 20,
);
static final TextStyle desktopButtonDisabled = GoogleFonts.inter(
color: CFColors.buttonTextPrimaryDisabled,
fontWeight: FontWeight.w500,
fontSize: 20,
height: 26 / 20,
);
static final TextStyle desktopButtonSecondaryEnabled = GoogleFonts.inter(
color: CFColors.buttonTextSecondary,
fontWeight: FontWeight.w500,
fontSize: 20,
height: 26 / 20,
);
static final TextStyle desktopTextExtraSmall = GoogleFonts.inter(
color: CFColors.buttonTextPrimaryDisabled,
fontWeight: FontWeight.w500,
fontSize: 16,
height: 24 / 16,
);
static final TextStyle desktopButtonSmallSecondaryEnabled = GoogleFonts.inter(
color: CFColors.buttonTextSecondary,
fontWeight: FontWeight.w500,
fontSize: 16,
height: 24 / 16,
);
static final TextStyle desktopTextFieldLabel = GoogleFonts.inter(
color: CFColors.textSubtitle2,
fontWeight: FontWeight.w500,
fontSize: 20,
height: 30 / 20,
);
static final TextStyle desktopMenuItem = GoogleFonts.inter(
color: CFColors.textDark.withOpacity(0.8),
fontWeight: FontWeight.w500,
fontSize: 16,
height: 20.8 / 16,
);
static final TextStyle desktopMenuItemSelected = GoogleFonts.inter(
color: CFColors.textDark,
fontWeight: FontWeight.w500,
fontSize: 16,
height: 20.8 / 16,
);
2022-08-26 08:11:35 +00:00
}