Skip to content

Commit

Permalink
Merge pull request #156 from mparvazi/patch-2
Browse files Browse the repository at this point in the history
Using Vazir font for shops in RTL language
  • Loading branch information
SZCZUPAK Valentin committed Jan 24, 2022
2 parents 0fe8fb1 + 9320473 commit 7348b1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -65,6 +65,7 @@
"material-design-icons-iconfont": "^5.0.1",
"nouislider": "^15.5.0",
"swiper": "^7.4.1",
"vazir-font": "^30.1.0",
"wnumb": "^1.2.0"
}
}
6 changes: 6 additions & 0 deletions src/scss/rtl.scss
@@ -1,5 +1,11 @@
// Custom CSS rules for RTL should be included here.
// This file will be used automatically if shop language is RTL.
@import "~vazir-font/dist/font-face.css";

body {
font-family: Vazir,sans-serif;
}

.material-icons {
&.rtl-flip {
transform: scaleX(-1);
Expand Down

0 comments on commit 7348b1f

Please sign in to comment.