Skip to content

Commit 2ef73e0

Browse files
add global font weights and sizes
1 parent 2fc240f commit 2ef73e0

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

lib/config/taskwarriorfonts.dart

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import 'package:flutter/material.dart';
2+
3+
class TaskWarriorFonts {
4+
// Font weights
5+
static const FontWeight thin = FontWeight.w100;
6+
static const FontWeight extraLight = FontWeight.w200;
7+
static const FontWeight light = FontWeight.w300;
8+
static const FontWeight regular = FontWeight.w400;
9+
static const FontWeight medium = FontWeight.w500;
10+
static const FontWeight semiBold = FontWeight.w600;
11+
static const FontWeight bold = FontWeight.w700;
12+
static const FontWeight extraBold = FontWeight.w800;
13+
static const FontWeight black = FontWeight.w900;
14+
15+
// Font sizes
16+
static const double fontSizeSmall = 12.0;
17+
static const double fontSizeMedium = 16.0;
18+
static const double fontSizeLarge = 20.0;
19+
static const double fontSizeExtraLarge = 24.0;
20+
}

0 commit comments

Comments
 (0)