From 0d6d062e73189aa196a5ffbd9a8939134f88bd2d Mon Sep 17 00:00:00 2001 From: okaeiz <100111649+okaeiz@users.noreply.github.com> Date: Fri, 29 Nov 2024 10:11:08 +0330 Subject: [PATCH] feat(customization-rtl): use Vazirmatn font (#6536) Co-authored-by: Alican Erdurmaz --- examples/customization-rtl/index.html | 39 +++++++++++++---------- examples/customization-rtl/src/App.tsx | 1 + examples/customization-rtl/src/global.css | 3 ++ 3 files changed, 27 insertions(+), 16 deletions(-) create mode 100644 examples/customization-rtl/src/global.css diff --git a/examples/customization-rtl/index.html b/examples/customization-rtl/index.html index 65fb4e1cb69f..7fa0ce769940 100644 --- a/examples/customization-rtl/index.html +++ b/examples/customization-rtl/index.html @@ -1,23 +1,29 @@ - - - - - - - - - refine rtl example - - - -
- - + --> + diff --git a/examples/customization-rtl/src/App.tsx b/examples/customization-rtl/src/App.tsx index 526de33251eb..3c5f7bf4ad93 100644 --- a/examples/customization-rtl/src/App.tsx +++ b/examples/customization-rtl/src/App.tsx @@ -15,6 +15,7 @@ import routerProvider, { import { BrowserRouter, Routes, Route, Outlet } from "react-router-dom"; import "@refinedev/antd/dist/reset.css"; +import "./global.css"; import { PostList, PostCreate, PostEdit, PostShow } from "./pages/posts"; diff --git a/examples/customization-rtl/src/global.css b/examples/customization-rtl/src/global.css new file mode 100644 index 000000000000..af2ff7ff7f7d --- /dev/null +++ b/examples/customization-rtl/src/global.css @@ -0,0 +1,3 @@ +* { + font-family: "Vazirmatn", sans-serif; +}