feishin/src/renderer/styles/fonts.ts

34 lines
803 B
TypeScript
Raw Normal View History

2022-12-19 15:59:14 -08:00
import { css } from 'styled-components';
export enum Font {
2023-07-01 19:10:05 -07:00
EPILOGUE = 'Epilogue',
GOTHAM = 'Gotham',
INTER = 'Inter',
POPPINS = 'Poppins',
2022-12-19 15:59:14 -08:00
}
export const fontGotham = (weight?: number) => css`
2023-07-01 19:10:05 -07:00
font-weight: ${weight || 400};
font-family: Gotham, sans-serif;
2022-12-19 15:59:14 -08:00
`;
export const fontPoppins = (weight?: number) => css`
2023-07-01 19:10:05 -07:00
font-weight: ${weight || 400};
font-family: Poppins, sans-serif;
2022-12-19 15:59:14 -08:00
`;
export const fontInter = (weight?: number) => css`
2023-07-01 19:10:05 -07:00
font-weight: ${weight || 400};
font-family: Inter, sans-serif;
2022-12-19 15:59:14 -08:00
`;
export const fontEpilogue = (weight?: number) => css`
2023-07-01 19:10:05 -07:00
font-weight: ${weight || 400};
font-family: Epilogue, sans-serif;
2022-12-19 15:59:14 -08:00
`;
2023-07-18 17:38:41 -07:00
export const fontRoboto = (weight?: number) => css`
font-weight: ${weight || 400};
font-family: Roboto, sans-serif;
`;