diff --git a/core/designsystem/src/main/java/com/twofasapp/designsystem/internal/ThemeTypo.kt b/core/designsystem/src/main/java/com/twofasapp/designsystem/internal/ThemeTypo.kt index efbc260c..859523b3 100644 --- a/core/designsystem/src/main/java/com/twofasapp/designsystem/internal/ThemeTypo.kt +++ b/core/designsystem/src/main/java/com/twofasapp/designsystem/internal/ThemeTypo.kt @@ -15,78 +15,88 @@ import com.twofasapp.designsystem.TwTheme class ThemeTypo { val h1 = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Normal, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_regular) + ), fontSize = 42.sp, lineHeight = 42.sp, ) val h2 = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Bold, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_bold) + ), fontSize = 24.sp, lineHeight = 32.sp, ) val h3 = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Normal, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_regular) + ), fontSize = 24.sp, lineHeight = 32.sp, ) val title = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Normal, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_regular) + ), fontSize = 22.sp, lineHeight = 26.sp, ) val body1 = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Normal, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_regular) + ), fontSize = 16.sp, lineHeight = 24.sp, ) val body2 = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Medium, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_medium) + ), fontSize = 14.sp, lineHeight = 20.sp, ) val body3 = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Normal, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_regular) + ), fontSize = 14.sp, lineHeight = 17.sp, ) val body4 = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Normal, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_regular) + ), fontSize = 13.sp, lineHeight = 17.sp, ) val caption = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Normal, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_regular) + ), fontSize = 12.sp, lineHeight = 16.sp, ) val subhead = TextStyle( - fontFamily = FontFamily.Default, - fontWeight = FontWeight.Medium, + fontFamily = FontFamily( + Font(resId = R.font.fira_sans_medium) + ), fontSize = 12.sp, lineHeight = 16.sp, ) val codeExtraLight = TextStyle( fontFamily = FontFamily( - Font(resId = R.font.roboto_extra_light) + Font(resId = R.font.fira_sans_extra_light) ), fontSize = 44.sp, lineHeight = 44.sp, @@ -94,7 +104,7 @@ class ThemeTypo { val codeLightSmall = TextStyle( fontFamily = FontFamily( - Font(resId = R.font.roboto_light) + Font(resId = R.font.fira_sans_light) ), fontSize = 24.sp, lineHeight = 32.sp, @@ -102,7 +112,7 @@ class ThemeTypo { val codeLight = TextStyle( fontFamily = FontFamily( - Font(resId = R.font.roboto_light) + Font(resId = R.font.fira_sans_light) ), fontSize = 44.sp, lineHeight = 44.sp, @@ -110,7 +120,7 @@ class ThemeTypo { val codeThin = TextStyle( fontFamily = FontFamily( - Font(resId = R.font.roboto_thin) + Font(resId = R.font.fira_sans_thin) ), fontSize = 44.sp, lineHeight = 44.sp, diff --git a/core/designsystem/src/main/res/font/fira_sans_bold.ttf b/core/designsystem/src/main/res/font/fira_sans_bold.ttf new file mode 100644 index 00000000..e3593fb0 Binary files /dev/null and b/core/designsystem/src/main/res/font/fira_sans_bold.ttf differ diff --git a/core/designsystem/src/main/res/font/fira_sans_extra_light.ttf b/core/designsystem/src/main/res/font/fira_sans_extra_light.ttf new file mode 100644 index 00000000..2d4e3312 Binary files /dev/null and b/core/designsystem/src/main/res/font/fira_sans_extra_light.ttf differ diff --git a/core/designsystem/src/main/res/font/fira_sans_light.ttf b/core/designsystem/src/main/res/font/fira_sans_light.ttf new file mode 100644 index 00000000..663d1de5 Binary files /dev/null and b/core/designsystem/src/main/res/font/fira_sans_light.ttf differ diff --git a/core/designsystem/src/main/res/font/fira_sans_medium.ttf b/core/designsystem/src/main/res/font/fira_sans_medium.ttf new file mode 100644 index 00000000..001ebe7e Binary files /dev/null and b/core/designsystem/src/main/res/font/fira_sans_medium.ttf differ diff --git a/core/designsystem/src/main/res/font/fira_sans_regular.ttf b/core/designsystem/src/main/res/font/fira_sans_regular.ttf new file mode 100644 index 00000000..6f806474 Binary files /dev/null and b/core/designsystem/src/main/res/font/fira_sans_regular.ttf differ diff --git a/core/designsystem/src/main/res/font/fira_sans_thin.ttf b/core/designsystem/src/main/res/font/fira_sans_thin.ttf new file mode 100644 index 00000000..c925f94a Binary files /dev/null and b/core/designsystem/src/main/res/font/fira_sans_thin.ttf differ diff --git a/core/designsystem/src/main/res/font/roboto_extra_light.ttf b/core/designsystem/src/main/res/font/roboto_extra_light.ttf deleted file mode 100644 index c40e1147..00000000 Binary files a/core/designsystem/src/main/res/font/roboto_extra_light.ttf and /dev/null differ diff --git a/core/designsystem/src/main/res/font/roboto_light.ttf b/core/designsystem/src/main/res/font/roboto_light.ttf deleted file mode 100644 index e7307e72..00000000 Binary files a/core/designsystem/src/main/res/font/roboto_light.ttf and /dev/null differ diff --git a/core/designsystem/src/main/res/font/roboto_thin.ttf b/core/designsystem/src/main/res/font/roboto_thin.ttf deleted file mode 100644 index 2e0dee6a..00000000 Binary files a/core/designsystem/src/main/res/font/roboto_thin.ttf and /dev/null differ diff --git a/data/cloud/src/main/java/com/twofasapp/data/cloud/googledrive/GoogleDriveImpl.kt b/data/cloud/src/main/java/com/twofasapp/data/cloud/googledrive/GoogleDriveImpl.kt index 4eb6b687..4cfa2b69 100644 --- a/data/cloud/src/main/java/com/twofasapp/data/cloud/googledrive/GoogleDriveImpl.kt +++ b/data/cloud/src/main/java/com/twofasapp/data/cloud/googledrive/GoogleDriveImpl.kt @@ -178,7 +178,7 @@ internal class GoogleDriveImpl( GsonFactory(), googleAccountCredential ) - .setApplicationName("2FAS") + .setApplicationName("Anexia Authenticator") .build() } } \ No newline at end of file diff --git a/feature/widget/src/main/res/values-night/colors.xml b/feature/widget/src/main/res/values-night/colors.xml index baf6049b..fd89b1f0 100644 --- a/feature/widget/src/main/res/values-night/colors.xml +++ b/feature/widget/src/main/res/values-night/colors.xml @@ -1,6 +1,6 @@ - #ED1C24 + #77BC1F #101116 #FFFFFF #636363 diff --git a/feature/widget/src/main/res/values/colors.xml b/feature/widget/src/main/res/values/colors.xml index 070ede1b..58c6fc7d 100644 --- a/feature/widget/src/main/res/values/colors.xml +++ b/feature/widget/src/main/res/values/colors.xml @@ -1,6 +1,6 @@ - #ED1C24 + #77BC1F #FFFFFF #000000 #FF9E9E9E