mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
245 lines
6.4 KiB
Dart
245 lines
6.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:google_fonts/google_fonts.dart';
|
|
import 'package:stackwallet/utilities/cfcolors.dart';
|
|
import 'package:stackwallet/utilities/theme/stack_theme.dart';
|
|
|
|
class STextStyles {
|
|
static final TextStyle pageTitleH1 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w600,
|
|
fontSize: 20,
|
|
);
|
|
|
|
static final TextStyle pageTitleH2 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w600,
|
|
fontSize: 18,
|
|
);
|
|
|
|
static final TextStyle navBarTitle = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w600,
|
|
fontSize: 16,
|
|
);
|
|
|
|
static final TextStyle titleBold12 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w600,
|
|
fontSize: 16,
|
|
);
|
|
|
|
static final TextStyle subtitle = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w400,
|
|
fontSize: 16,
|
|
);
|
|
|
|
static final TextStyle button = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.buttonTextPrimary,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 16,
|
|
);
|
|
|
|
static final TextStyle largeMedium14 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
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: StackTheme.instance.color.textSubtitle1,
|
|
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: StackTheme.instance.color.textDark,
|
|
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: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 14,
|
|
height: 1.5,
|
|
);
|
|
|
|
static final TextStyle baseXS = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w400,
|
|
fontSize: 14,
|
|
);
|
|
|
|
static final TextStyle link = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.accentColorRed,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 14,
|
|
);
|
|
|
|
static final TextStyle link2 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.infoItemIcons,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 14,
|
|
);
|
|
|
|
static final TextStyle richLink = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.accentColorBlue,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 12,
|
|
);
|
|
|
|
static final TextStyle w600_10 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w600,
|
|
fontSize: 12,
|
|
);
|
|
|
|
static final TextStyle syncPercent = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 12,
|
|
);
|
|
|
|
static final TextStyle buttonSmall = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 12,
|
|
);
|
|
|
|
static final TextStyle errorSmall = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textError,
|
|
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: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w600,
|
|
fontSize: 32,
|
|
height: 32 / 32,
|
|
);
|
|
|
|
static final TextStyle desktopH3 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w600,
|
|
fontSize: 24,
|
|
height: 24 / 24,
|
|
);
|
|
|
|
static final TextStyle desktopTextMedium = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 20,
|
|
height: 30 / 20,
|
|
);
|
|
|
|
static final TextStyle desktopTextMediumRegular = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w400,
|
|
fontSize: 20,
|
|
height: 30 / 20,
|
|
);
|
|
|
|
static final TextStyle desktopSubtitleH2 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w400,
|
|
fontSize: 20,
|
|
height: 28 / 20,
|
|
);
|
|
|
|
static final TextStyle desktopSubtitleH1 = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w400,
|
|
fontSize: 24,
|
|
height: 33 / 24,
|
|
);
|
|
|
|
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: StackTheme.instance.color.textDark.withOpacity(0.8),
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 16,
|
|
height: 20.8 / 16,
|
|
);
|
|
static final TextStyle desktopMenuItemSelected = GoogleFonts.inter(
|
|
color: StackTheme.instance.color.textDark,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: 16,
|
|
height: 20.8 / 16,
|
|
);
|
|
}
|