mirror of
https://github.com/block/buzz.git
synced 2026-10-28 21:11:48 +00:00
72 lines
1.5 KiB
Dart
72 lines
1.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
const textTheme = TextTheme(
|
|
displayLarge: TextStyle(
|
|
fontSize: 52,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.15,
|
|
),
|
|
displayMedium: TextStyle(
|
|
fontSize: 44,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.15,
|
|
),
|
|
displaySmall: TextStyle(
|
|
fontSize: 36,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.15,
|
|
),
|
|
headlineLarge: TextStyle(
|
|
fontSize: 32,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1.15,
|
|
),
|
|
headlineMedium: TextStyle(
|
|
fontSize: 28,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1.15,
|
|
),
|
|
headlineSmall: TextStyle(
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1.15,
|
|
),
|
|
titleLarge: TextStyle(
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.15,
|
|
),
|
|
titleMedium: TextStyle(
|
|
fontSize: 20,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
titleSmall: TextStyle(
|
|
fontSize: 16,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
labelLarge: TextStyle(
|
|
fontSize: 16,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
labelMedium: TextStyle(
|
|
fontSize: 14,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
labelSmall: TextStyle(
|
|
fontSize: 11,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
bodyLarge: TextStyle(fontSize: 16, fontWeight: FontWeight.w400, height: 1.25),
|
|
bodyMedium: TextStyle(
|
|
fontSize: 14,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.43,
|
|
),
|
|
bodySmall: TextStyle(fontSize: 12, fontWeight: FontWeight.w400),
|
|
);
|