kFigTreeTextTheme top-level property
Implementation
final kFigTreeTextTheme = TextTheme(
displayLarge: _defaultStyle.copyWith(fontSize: 118.sp, height: 1.25),
displayMedium: _defaultStyle.copyWith(fontSize: 84.sp, height: 1.25),
displaySmall: _defaultStyle.copyWith(fontSize: 64.sp, height: 1.3),
headlineLarge: _defaultStyle.copyWith(fontSize: 50.sp, height: 1.3),
headlineMedium: _defaultStyle.copyWith(fontSize: 32.sp, height: 1.3),
headlineSmall: _defaultStyle.copyWith(fontSize: 28.sp, height: 1.3),
titleLarge: _defaultStyle.copyWith(fontSize: 24.sp, height: 1.3),
titleMedium: _defaultStyle.copyWith(fontSize: 20.sp, height: 1.4),
titleSmall: _defaultStyle.copyWith(fontSize: 18.sp, height: 1.4),
bodyLarge: _defaultStyle.copyWith(fontSize: 16.sp, height: 1.45),
bodyMedium: _defaultStyle.copyWith(fontSize: 14.sp, height: 1.5),
bodySmall: _defaultStyle.copyWith(fontSize: 13.sp, height: 1.5),
labelSmall:
_defaultStyle.copyWith(fontSize: 14.sp, height: 1.5, letterSpacing: 0.1),
).apply(fontFamily: 'FigTree', package: 'ledger_design_system');