Skip to content

Commit

Permalink
refactor: update font
Browse files Browse the repository at this point in the history
  • Loading branch information
tymmesyde committed Jun 9, 2023
1 parent 50b1659 commit f3a8bd8
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 58 deletions.
Binary file added fonts/PlusJakartaSans.ttf
Binary file not shown.
Binary file removed fonts/Roboto-Bold.ttf
Binary file not shown.
Binary file removed fonts/Roboto-BoldItalic.ttf
Binary file not shown.
Binary file removed fonts/Roboto-Light.ttf
Binary file not shown.
Binary file removed fonts/Roboto-LightItalic.ttf
Binary file not shown.
Binary file removed fonts/Roboto-Medium.ttf
Binary file not shown.
Binary file removed fonts/Roboto-MediumItalic.ttf
Binary file not shown.
Binary file removed fonts/Roboto-Regular.ttf
Binary file not shown.
Binary file removed fonts/Roboto-RegularItalic.ttf
Binary file not shown.
8 changes: 6 additions & 2 deletions src/App/styles.less
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/common/CONSTANTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
55 changes: 0 additions & 55 deletions src/common/roboto.css

This file was deleted.

0 comments on commit f3a8bd8

Please sign in to comment.