Skip to content

Commit c136544

Browse files
committed
use tinos font
1 parent 8174b98 commit c136544

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"react": "^16.8.3",
1212
"react-dom": "^16.8.3",
1313
"react-router-dom": "^4.3.1",
14-
"react-scripts": "2.1.5"
14+
"react-scripts": "2.1.5",
15+
"typeface-tinos": "^0.0.54"
1516
},
1617
"devDependencies": {
1718
"eslint-config-airbnb": "^17.1.0",

src/components/Converter/Converter.module.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
.textarea {
77
/* 60px is the height of the subtitle title text plus 24px for "padding" */
88
height: calc(100% - 60px) !important;
9+
10+
font-family: Tinos, serif;
11+
font-size: 1.2rem !important;
912
}

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import ReactDOM from 'react-dom';
33
import App from './components/App';
44
import * as serviceWorker from './serviceWorker';
55

6+
import "typeface-tinos";
67
import './index.css';
78
import 'bootstrap/dist/css/bootstrap.min.css';
89
import 'perseids-react-components/build/css/index.css';

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9514,6 +9514,11 @@ typedarray@^0.0.6:
95149514
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
95159515
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
95169516

9517+
typeface-tinos@^0.0.54:
9518+
version "0.0.54"
9519+
resolved "https://registry.yarnpkg.com/typeface-tinos/-/typeface-tinos-0.0.54.tgz#a19aa02ae13ef66e13f75313420883dbf10889b8"
9520+
integrity sha512-MRedIQFj34TKwYK3+4VTxFcrwWijkxqMKyaHPj3jX3k/B60AtvEvyO1bVM5cJF4K2W6xnGTVM+3yHKkS1nbShw==
9521+
95179522
uglify-js@3.4.x, uglify-js@^3.1.4:
95189523
version "3.4.9"
95199524
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3"

0 commit comments

Comments
 (0)