stack_wallet/lib/utilities/text_styles.dart
2022-08-26 16:11:35 +08:00

175 lines
4.2 KiB
Dart

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,
);
// static final TextStyle pinkHeader = GoogleFonts.workSans(
// color: CFColors.spark,
// fontWeight: FontWeight.w600,
// fontSize: 20,
// );
//
// static final TextStyle textField = GoogleFonts.workSans(
// color: CFColors.dusk,
// fontWeight: FontWeight.w400,
// fontSize: 16,
// );
//
// static final TextStyle textFieldHint = GoogleFonts.workSans(
// color: CFColors.twilight,
// fontWeight: FontWeight.w400,
// fontSize: 16,
// );
//
// static final TextStyle textFieldSuffix = GoogleFonts.workSans(
// color: CFColors.twilight,
// fontWeight: FontWeight.w600,
// fontSize: 16,
// );
//
// static final TextStyle label = GoogleFonts.workSans(
// color: CFColors.twilight,
// fontWeight: FontWeight.w500,
// fontSize: 12,
// );
}