Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

update font sizes

ammarahm-ede3f6a9daa2f4
diff --git a/apps/mobile/src/utils/SizeUtils.js b/apps/mobile/src/utils/SizeUtils.js
index f5eb83163..6d2863d1b 100644
--- a/apps/mobile/src/utils/SizeUtils.js
+++ b/apps/mobile/src/utils/SizeUtils.js
@@ -30,7 +30,7 @@ const correction = (size, multiplier) => {
if (Platform.OS === 'ios') {
return size;
}
- return size * 1;
+ return size * 0.97;
} else if (dSize <= 7 && pixelDensity >= 3 && !DDS.isTab) {
return size * 1;
} else if (dSize >= 6.5 && dSize <= 7.2 && DDS.isTab) {
@@ -63,10 +63,10 @@ export const normalize = (size) => {
};
export const SIZE = {
xxs: normalize(9) * scale.fontScale,
- xs: normalize(10.5) * scale.fontScale,
- sm: normalize(13.5) * scale.fontScale,
- md: normalize(15) * scale.fontScale,
- lg: normalize(21) * scale.fontScale,
+ xs: normalize(11) * scale.fontScale,
+ sm: normalize(14.5) * scale.fontScale,
+ md: normalize(16) * scale.fontScale,
+ lg: normalize(22) * scale.fontScale,
xl: normalize(24) * scale.fontScale,
xxl: normalize(28) * scale.fontScale,
xxxl: normalize(32) * scale.fontScale,
@@ -74,10 +74,10 @@ export const SIZE = {
export function updateSize() {
SIZE.xxs = normalize(9) * scale.fontScale;
- SIZE.xs = normalize(10.5) * scale.fontScale;
- SIZE.sm = normalize(13.5) * scale.fontScale;
- SIZE.md = normalize(15) * scale.fontScale;
- SIZE.lg = normalize(21) * scale.fontScale;
+ SIZE.xs = normalize(11) * scale.fontScale;
+ SIZE.sm = normalize(14.5) * scale.fontScale;
+ SIZE.md = normalize(16) * scale.fontScale;
+ SIZE.lg = normalize(22) * scale.fontScale;
SIZE.xl = normalize(24) * scale.fontScale;
SIZE.xxl = normalize(28) * scale.fontScale;
SIZE.xxxl = normalize(32) * scale.fontScale;