Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit 16e83aa

Browse files
committed
Use REMA font
1 parent cd4c059 commit 16e83aa

File tree

9 files changed

+24
-63
lines changed

9 files changed

+24
-63
lines changed
70.7 KB
Binary file not shown.
71.2 KB
Binary file not shown.
70.8 KB
Binary file not shown.
69.5 KB
Binary file not shown.
8.27 KB
Binary file not shown.

rema_1001/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ EXTERNAL SOURCES:
1616

1717
SPEC CHECKSUMS:
1818
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
19-
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
19+
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
2020

2121
PODFILE CHECKSUM: 3c63482e143d1b91d2d2560aee9fb04ecc74ac7e
2222

rema_1001/lib/constants/theme.dart

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
33
final themeData = ThemeData(
44
useMaterial3: true,
55
brightness: Brightness.dark,
6+
fontFamily: 'REMA',
67
colorScheme: ColorScheme.dark(
78
primary: Colors.blueAccent,
89
secondary: Color(0xFF6B7280), // Gray for secondary elements
@@ -68,12 +69,12 @@ final themeData = ThemeData(
6869
hintStyle: TextStyle(color: Colors.white38),
6970
),
7071
textTheme: TextTheme(
71-
bodyLarge: TextStyle(color: Colors.white),
72-
bodyMedium: TextStyle(color: Colors.white),
73-
bodySmall: TextStyle(color: Colors.white70),
74-
titleLarge: TextStyle(color: Colors.white, fontWeight: FontWeight.bold),
72+
bodyLarge: TextStyle(color: Colors.white, fontWeight: FontWeight.w400),
73+
bodyMedium: TextStyle(color: Colors.white, fontWeight: FontWeight.w400),
74+
bodySmall: TextStyle(color: Colors.white70, fontWeight: FontWeight.w400),
75+
titleLarge: TextStyle(color: Colors.white, fontWeight: FontWeight.w700),
7576
titleMedium: TextStyle(color: Colors.white, fontWeight: FontWeight.w600),
76-
titleSmall: TextStyle(color: Colors.white70),
77+
titleSmall: TextStyle(color: Colors.white70, fontWeight: FontWeight.w600),
7778
),
7879
iconTheme: IconThemeData(color: Colors.white70),
7980
dividerTheme: DividerThemeData(color: Color(0xFF2A2A2A), thickness: 1),

rema_1001/lib/main.dart

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -84,49 +84,3 @@ class MyApp extends StatelessWidget {
8484
);
8585
}
8686
}
87-
88-
class MyHomePage extends StatefulWidget {
89-
const MyHomePage({super.key, required this.title});
90-
91-
final String title;
92-
93-
@override
94-
State<MyHomePage> createState() => _MyHomePageState();
95-
}
96-
97-
class _MyHomePageState extends State<MyHomePage> {
98-
int _counter = 0;
99-
100-
void _incrementCounter() {
101-
setState(() {
102-
_counter++;
103-
});
104-
}
105-
106-
@override
107-
Widget build(BuildContext context) {
108-
return Scaffold(
109-
appBar: AppBar(
110-
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
111-
title: Text(widget.title),
112-
),
113-
body: Center(
114-
child: Column(
115-
mainAxisAlignment: MainAxisAlignment.center,
116-
children: <Widget>[
117-
const Text('You have pushed the button this many times:'),
118-
Text(
119-
'$_counter',
120-
style: Theme.of(context).textTheme.headlineMedium,
121-
),
122-
],
123-
),
124-
),
125-
floatingActionButton: FloatingActionButton(
126-
onPressed: _incrementCounter,
127-
tooltip: 'Increment',
128-
child: const Icon(Icons.add),
129-
),
130-
);
131-
}
132-
}

rema_1001/pubspec.yaml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ flutter:
7272
# - images/a_dot_ham.jpeg
7373
assets:
7474
- assets/images/
75+
- assets/font/
7576
- .env
7677

7778
# An image asset can refer to one or more resolution-specific "variants", see
@@ -85,17 +86,22 @@ flutter:
8586
# "family" key with the font family name, and a "fonts" key with a
8687
# list giving the asset and other descriptors for the font. For
8788
# example:
88-
# fonts:
89-
# - family: Schyler
90-
# fonts:
91-
# - asset: fonts/Schyler-Regular.ttf
92-
# - asset: fonts/Schyler-Italic.ttf
93-
# style: italic
94-
# - family: Trajan Pro
95-
# fonts:
96-
# - asset: fonts/TrajanPro.ttf
97-
# - asset: fonts/TrajanPro_Bold.ttf
98-
# weight: 700
89+
fonts:
90+
- family: REMA
91+
fonts:
92+
- asset: assets/font/REMA-Regular.ttf
93+
- asset: assets/font/REMA-Italic.ttf
94+
style: italic
95+
- asset: assets/font/REMA-Bold.ttf
96+
weight: 700
97+
- asset: assets/font/REMA-BoldItalic.ttf
98+
weight: 700
99+
style: italic
100+
# Optional extra face, available if you want to use it explicitly via
101+
# TextStyle(fontFamily: 'REMA Tall') for display styles.
102+
- family: REMA Tall
103+
fonts:
104+
- asset: assets/font/REMA-Tall.ttf
99105
#
100106
# For details regarding fonts from package dependencies,
101107
# see https://flutter.dev/to/font-from-package

0 commit comments

Comments
 (0)