- implement fonts section

This commit is contained in:
Amruth Pillai
2020-07-09 20:43:38 +05:30
parent 3eaab3b427
commit da197be2f5
7 changed files with 121 additions and 2 deletions

View File

@ -4,12 +4,13 @@ import { MdEmail } from 'react-icons/md';
const Onyx = ({ data }) => {
const { profile, metadata } = data;
const { colors, layout } = metadata;
const { font, colors, layout } = metadata;
return (
<div
className="p-8 grid grid-cols-10 gap-4 items-center"
style={{
fontFamily: font,
color: colors.text,
backgroundColor: colors.background,
}}