Skip to content

Commit

Permalink
fix(flutter-styles): use correct FontWeight class notation at TextTheme
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyandrade committed Nov 24, 2020
1 parent bd1a470 commit 7b13e02
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions packages/flutter-styles/lib/text_theme.dart
Expand Up @@ -17,87 +17,87 @@ class TextStyles {
color: Color(0xFF1F252E),
fontFamily: "Open Sans",
fontSize: 544.00,
fontWeight: "800",
fontWeight: FontWeight.w800,
letterSpacing: -8.00,
lineHeight: 640.00);

static const TextStyle headline2 = TextStyle(
color: Color(0xFF303846),
fontFamily: "Open Sans",
fontSize: 448.00,
fontWeight: "700",
fontWeight: FontWeight.w700,
letterSpacing: -6.08,
lineHeight: 640.00);

static const TextStyle headline3 = TextStyle(
color: Color(0xFF303846),
fontFamily: "Open Sans",
fontSize: 352.00,
fontWeight: "700",
fontWeight: FontWeight.w700,
letterSpacing: -4.16,
lineHeight: 512.00);

static const TextStyle headline4 = TextStyle(
color: Color(0xFF303846),
fontFamily: "Open Sans",
fontSize: 320.00,
fontWeight: "700",
fontWeight: FontWeight.w700,
letterSpacing: -7.20,
lineHeight: 384.00);

static const TextStyle headline5 = TextStyle(
color: Color(0xFF303846),
fontFamily: "Open Sans",
fontSize: 272.00,
fontWeight: "700",
fontWeight: FontWeight.w700,
letterSpacing: -6.88,
lineHeight: 384.00);

static const TextStyle bodyText1 = TextStyle(
color: Color(0xFF424D5C),
fontFamily: "Open Sans",
fontSize: 272.00,
fontWeight: "400",
fontWeight: FontWeight.w400,
letterSpacing: -6.88,
lineHeight: 384.00);

static const TextStyle subtitle1 = TextStyle(
color: Color(0xFF303846),
fontFamily: "Open Sans",
fontSize: 240.00,
fontWeight: "400",
fontWeight: FontWeight.w400,
letterSpacing: -3.68,
lineHeight: 384.00);

static const TextStyle subtitle2 = TextStyle(
color: Color(0xFF424D5C),
fontFamily: "Open Sans",
fontSize: 240.00,
fontWeight: "400",
fontWeight: FontWeight.w400,
letterSpacing: -3.68,
lineHeight: 384.00);

static const TextStyle button = TextStyle(
color: Color(0xFF303846),
fontFamily: "Open Sans",
fontSize: 224.00,
fontWeight: "400",
fontWeight: FontWeight.w400,
letterSpacing: -2.40,
lineHeight: 384.00);

static const TextStyle bodyText2 = TextStyle(
color: Color(0xFF424D5C),
fontFamily: "Open Sans",
fontSize: 224.00,
fontWeight: "400",
fontWeight: FontWeight.w400,
letterSpacing: -2.40,
lineHeight: 384.00);

static const TextStyle caption = TextStyle(
color: Color(0xFF303846),
fontFamily: "Open Sans",
fontSize: 192.00,
fontWeight: "400",
fontWeight: FontWeight.w400,
letterSpacing: 0.00,
lineHeight: 256.00);

Expand Down

0 comments on commit 7b13e02

Please sign in to comment.