update fonts
This commit is contained in:
parent
e0c69209f7
commit
ecd210dc3b
136
dist/index.js
vendored
136
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -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"
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user