diff --git a/package.json b/package.json index ed38a90..b9972db 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ "dependencies": { "@material-ui/core": "^4.12.3", "@material-ui/icons": "^4.11.2", + "bootstrap": "^5.1.0", "epubjs": "^0.3.88", "node-sass": "4.14.1", "react-epub-viewer": "^0.1.7", diff --git a/public/index.html b/public/index.html index 8a8c2b6..1c76b85 100644 --- a/public/index.html +++ b/public/index.html @@ -21,11 +21,17 @@ @font-face { font-family: "SansNum"; - src: url(../fonts/IRANSansWebFaNum.woff); + src: url(%PUBLIC_URL%/css/IRANSansWebFaNum.woff); } - * , body { + *, + body { font-family: Sans, Nazanin; } + + .nav-footer-item > div > span { + font-family: "SansNum" !important; + color: #000 !important; + } diff --git a/src/components/Setting/setting.js b/src/components/Setting/setting.js index 376de37..3fe27c5 100644 --- a/src/components/Setting/setting.js +++ b/src/components/Setting/setting.js @@ -1,6 +1,5 @@ import React from 'react' import { UncontrolledCollapse, Card } from 'reactstrap' -import '../../../src/components/style/setting.scss' import Fontstyle from './FontStyle/Fontstyle' import Colors from './FontColor/colors' import FontSize from './FontSize/fontsize' @@ -8,6 +7,7 @@ import LineHeight from './LineHeight/lineheight' const Setting = (props) => { const { + isOpen, setIsChecked, isChecked, countersize, @@ -22,8 +22,7 @@ const Setting = (props) => { return ( <> - - +