From e60426bdcdb647cb108449d3f0819282a7d68e2b Mon Sep 17 00:00:00 2001 From: Soroosh Date: Sun, 26 Sep 2021 18:49:03 +0330 Subject: [PATCH] Add Localization CSS & Persian Font --- src/assets/app.scss | 5 +++++ src/assets/localization.scss | 7 +++++++ 2 files changed, 12 insertions(+) create mode 100644 src/assets/localization.scss diff --git a/src/assets/app.scss b/src/assets/app.scss index 581645735..f553ccf34 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -288,3 +288,8 @@ h2 { transform: translateY(50px); opacity: 0; } + + +// Localization + +@import "localization.scss"; \ No newline at end of file diff --git a/src/assets/localization.scss b/src/assets/localization.scss new file mode 100644 index 000000000..c7eb90400 --- /dev/null +++ b/src/assets/localization.scss @@ -0,0 +1,7 @@ +@import url('http://fonts.cdnfonts.com/css/iranian-sans'); + +html[lang='fa'] { + #app { + font-family: 'Iranian Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, apple color emoji, segoe ui emoji, segoe ui symbol, noto color emoji; + } +} \ No newline at end of file