feishin/src/renderer/styles/fonts.ts
2022-12-19 17:44:40 -08:00

28 lines
651 B
TypeScript

import { css } from 'styled-components';
export enum Font {
EPILOGUE = 'Epilogue',
GOTHAM = 'Gotham',
INTER = 'Inter',
POPPINS = 'Poppins',
}
export const fontGotham = (weight?: number) => css`
font-weight: ${weight || 400};
font-family: Gotham, sans-serif;
`;
export const fontPoppins = (weight?: number) => css`
font-weight: ${weight || 400};
font-family: Poppins, sans-serif;
`;
export const fontInter = (weight?: number) => css`
font-weight: ${weight || 400};
font-family: Inter, sans-serif;
`;
export const fontEpilogue = (weight?: number) => css`
font-weight: ${weight || 400};
font-family: Epilogue, sans-serif;
`;