From d7495fa8744d2e0416c5d34314168ded2f956ea1 Mon Sep 17 00:00:00 2001
From: taha12322 <66300435+taha12322@users.noreply.github.com>
Date: Wed, 1 Sep 2021 13:59:11 +0430
Subject: [PATCH] font style
---
.../Setting/FontStyle/Fonts/fonts.js | 12 ++--
src/components/Setting/FontStyle/Fontstyle.js | 4 +-
src/components/style/fontStyle.scss | 56 +++++++++++-------
src/components/style/fonts.scss | 58 +++++++++++++------
4 files changed, 81 insertions(+), 49 deletions(-)
diff --git a/src/components/Setting/FontStyle/Fonts/fonts.js b/src/components/Setting/FontStyle/Fonts/fonts.js
index 5c888d1..e375b8b 100644
--- a/src/components/Setting/FontStyle/Fonts/fonts.js
+++ b/src/components/Setting/FontStyle/Fonts/fonts.js
@@ -7,26 +7,22 @@ const Fonts = (props) => {
const changeFontStyle = (id) => {
setDropdownOpen(!dropdownOpen)
- console.log()
if (id === 1) {
setBookStyle({ ...bookStyle, fontFamily: "Sans" });
} else {
setBookStyle({ ...bookStyle, fontFamily: "Nazanin" });
}
- console.log(bookStyle)
};
return (
<>
-
>
);
};
diff --git a/src/components/Setting/FontStyle/Fontstyle.js b/src/components/Setting/FontStyle/Fontstyle.js
index 58c8be0..ff7dc26 100644
--- a/src/components/Setting/FontStyle/Fontstyle.js
+++ b/src/components/Setting/FontStyle/Fontstyle.js
@@ -16,8 +16,8 @@ const Fontstyle = (props) => {
return (
-
-