From 7560520bbb7a73aee1877ab69ea72ac7e26724a9 Mon Sep 17 00:00:00 2001 From: raboid Date: Tue, 9 Apr 2019 12:55:51 -0400 Subject: [PATCH] custom fonts --- components/Carbon.js | 8 +++++ components/FontSelect.js | 68 +++++++++++++++++++++++++++++++++++++--- components/Settings.js | 2 +- 3 files changed, 73 insertions(+), 5 deletions(-) diff --git a/components/Carbon.js b/components/Carbon.js index 1b37df9..6eb333a 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -117,6 +117,14 @@ class Carbon extends React.PureComponent {
+ + ) } diff --git a/components/Settings.js b/components/Settings.js index 7cf4a25..98446b4 100644 --- a/components/Settings.js +++ b/components/Settings.js @@ -109,7 +109,7 @@ const TypeSettings = React.memo( ({ onChange, font, size, lineHeight, onWidthChanging, onWidthChanged }) => { return (
- +