Skip to content

Commit a5420eb

Browse files
committed
feat(ui): add new font for some items
1 parent bf52f88 commit a5420eb

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

assets/fonts/Northwell-Alt.ttf

470 KB
Binary file not shown.

lib/Screens/Racing/circuit.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ class CircuitScreenContent extends StatelessWidget {
128128
),
129129
),
130130
Padding(
131-
padding: EdgeInsets.only(left: 10),
131+
padding: EdgeInsets.only(left: 15, bottom: 3),
132132
child: Text(
133133
details['race']['meetingCountryName'],
134134
style: TextStyle(
135-
fontWeight: FontWeight.w700,
136-
fontSize: 30,
135+
fontFamily: 'Northwell',
136+
fontSize: 70,
137137
),
138138
),
139139
),

lib/Screens/Racing/circuit_details.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ class CircuitDetailsScreen extends StatelessWidget {
111111
fontWeight: FontWeight.normal,
112112
),
113113
textAlign: WrapAlignment.spaceBetween,
114+
h2: TextStyle(
115+
fontFamily: 'Northwell',
116+
fontSize: 70,
117+
),
118+
h2Padding: EdgeInsets.only(left: 10, bottom: 3),
114119
),
115120
),
116121
),

pubspec.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ flutter:
112112
- asset: assets/fonts/TitilliumWeb-Regular.ttf
113113
- asset: assets/fonts/TitilliumWeb-Bold.ttf
114114
weight: 500
115+
116+
- family: Northwell
117+
fonts:
118+
- asset: assets/fonts/Northwell-Alt.ttf
115119

116120
# The following line ensures that the Material Icons font is
117121
# included with your application, so that you can use the icons in

0 commit comments

Comments
 (0)