Skip to content

Commit 37d37a8

Browse files
committed
chore: update sizeText and sizeIcon
1 parent ca70299 commit 37d37a8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ouds_core/lib/components/navigation/ouds_navigation_bar_item.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ class OudsNavigationBarItem {
308308
excludeFromSemantics: true,
309309
assetName,
310310
fit: BoxFit.contain,
311-
height: 26, //sizeIcon.iconDecorativeExtraSmall,
312-
width: 26, //sizeIcon.iconDecorativeExtraSmall,
311+
height: 24, //sizeIcon.iconDecorativeExtraSmall,
312+
width: 24, //sizeIcon.iconDecorativeExtraSmall,
313313
colorFilter: ColorFilter.mode(
314314
modifier.getTextIconItemColor(controlState, isSelected),
315315
BlendMode.srcIn,

ouds_core/lib/components/navigation/ouds_tab_bar.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ class _OudsTabBarState extends State<OudsTabBar> {
185185
data: existingCupertinoTheme.copyWith(
186186
textTheme: existingCupertinoTheme.textTheme.copyWith(
187187
tabLabelTextStyle: OudsTheme.of(context).typographyTokens
188-
.typeBodyModerateMedium(context)
189-
.copyWith(fontSize: 10), // Apply the custom text style.
188+
.typeLabelModerateSmall(context)
189+
.copyWith(height: 1.4), // Apply the custom text style.
190190
),
191191
),
192192
child: ClipRect(

0 commit comments

Comments
 (0)