import type {
LinkProps,
SectionProps,
TextProps,
} from "@react-email/components";
import {
Button as UnstyledButton,
Heading as UnstyledHeading,
Link as UnstyledLink,
Section as UnstyledSection,
Text as UnstyledText,
} from "@react-email/components";
import type { EmailContext } from "../types";
export const lightTextColor = "#4B5563";
export const darkTextColor = "#1F2937";
export const borderColor = "#E2E8F0";
export const Text = (
props: TextProps & { light?: boolean; small?: boolean },
) => {
const { light, small, ...forwardProps } = props;
return (
);
};
export const Domain = ({ ctx }: { ctx: EmailContext }) => {
const { baseUrl, domain } = ctx;
return {domain};
};
export const Button = (props: React.ComponentProps) => {
return (
);
};
export const Link = (props: LinkProps) => {
return (
);
};
const fontSize = {
h1: "20px",
h2: "18px",
h3: "16px",
h4: "16px",
h5: "14px",
h6: "12px",
};
export const Heading = (
props: React.ComponentProps,
) => {
const { as = "h1" } = props;
return (
);
};
export const SubHeadingText = (props: TextProps) => {
return (
);
};
export const Section = (props: SectionProps) => {
return (
);
};
export const SmallText = (props: TextProps) => {
return (
);
};
export const Card = (props: SectionProps) => {
return (
);
};
export const Signature = () => {
return (
Luke Vella
Founder
);
};
export const trackingWide = {
letterSpacing: 2,
};
export const fontFamily =
"'Inter UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif";
export const primaryColor = "#4F46E5";