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 { 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"
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user