link-stack/packages/ui/styles/theme.ts

121 lines
2.4 KiB
TypeScript
Raw Normal View History

2024-03-17 12:58:25 +01:00
import { Roboto, Playfair_Display, Poppins } from "next/font/google";
const roboto = Roboto({
weight: ["400"],
subsets: ["latin"],
display: "swap",
});
const playfair = Playfair_Display({
weight: ["900"],
subsets: ["latin"],
display: "swap",
});
const poppins = Poppins({
2024-04-23 13:36:51 +02:00
weight: ["400", "600", "700"],
2024-03-17 12:58:25 +01:00
subsets: ["latin"],
display: "swap",
});
export const fonts = {
roboto,
playfair,
poppins,
};
export const colors: any = {
2024-04-24 21:44:05 +02:00
veryLightGray: "#f5f5f7",
2024-03-17 12:58:25 +01:00
lightGray: "#ededf0",
mediumGray: "#e3e5e5",
2024-04-24 21:44:05 +02:00
darkMediumGray: "#a3a5a5",
2024-04-25 12:31:03 +02:00
highlightGray: "#818383",
2024-03-17 12:58:25 +01:00
darkGray: "#33302f",
2024-04-25 12:31:03 +02:00
veryDarkGray: "#25272A",
2024-03-17 12:58:25 +01:00
mediumBlue: "#4285f4",
2024-04-25 12:31:03 +02:00
darkBlue: "#2063d2",
2024-03-17 12:58:25 +01:00
green: "#349d7b",
lavender: "#a5a6f6",
darkLavender: "#5d5fef",
pink: "#fcddec",
cdrLinkOrange: "#ff7115",
coreYellow: "#fac942",
helpYellow: "#fff4d5",
dwcDarkBlue: "#191847",
hazyMint: "#ecf7f8",
leafcutterElectricBlue: "#4d6aff",
leafcutterLightBlue: "#fafbfd",
waterbearElectricPurple: "#332c83",
waterbearLightSmokePurple: "#eff3f8",
bumpedPurple: "#212058",
mutedPurple: "#373669",
warningPink: "#ef5da8",
lightPink: "#fff0f7",
lightGreen: "#f0fff3",
lightOrange: "#fff5f0",
beige: "#f6f2f1",
2024-04-24 21:44:05 +02:00
brightRed: "#ff0030",
2024-04-25 12:31:03 +02:00
mediumRed: "#bb0010",
2024-03-17 12:58:25 +01:00
almostBlack: "#33302f",
white: "#ffffff",
2024-04-24 21:44:05 +02:00
black: "#000000",
2024-03-17 12:58:25 +01:00
};
export const typography: any = {
h1: {
fontFamily: playfair.style.fontFamily,
fontSize: 45,
fontWeight: 700,
lineHeight: 1.1,
margin: 0,
},
h2: {
fontFamily: poppins.style.fontFamily,
fontSize: 35,
fontWeight: 700,
lineHeight: 1.1,
margin: 0,
},
h3: {
fontFamily: poppins.style.fontFamily,
2024-04-23 13:36:51 +02:00
fontWeight: 600,
2024-03-17 12:58:25 +01:00
fontSize: 27,
lineHeight: 1.1,
margin: 0,
},
h4: {
fontFamily: poppins.style.fontFamily,
fontWeight: 700,
2024-04-25 12:31:03 +02:00
fontSize: 22,
2024-03-17 12:58:25 +01:00
},
h5: {
fontFamily: roboto.style.fontFamily,
fontWeight: 700,
fontSize: 16,
lineHeight: "24px",
textTransform: "uppercase",
textAlign: "center",
margin: 1,
},
h6: {
fontFamily: roboto.style.fontFamily,
fontWeight: 400,
fontSize: 14,
textAlign: "center",
},
p: {
fontFamily: roboto.style.fontFamily,
fontSize: 17,
lineHeight: "26.35px",
fontWeight: 400,
margin: 0,
},
small: {
fontFamily: roboto.style.fontFamily,
fontSize: 13,
lineHeight: "18px",
fontWeight: 400,
margin: 0,
},
};