update fonts

This commit is contained in:
Mohamadzadeh 2026-06-14 11:43:29 +03:30
parent e0c69209f7
commit ecd210dc3b
3 changed files with 72 additions and 76 deletions

136
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -3,11 +3,10 @@
import { Box, HStack, Image, Text, VStack } from "@chakra-ui/react";
import biLogo from "../assets/bi-logo.webp";
function HeaderRoot({ children, dir = "rtl", ...props }) {
function HeaderRoot({ children, ...props }) {
return (
<Box
as="header"
dir={dir}
w="100%"
h="110px"
borderBottom="1px"

View File

@ -12,13 +12,12 @@ export const theme = extendTheme(
},
body: {
bg: "white",
fontFamily: "'Estedad', sans-serif",
},
},
},
fonts: {
heading: "'Estedad', sans-serif",
body: "'Estedad', sans-serif",
heading: "Estedad",
body: "Estedad",
},
},
withDefaultColorScheme({ colorScheme: "facebook" }),
@ -28,9 +27,9 @@ export const Fonts = () => (
<Global
styles={`
@font-face {
font-family: 'Estedad';
font-family: Estedad;
src: url("${estedadFont}") format("woff2");
font-weight: 100 900;
font-weight: 400;
font-style: normal;
font-display: swap;
}