Skip to content

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

update fonts on android

ammarahm-eda02500595334
diff --git a/apps/mobile/android/app/src/main/assets/constants.js b/apps/mobile/android/app/src/main/assets/constants.js
index c6188b172..b1187f55c 100644
--- a/apps/mobile/android/app/src/main/assets/constants.js
+++ b/apps/mobile/android/app/src/main/assets/constants.js
@@ -321,7 +321,7 @@ let simpleToolbar = [
];
-let fonts = ['DM Sans', 'sans-serif'];
+let fonts = ['Poppins', 'sans-serif'];
let fontNames = fonts.map(font => getFontName(font));
function getFontName(font) {
return font.toLowerCase().replace(/\s/g, '-');
diff --git a/apps/mobile/android/app/src/main/assets/fonts.css b/apps/mobile/android/app/src/main/assets/fonts.css
index cf8c6d2b8..a101a5569 100644
--- a/apps/mobile/android/app/src/main/assets/fonts.css
+++ b/apps/mobile/android/app/src/main/assets/fonts.css
@@ -1,185 +1,109 @@
-/* latin-ext */
+/* devanagari */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
font-weight: 400;
font-display: swap;
- src: local('DM Sans Italic'), local('DMSans-Italic'),
- url(./fonts/DMSans-Italic.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins Italic'), local('Poppins-Italic'), url(./fonts/Poppins-Italic.ttf) format('truetype');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
-/* latin */
+/* latin-ext */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
font-weight: 400;
font-display: swap;
- src: local('DM Sans Italic'), local('DMSans-Italic'),
- url(./fonts/DMSans-Italic.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins Italic'), local('Poppins-Italic'), url(./fonts/Poppins-Italic.ttf) format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
-/* latin-ext */
+/* latin */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
- font-weight: 500;
+ font-weight: 400;
font-display: swap;
- src: local('DM Sans Medium Italic'), local('DMSans-MediumItalic'),
- url(./fonts/DMSans-MediumItalic.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins Italic'), local('Poppins-Italic'), url(./fonts/Poppins-Italic.ttf) format('truetype');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
-/* latin */
+/* devanagari */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
- font-weight: 500;
+ font-weight: 600;
font-display: swap;
- src: local('DM Sans Medium Italic'), local('DMSans-MediumItalic'),
- url(./fonts/DMSans-MediumItalic.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins SemiBold Italic'), local('Poppins-SemiBoldItalic'), url(./fonts/Poppins-SemiBoldItalic.ttf) format('truetype');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
- font-weight: 700;
+ font-weight: 600;
font-display: swap;
- src: local('DM Sans Bold Italic'), local('DMSans-BoldItalic'),
- url(./fonts/NotoSans-BoldItalic.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins SemiBold Italic'), local('Poppins-SemiBoldItalic'), u url(./fonts/Poppins-SemiBoldItalic.ttf) format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
- font-weight: 700;
+ font-weight: 600;
font-display: swap;
- src: local('DM Sans Bold Italic'), local('DMSans-BoldItalic'),
- url(./fonts/NotoSans-BoldItalic.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins SemiBold Italic'), local('Poppins-SemiBoldItalic'), url(./fonts/Poppins-SemiBoldItalic.ttf) format('truetype');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
-/* latin-ext */
+/* devanagari */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: normal;
font-weight: 400;
font-display: swap;
- src: local('DM Sans Regular'), local('DMSans-Regular'),
- url(./fonts/DMSans-Regular.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
-/* latin */
-@font-face {
- font-family: 'DM Sans';
- font-style: normal;
- font-weight: 400;
- font-display: swap;
- src: local('DM Sans Regular'), local('DMSans-Regular'),
- url(./fonts/DMSans-Regular.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
-}
-/* latin-ext */
-@font-face {
- font-family: 'DM Sans';
- font-style: normal;
- font-weight: 500;
- font-display: swap;
- src: local('DM Sans Medium'), local('DMSans-Medium'),
- url(./fonts/DMSans-Medium.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
-/* latin */
-@font-face {
- font-family: 'DM Sans';
- font-style: normal;
- font-weight: 500;
- font-display: swap;
- src: local('DM Sans Medium'), local('DMSans-Medium'),
- url(./fonts/DMSans-Medium.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins Regular'), local('Poppins-Regular'), url(./fonts/Poppins-Regular.ttf) format('truetype');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: normal;
- font-weight: 700;
+ font-weight: 400;
font-display: swap;
- src: local('DM Sans Bold'), local('DMSans-Bold'),
- url(./fonts/DMSans-Bold.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins Regular'), local('Poppins-Regular'), url(./fonts/Poppins-Regular.ttf) format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: normal;
- font-weight: 700;
- font-display: swap;
- src: local('DM Sans Bold'), local('DMSans-Bold'),
- url(./fonts/DMSans-Bold.ttf) format('true');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
-}
-
-/* latin-ext */
-@font-face {
- font-family: 'DM Serif Text';
- font-style: italic;
font-weight: 400;
font-display: swap;
- src: local('DM Serif Text Italic'), local('DMSerifText-Italic'),
- url(./fonts/DMSerifText-Italic.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins Regular'), local('Poppins-Regular'), url(./fonts/Poppins-Regular.ttf) format('truetype');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
-/* latin */
+/* devanagari */
@font-face {
- font-family: 'DM Serif Text';
- font-style: italic;
- font-weight: 400;
+ font-family: 'Poppins';
+ font-style: normal;
+ font-weight: 600;
font-display: swap;
- src: local('DM Serif Text Italic'), local('DMSerifText-Italic'),
- url(./fonts/DMSerifText-Italic.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url(./fonts//Poppins-SemiBold.ttf) format('truetype');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
- font-family: 'DM Serif Text';
+ font-family: 'Poppins';
font-style: normal;
- font-weight: 400;
+ font-weight: 600;
font-display: swap;
- src: local('DM Serif Text Regular'), local('DMSerifText-Regular'),
- url(./fonts/DMSerifText-Regular.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url(./fonts//Poppins-SemiBold.ttf) format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
- font-family: 'DM Serif Text';
+ font-family: 'Poppins';
font-style: normal;
- font-weight: 400;
+ font-weight: 600;
font-display: swap;
- src: local('DM Serif Text Regular'), local('DMSerifText-Regular'),
- url(./fonts/DMSerifText-Regular.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url(./fonts//Poppins-SemiBold.ttf) format('truetype');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Bold.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSans-Bold.ttf
deleted file mode 100755
index 7fd94a28b..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Bold.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSans-BoldItalic.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSans-BoldItalic.ttf
deleted file mode 100755
index 6e1f86145..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSans-BoldItalic.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Italic.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSans-Italic.ttf
deleted file mode 100755
index bdda5a7a9..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Italic.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Medium.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSans-Medium.ttf
deleted file mode 100755
index ded3caf9a..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Medium.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSans-MediumItalic.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSans-MediumItalic.ttf
deleted file mode 100755
index 8a2b876d5..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSans-MediumItalic.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Regular.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSans-Regular.ttf
deleted file mode 100755
index b3c3eda64..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSans-Regular.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSerifText-Italic.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSerifText-Italic.ttf
deleted file mode 100755
index 96e1b335f..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSerifText-Italic.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/DMSerifText-Regular.ttf b/apps/mobile/android/app/src/main/assets/fonts/DMSerifText-Regular.ttf
deleted file mode 100755
index 416c298a3..000000000
Binary files a/apps/mobile/android/app/src/main/assets/fonts/DMSerifText-Regular.ttf and /dev/null differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/Poppins-Italic.ttf b/apps/mobile/android/app/src/main/assets/fonts/Poppins-Italic.ttf
new file mode 100644
index 000000000..46203996d
Binary files /dev/null and b/apps/mobile/android/app/src/main/assets/fonts/Poppins-Italic.ttf differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/Poppins-Regular.ttf b/apps/mobile/android/app/src/main/assets/fonts/Poppins-Regular.ttf
new file mode 100644
index 000000000..be06e7fdc
Binary files /dev/null and b/apps/mobile/android/app/src/main/assets/fonts/Poppins-Regular.ttf differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/Poppins-SemiBold.ttf b/apps/mobile/android/app/src/main/assets/fonts/Poppins-SemiBold.ttf
new file mode 100644
index 000000000..dabf7c242
Binary files /dev/null and b/apps/mobile/android/app/src/main/assets/fonts/Poppins-SemiBold.ttf differ
diff --git a/apps/mobile/android/app/src/main/assets/fonts/Poppins-SemiBoldItalic.ttf b/apps/mobile/android/app/src/main/assets/fonts/Poppins-SemiBoldItalic.ttf
new file mode 100644
index 000000000..29d5f7419
Binary files /dev/null and b/apps/mobile/android/app/src/main/assets/fonts/Poppins-SemiBoldItalic.ttf differ
diff --git a/apps/mobile/android/app/src/main/assets/styles.css b/apps/mobile/android/app/src/main/assets/styles.css
index 2c012a2db..5a6c6e217 100644
--- a/apps/mobile/android/app/src/main/assets/styles.css
+++ b/apps/mobile/android/app/src/main/assets/styles.css
@@ -6,7 +6,7 @@
*/
.ql-container {
box-sizing: border-box;
- font-family: 'DM Sans', sans-serif;
+ font-family: 'Poppins', sans-serif;
margin: 0px;
position: relative;
@@ -612,38 +612,38 @@
.ql-snow .ql-editor h1 {
font-size: 2em;
- font-family: 'DM Serif Text', sans-serif;
- font-weight: 400 !important;
+ font-family: 'Poppins', sans-serif;
+ font-weight: 600 !important;
}
.ql-snow .ql-editor h2 {
font-size: 1.5em;
- font-family: 'DM Serif Text', sans-serif;
- font-weight: 400 !important;
+ font-family: 'Poppins', sans-serif;
+ font-weight: 600 !important;
}
.ql-snow .ql-editor h3 {
font-size: 1.17em;
- font-family: 'DM Serif Text', sans-serif;
- font-weight: 400 !important;
+ font-family: 'Poppins', sans-serif;
+ font-weight: 600 !important;
}
.ql-snow .ql-editor h4 {
font-size: 1em;
- font-family: 'DM Serif Text', sans-serif;
- font-weight: 400 !important;
+ font-family: 'Poppins', sans-serif;
+ font-weight: 600 !important;
}
.ql-snow .ql-editor h5 {
font-size: 0.83em;
- font-family: 'DM Serif Text', sans-serif;
- font-weight: 400 !important;
+ font-family: 'Poppins', sans-serif;
+ font-weight: 600 !important;
}
.ql-snow .ql-editor h6 {
font-size: 0.67em;
- font-family: 'DM Serif Text', sans-serif;
- font-weight: 400 !important;
+ font-family: 'Poppins', sans-serif;
+ font-weight: 600 !important;
}
.ql-snow .ql-editor a {
@@ -896,7 +896,7 @@
.ql-toolbar.ql-snow {
box-sizing: border-box;
- font-family: 'DM Sans', sans-serif;
+ font-family: 'Poppins', sans-serif;
padding: 8px;
}
@@ -1038,8 +1038,8 @@
}
#formBox input {
- font-family: "DM Serif Text", serif;
- font-weight: 400;
+ font-family: "Poppins", serif;
+ font-weight: 600 !important;
background-color: transparent;
border: none;
height: 50px;
@@ -1063,7 +1063,7 @@
font-size: 11px;
margin-top: -18px;
height:20px;
- font-family: 'DM Sans';
+ font-family: 'Poppins';
}
#titlebar input:focus {
diff --git a/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MyTextView.java b/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MyTextView.java
index 6c5314ad8..30ed8270d 100644
--- a/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MyTextView.java
+++ b/apps/mobile/android/app/src/main/java/com/streetwriters/notesnook/MyTextView.java
@@ -24,7 +24,7 @@ public class MyTextView extends AppCompatTextView {
}
public void init() {
- Typeface tf = Typeface.createFromAsset(getContext().getAssets(), "fonts/DMSerifText-Regular.ttf");
+ Typeface tf = Typeface.createFromAsset(getContext().getAssets(), "fonts/Poppins-SemiBold.ttf");
setTypeface(tf);
}
diff --git a/apps/mobile/html/Web.bundle/site/fonts.css b/apps/mobile/html/Web.bundle/site/fonts.css
index cf8c6d2b8..a101a5569 100644
--- a/apps/mobile/html/Web.bundle/site/fonts.css
+++ b/apps/mobile/html/Web.bundle/site/fonts.css
@@ -1,185 +1,109 @@
-/* latin-ext */
+/* devanagari */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
font-weight: 400;
font-display: swap;
- src: local('DM Sans Italic'), local('DMSans-Italic'),
- url(./fonts/DMSans-Italic.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins Italic'), local('Poppins-Italic'), url(./fonts/Poppins-Italic.ttf) format('truetype');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
-/* latin */
+/* latin-ext */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
font-weight: 400;
font-display: swap;
- src: local('DM Sans Italic'), local('DMSans-Italic'),
- url(./fonts/DMSans-Italic.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins Italic'), local('Poppins-Italic'), url(./fonts/Poppins-Italic.ttf) format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
-/* latin-ext */
+/* latin */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
- font-weight: 500;
+ font-weight: 400;
font-display: swap;
- src: local('DM Sans Medium Italic'), local('DMSans-MediumItalic'),
- url(./fonts/DMSans-MediumItalic.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins Italic'), local('Poppins-Italic'), url(./fonts/Poppins-Italic.ttf) format('truetype');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
-/* latin */
+/* devanagari */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
- font-weight: 500;
+ font-weight: 600;
font-display: swap;
- src: local('DM Sans Medium Italic'), local('DMSans-MediumItalic'),
- url(./fonts/DMSans-MediumItalic.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins SemiBold Italic'), local('Poppins-SemiBoldItalic'), url(./fonts/Poppins-SemiBoldItalic.ttf) format('truetype');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
- font-weight: 700;
+ font-weight: 600;
font-display: swap;
- src: local('DM Sans Bold Italic'), local('DMSans-BoldItalic'),
- url(./fonts/NotoSans-BoldItalic.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins SemiBold Italic'), local('Poppins-SemiBoldItalic'), u url(./fonts/Poppins-SemiBoldItalic.ttf) format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: italic;
- font-weight: 700;
+ font-weight: 600;
font-display: swap;
- src: local('DM Sans Bold Italic'), local('DMSans-BoldItalic'),
- url(./fonts/NotoSans-BoldItalic.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins SemiBold Italic'), local('Poppins-SemiBoldItalic'), url(./fonts/Poppins-SemiBoldItalic.ttf) format('truetype');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
-/* latin-ext */
+/* devanagari */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: normal;
font-weight: 400;
font-display: swap;
- src: local('DM Sans Regular'), local('DMSans-Regular'),
- url(./fonts/DMSans-Regular.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
-/* latin */
-@font-face {
- font-family: 'DM Sans';
- font-style: normal;
- font-weight: 400;
- font-display: swap;
- src: local('DM Sans Regular'), local('DMSans-Regular'),
- url(./fonts/DMSans-Regular.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
-}
-/* latin-ext */
-@font-face {
- font-family: 'DM Sans';
- font-style: normal;
- font-weight: 500;
- font-display: swap;
- src: local('DM Sans Medium'), local('DMSans-Medium'),
- url(./fonts/DMSans-Medium.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
-}
-/* latin */
-@font-face {
- font-family: 'DM Sans';
- font-style: normal;
- font-weight: 500;
- font-display: swap;
- src: local('DM Sans Medium'), local('DMSans-Medium'),
- url(./fonts/DMSans-Medium.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins Regular'), local('Poppins-Regular'), url(./fonts/Poppins-Regular.ttf) format('truetype');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: normal;
- font-weight: 700;
+ font-weight: 400;
font-display: swap;
- src: local('DM Sans Bold'), local('DMSans-Bold'),
- url(./fonts/DMSans-Bold.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins Regular'), local('Poppins-Regular'), url(./fonts/Poppins-Regular.ttf) format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
- font-family: 'DM Sans';
+ font-family: 'Poppins';
font-style: normal;
- font-weight: 700;
- font-display: swap;
- src: local('DM Sans Bold'), local('DMSans-Bold'),
- url(./fonts/DMSans-Bold.ttf) format('true');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
-}
-
-/* latin-ext */
-@font-face {
- font-family: 'DM Serif Text';
- font-style: italic;
font-weight: 400;
font-display: swap;
- src: local('DM Serif Text Italic'), local('DMSerifText-Italic'),
- url(./fonts/DMSerifText-Italic.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins Regular'), local('Poppins-Regular'), url(./fonts/Poppins-Regular.ttf) format('truetype');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
-/* latin */
+/* devanagari */
@font-face {
- font-family: 'DM Serif Text';
- font-style: italic;
- font-weight: 400;
+ font-family: 'Poppins';
+ font-style: normal;
+ font-weight: 600;
font-display: swap;
- src: local('DM Serif Text Italic'), local('DMSerifText-Italic'),
- url(./fonts/DMSerifText-Italic.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url(./fonts//Poppins-SemiBold.ttf) format('truetype');
+ unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
- font-family: 'DM Serif Text';
+ font-family: 'Poppins';
font-style: normal;
- font-weight: 400;
+ font-weight: 600;
font-display: swap;
- src: local('DM Serif Text Regular'), local('DMSerifText-Regular'),
- url(./fonts/DMSerifText-Regular.ttf) format('truetype');
- unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
- U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+ src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url(./fonts//Poppins-SemiBold.ttf) format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
- font-family: 'DM Serif Text';
+ font-family: 'Poppins';
font-style: normal;
- font-weight: 400;
+ font-weight: 600;
font-display: swap;
- src: local('DM Serif Text Regular'), local('DMSerifText-Regular'),
- url(./fonts/DMSerifText-Regular.ttf) format('truetype');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
- U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
- U+FEFF, U+FFFD;
+ src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url(./fonts//Poppins-SemiBold.ttf) format('truetype');
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+
diff --git a/apps/mobile/src/utils/SizeUtils.js b/apps/mobile/src/utils/SizeUtils.js
index 4b5931fbf..8769defc8 100644
--- a/apps/mobile/src/utils/SizeUtils.js
+++ b/apps/mobile/src/utils/SizeUtils.js
@@ -86,9 +86,9 @@ export var ph = normalize(10); // padding horizontal
export var pv = normalize(10); // padding vertical
export const opacity = 0.5; // active opacity
export const WEIGHT = {
- light: 'DMSans-Regular',
- regular: 'DMSans-Regular',
- medium: 'DMSans-Regular',
- semibold: 'DMSerifText-Regular',
- bold: 'DMSerifText-Regular',
+ light: 'Poppins-Regular',
+ regular: 'Poppins-Regular',
+ medium: 'Poppins-Regular',
+ semibold: 'Poppins-SemiBold',
+ bold: 'Poppins-SemiBold',
};
\ No newline at end of file