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

View File

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