diff --git a/fonts/PlusJakartaSans.ttf b/fonts/PlusJakartaSans.ttf new file mode 100644 index 000000000..b88589a39 Binary files /dev/null and b/fonts/PlusJakartaSans.ttf differ diff --git a/fonts/Roboto-Bold.ttf b/fonts/Roboto-Bold.ttf deleted file mode 100644 index d998cf5b4..000000000 Binary files a/fonts/Roboto-Bold.ttf and /dev/null differ diff --git a/fonts/Roboto-BoldItalic.ttf b/fonts/Roboto-BoldItalic.ttf deleted file mode 100644 index b4e221039..000000000 Binary files a/fonts/Roboto-BoldItalic.ttf and /dev/null differ diff --git a/fonts/Roboto-Light.ttf b/fonts/Roboto-Light.ttf deleted file mode 100644 index 35267989d..000000000 Binary files a/fonts/Roboto-Light.ttf and /dev/null differ diff --git a/fonts/Roboto-LightItalic.ttf b/fonts/Roboto-LightItalic.ttf deleted file mode 100644 index 46e9bf7c9..000000000 Binary files a/fonts/Roboto-LightItalic.ttf and /dev/null differ diff --git a/fonts/Roboto-Medium.ttf b/fonts/Roboto-Medium.ttf deleted file mode 100644 index f714a514d..000000000 Binary files a/fonts/Roboto-Medium.ttf and /dev/null differ diff --git a/fonts/Roboto-MediumItalic.ttf b/fonts/Roboto-MediumItalic.ttf deleted file mode 100644 index 5dc6a2dc6..000000000 Binary files a/fonts/Roboto-MediumItalic.ttf and /dev/null differ diff --git a/fonts/Roboto-Regular.ttf b/fonts/Roboto-Regular.ttf deleted file mode 100644 index 2b6392ffe..000000000 Binary files a/fonts/Roboto-Regular.ttf and /dev/null differ diff --git a/fonts/Roboto-RegularItalic.ttf b/fonts/Roboto-RegularItalic.ttf deleted file mode 100644 index 5b390ff95..000000000 Binary files a/fonts/Roboto-RegularItalic.ttf and /dev/null differ diff --git a/src/App/styles.less b/src/App/styles.less index 1d24672ab..2e9a96014 100644 --- a/src/App/styles.less +++ b/src/App/styles.less @@ -1,9 +1,13 @@ // Copyright (C) 2017-2022 Smart code 203358507 -@import (inline, once, css) '~stremio/common/roboto.css'; @import (reference) '~stremio/common/screen-sizes.less'; @import (reference) '~@stremio/stremio-colors/less/stremio-colors.less'; +@font-face { + font-family: 'PlusJakartaSans'; + src: url('/fonts/PlusJakartaSans.ttf') format('truetype'); +} + :global { @import (once, less) '~stremio/common/animations.less'; @import (once, less) '~stremio-router/styles.css'; @@ -70,7 +74,7 @@ html { height: 100%; min-width: 640px; min-height: 480px; - font-family: 'Roboto', 'sans-serif'; + font-family: 'PlusJakartaSans', 'sans-serif'; overflow: auto; body { diff --git a/src/common/CONSTANTS.js b/src/common/CONSTANTS.js index d882b66ad..89cf37b59 100644 --- a/src/common/CONSTANTS.js +++ b/src/common/CONSTANTS.js @@ -2,7 +2,7 @@ const CHROMECAST_RECEIVER_APP_ID = '1634F54B'; const SUBTITLES_SIZES = [75, 100, 125, 150, 175, 200, 250]; -const SUBTITLES_FONTS = ['Roboto', 'Arial', 'Halvetica', 'Times New Roman', 'Verdana', 'Courier', 'Lucida Console', 'sans-serif', 'serif', 'monospace']; +const SUBTITLES_FONTS = ['PlusJakartaSans', 'Arial', 'Halvetica', 'Times New Roman', 'Verdana', 'Courier', 'Lucida Console', 'sans-serif', 'serif', 'monospace']; const SEEK_TIME_DURATIONS = [5000, 10000, 15000, 20000, 25000, 30000]; const NEXT_VIDEO_POPUP_DURATIONS = [0, 5000, 10000, 15000, 20000, 25000, 30000, 35000, 40000, 45000, 50000]; const CATALOG_PREVIEW_SIZE = 10; diff --git a/src/common/roboto.css b/src/common/roboto.css deleted file mode 100644 index e451a2afa..000000000 --- a/src/common/roboto.css +++ /dev/null @@ -1,55 +0,0 @@ -@font-face { - font-family: 'Roboto'; - font-style: italic; - font-weight: 300; - src: url('/fonts/Roboto-LightItalic.ttf') format('truetype'); -} - -@font-face { - font-family: 'Roboto'; - font-style: italic; - font-weight: 400; - src: url('/fonts/Roboto-RegularItalic.ttf') format('truetype'); -} - -@font-face { - font-family: 'Roboto'; - font-style: italic; - font-weight: 500; - src: url('/fonts/Roboto-MediumItalic.ttf') format('truetype'); -} - -@font-face { - font-family: 'Roboto'; - font-style: italic; - font-weight: 700; - src: url('/fonts/Roboto-BoldItalic.ttf') format('truetype'); -} - -@font-face { - font-family: 'Roboto'; - font-style: normal; - font-weight: 300; - src: url('/fonts/Roboto-Light.ttf') format('truetype'); -} - -@font-face { - font-family: 'Roboto'; - font-style: normal; - font-weight: 400; - src: url('/fonts/Roboto-Regular.ttf') format('truetype'); -} - -@font-face { - font-family: 'Roboto'; - font-style: normal; - font-weight: 500; - src: url('/fonts/Roboto-Medium.ttf') format('truetype'); -} - -@font-face { - font-family: 'Roboto'; - font-style: normal; - font-weight: 700; - src: url('/fonts/Roboto-Bold.ttf') format('truetype'); -} \ No newline at end of file