defaultTextTheme property
GdgTextTheme
get
defaultTextTheme
Implementation
static GdgTextTheme get defaultTextTheme {
const defaultFontFamily = "Pretendard";
const black90 = Color(0xE6000000);
const black85 = Color(0xD9000000);
const grey = Color(0xFFADADAD);
return const GdgTextTheme(
h1: TextStyle(
inherit: false,
fontSize: 48,
height: 68 / 56,
fontWeight: FontWeight.bold,
color: black90,
fontFamily: defaultFontFamily,
),
h2: TextStyle(
inherit: false,
fontSize: 35,
height: 52 / 40,
fontWeight: FontWeight.bold,
color: black90,
fontFamily: defaultFontFamily,
),
h3: TextStyle(
inherit: false,
fontSize: 28,
height: 44 / 32,
fontWeight: FontWeight.bold,
color: black90,
fontFamily: defaultFontFamily,
),
h4: TextStyle(
inherit: false,
fontSize: 21,
height: 34 / 24,
fontWeight: FontWeight.bold,
color: black90,
fontFamily: defaultFontFamily,
),
h5: TextStyle(
inherit: false,
fontSize: 17,
height: 28 / 20,
fontWeight: FontWeight.bold,
color: black90,
fontFamily: defaultFontFamily,
),
body1Medium: TextStyle(
inherit: false,
fontSize: 14,
height: 24 / 16,
fontWeight: FontWeight.w500,
color: black85,
fontFamily: defaultFontFamily,
),
body2Medium: TextStyle(
inherit: false,
fontSize: 14,
height: 24 / 16,
fontWeight: FontWeight.normal,
color: black85,
fontFamily: defaultFontFamily,
),
linkMedium: TextStyle(
inherit: false,
fontSize: 14,
height: 24 / 16,
fontWeight: FontWeight.w500,
color: black85,
fontFamily: defaultFontFamily,
decoration: TextDecoration.underline,
),
body1Small: TextStyle(
inherit: false,
fontSize: 12.2,
height: 22 / 14,
fontWeight: FontWeight.w500,
color: black85,
fontFamily: defaultFontFamily,
),
body2Small: TextStyle(
inherit: false,
fontSize: 12.2,
height: 22 / 14,
fontWeight: FontWeight.normal,
color: black85,
fontFamily: defaultFontFamily,
),
linkSmall: TextStyle(
inherit: false,
fontSize: 12.2,
height: 22 / 14,
fontWeight: FontWeight.w500,
color: black85,
fontFamily: defaultFontFamily,
decoration: TextDecoration.underline,
),
label1: TextStyle(
inherit: false,
fontSize: 11,
height: 18 / 12,
fontWeight: FontWeight.bold,
color: black85,
fontFamily: defaultFontFamily,
),
label2: TextStyle(
inherit: false,
fontSize: 11,
height: 18 / 12,
fontWeight: FontWeight.w500,
color: black85,
fontFamily: defaultFontFamily,
),
caption: TextStyle(
inherit: false,
fontSize: 11,
height: 18 / 12,
fontWeight: FontWeight.normal,
color: grey,
fontFamily: defaultFontFamily,
),
);
}