Permalink
Browse files

Add Vazir font-face

  • Loading branch information...
moshtaghi committed May 1, 2018
1 parent 4768d51 commit 9085825b2b60f383d1e4173ca254ff77d4aaf58b
Showing with 5 additions and 2 deletions.
  1. +1 −0 public/index.html
  2. +0 −1 src/assets/jss/material-dashboard-react.jsx
  3. +4 −1 src/layouts/Dashboard/Dashboard.jsx
@@ -11,6 +11,7 @@
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<link rel="apple-touch-icon" sizes="76x76" href="%PUBLIC_URL%/apple-icon.png">
<link href="//cdn.rawgit.com/rastikerdar/vazir-font/v18.0.0/dist/font-face.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.css">
<script src="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.js"></script>
<!--
@@ -48,7 +48,6 @@ const card = {
};
const defaultFont = {
fontFamily: '"Roboto", "Helvetica", "Arial", sans-serif',
fontWeight: "300",
lineHeight: "1.5em"
};
@@ -25,7 +25,10 @@ import logo from "assets/img/reactlogo.png";
// create custom theme configuration
const theme = createMuiTheme({
direction: 'rtl'
direction: 'rtl',
typography: {
fontFamily: '"Vazir", sans-serif'
}
});
// Configure JSS
const jss = create({ plugins: [...jssPreset().plugins, rtl()] });

0 comments on commit 9085825

Please sign in to comment.