first commit
This commit is contained in:
32
core/theme/index.ts
Normal file
32
core/theme/index.ts
Normal 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;
|
||||
Reference in New Issue
Block a user