first commit

This commit is contained in:
2026-05-31 14:22:39 +03:30
commit 98af7d639b
54 changed files with 11545 additions and 0 deletions

32
core/theme/index.ts Normal file
View File

@@ -0,0 +1,32 @@
import { createTheme } from "@mui/material/styles";
export const theme = createTheme({
direction: "rtl",
typography: {
fontFamily: "var(--font-vazir)",
},
palette: {
primary: {
main: "#2563eb", // یک آبی مدرن و زنده
},
background: {
default: "#f8fafc", // رنگ بدنه تر و تازه (بسیار روشن)
paper: "#ffffff",
},
},
shape: {
borderRadius: 16, // گوشه‌های گرد برای ظاهر مدرن‌تر
},
components: {
MuiButton: {
styleOverrides: {
root: {
textTransform: "none", // فونت غیر کپس‌لاک
padding: "10px 24px",
fontWeight: 600,
},
},
},
},
});
export default theme;

10
core/theme/rtlCache.ts Normal file
View File

@@ -0,0 +1,10 @@
import createCache from "@emotion/cache";
import { prefixer } from "stylis";
import rtlPlugin from "stylis-plugin-rtl";
const rtlCache = createCache({
key: "muirtl",
stylisPlugins: [prefixer, rtlPlugin],
});
export default rtlCache;