Skip to content

Commit 2299f42

Browse files
committed
ui: Follow new Figma in app-bar title style
Exciting to see this marked "ready for dev"! https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=2957-50895&m=dev
1 parent ac20b9a commit 2299f42

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/widgets/theme.dart

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,18 @@ ThemeData zulipThemeData(BuildContext context) {
1818

1919
titleTextStyle: TextStyle(
2020
inherit: false,
21-
color: const Color(0xff1a1b21), // colorScheme.onSurface
22-
fontSize: 22.0,
21+
color: const Color(0xff1a1a1a), // `title` in Figma
22+
fontSize: 20,
2323
letterSpacing: 0.0,
24-
height: 1.27,
24+
height: (30 / 20),
2525
textBaseline: localizedTextBaseline(context),
2626
leadingDistribution: TextLeadingDistribution.even,
2727
decoration: TextDecoration.none,
2828
fontFamily: kDefaultFontFamily,
2929
fontFamilyFallback: defaultFontFamilyFallback,
3030
)
31-
.merge(weightVariableTextStyle(context)),
31+
.merge(weightVariableTextStyle(context, wght: 600)),
32+
titleSpacing: 4,
3233

3334
shape: const Border(bottom: BorderSide(
3435
color: Color(0x33000000), // `border-bar` in Figma

0 commit comments

Comments
 (0)