2021-03-23 12:07:19 +00:00
|
|
|
const defaultTheme = require("tailwindcss/defaultTheme");
|
2021-03-28 14:46:32 +00:00
|
|
|
const plugin = require("tailwindcss/plugin");
|
2021-03-23 12:07:19 +00:00
|
|
|
|
2021-03-28 14:46:32 +00:00
|
|
|
const colors = {
|
2021-03-31 11:24:05 +00:00
|
|
|
primary: { light: "#33D17E", DEFAULT: "#00c65e" },
|
2021-03-29 13:10:03 +00:00
|
|
|
warning: "#ffd567",
|
2021-03-28 14:46:32 +00:00
|
|
|
error: "#ED5454",
|
|
|
|
palette: {
|
|
|
|
100: "#f5f7f7",
|
|
|
|
200: "#d4dddb",
|
|
|
|
300: "#9e9e9e",
|
|
|
|
400: "#555555",
|
|
|
|
500: "#242424",
|
|
|
|
600: "#0d0d0d",
|
|
|
|
},
|
2021-03-23 12:07:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = {
|
2021-12-15 18:00:32 +00:00
|
|
|
content: ["./src/**/*.{js,jsx,ts,tsx}"],
|
2021-03-23 12:07:19 +00:00
|
|
|
theme: {
|
|
|
|
screens: {
|
|
|
|
sm: "640px",
|
|
|
|
tablet: "640px",
|
|
|
|
md: "768px",
|
|
|
|
lg: "1024px",
|
2021-03-25 21:44:24 +00:00
|
|
|
desktop: "1024px",
|
2021-03-23 12:07:19 +00:00
|
|
|
xl: "1280px",
|
|
|
|
hires: "1408px",
|
|
|
|
"2xl": "1536px",
|
|
|
|
},
|
2021-03-28 14:46:32 +00:00
|
|
|
backgroundColor: (theme) => ({ ...theme("colors"), ...colors }),
|
|
|
|
borderColor: (theme) => ({ ...theme("colors"), ...colors }),
|
|
|
|
textColor: (theme) => ({ ...theme("colors"), ...colors }),
|
|
|
|
placeholderColor: (theme) => ({ ...theme("colors"), ...colors }),
|
2021-03-23 12:07:19 +00:00
|
|
|
extend: {
|
|
|
|
fontFamily: {
|
|
|
|
sans: ["Sora", ...defaultTheme.fontFamily.sans],
|
|
|
|
content: ["Source\\ Sans\\ Pro", ...defaultTheme.fontFamily.sans],
|
|
|
|
},
|
2021-03-25 21:44:24 +00:00
|
|
|
fontSize: {
|
|
|
|
xxs: ["0.625rem", "0.75rem"],
|
|
|
|
},
|
2021-03-23 12:07:19 +00:00
|
|
|
maxWidth: {
|
2021-03-25 01:27:53 +00:00
|
|
|
column: "320px",
|
2021-03-29 13:10:03 +00:00
|
|
|
terminal: "640px",
|
2021-03-23 12:07:19 +00:00
|
|
|
tablet: "640px",
|
|
|
|
desktop: "1024px",
|
|
|
|
content: "992px",
|
|
|
|
layout: "1408px",
|
|
|
|
},
|
|
|
|
lineHeight: {
|
|
|
|
16: "4rem",
|
|
|
|
},
|
2021-03-31 11:24:05 +00:00
|
|
|
backgroundImage: {
|
|
|
|
mobile: "url('/bg-mobile.svg')",
|
|
|
|
desktop: "url('/bg.svg')",
|
2021-04-08 14:02:01 +00:00
|
|
|
column: `linear-gradient(to right, ${colors.palette[100]}, ${colors.palette[100]} calc(50% - 288px), transparent calc(50% - 288px))`,
|
2021-03-31 11:24:05 +00:00
|
|
|
},
|
2021-03-23 12:07:19 +00:00
|
|
|
},
|
|
|
|
},
|
2022-05-16 10:59:11 +00:00
|
|
|
plugins: [require("@tailwindcss/typography")],
|
2021-03-23 12:07:19 +00:00
|
|
|
};
|