mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
112 lines
2.5 KiB
Dart
112 lines
2.5 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
const _fontFamily = 'Geist';
|
|
const _fontFeatures = [FontFeature('ss03')];
|
|
|
|
const textTheme = TextTheme(
|
|
displayLarge: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 52,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.15,
|
|
),
|
|
displayMedium: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 44,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.15,
|
|
),
|
|
displaySmall: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 36,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.15,
|
|
),
|
|
headlineLarge: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 32,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1.15,
|
|
),
|
|
headlineMedium: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 28,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1.15,
|
|
),
|
|
headlineSmall: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.w600,
|
|
height: 1.15,
|
|
),
|
|
titleLarge: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 24,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.15,
|
|
),
|
|
titleMedium: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 20,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
titleSmall: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 16,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
labelLarge: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 16,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
labelMedium: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 14,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
labelSmall: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 11,
|
|
fontWeight: FontWeight.w500,
|
|
height: 1.15,
|
|
),
|
|
bodyLarge: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 16,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.25,
|
|
),
|
|
bodyMedium: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 14,
|
|
fontWeight: FontWeight.w400,
|
|
height: 1.43,
|
|
),
|
|
bodySmall: TextStyle(
|
|
fontFamily: _fontFamily,
|
|
fontFeatures: _fontFeatures,
|
|
fontSize: 12,
|
|
fontWeight: FontWeight.w400,
|
|
),
|
|
);
|