2021-08-11 05:28:33 +00:00
|
|
|
const colors = require("tailwindcss/colors");
|
|
|
|
|
|
|
|
module.exports = {
|
2021-12-24 23:52:47 +00:00
|
|
|
content: [
|
|
|
|
"./layouts/**/*.html",
|
|
|
|
"./content/**/*.{html,md}",
|
|
|
|
"./themes/congo/layouts/**/*.html",
|
|
|
|
"./themes/congo/content/**/*.{html,md}",
|
|
|
|
],
|
2021-10-29 00:15:00 +00:00
|
|
|
darkMode: "class",
|
2021-08-11 05:28:33 +00:00
|
|
|
theme: {
|
|
|
|
colors: {
|
|
|
|
transparent: "transparent",
|
2021-08-20 07:02:08 +00:00
|
|
|
neutral: {
|
|
|
|
DEFAULT: "var(--color-neutral)",
|
|
|
|
50: "var(--color-neutral-50)",
|
|
|
|
100: "var(--color-neutral-100)",
|
|
|
|
200: "var(--color-neutral-200)",
|
|
|
|
300: "var(--color-neutral-300)",
|
|
|
|
400: "var(--color-neutral-400)",
|
|
|
|
500: "var(--color-neutral-500)",
|
|
|
|
600: "var(--color-neutral-600)",
|
|
|
|
700: "var(--color-neutral-700)",
|
|
|
|
800: "var(--color-neutral-800)",
|
|
|
|
900: "var(--color-neutral-900)",
|
|
|
|
},
|
|
|
|
primary: {
|
|
|
|
50: "var(--color-primary-50)",
|
|
|
|
100: "var(--color-primary-100)",
|
|
|
|
200: "var(--color-primary-200)",
|
|
|
|
300: "var(--color-primary-300)",
|
|
|
|
400: "var(--color-primary-400)",
|
|
|
|
500: "var(--color-primary-500)",
|
|
|
|
600: "var(--color-primary-600)",
|
|
|
|
700: "var(--color-primary-700)",
|
|
|
|
800: "var(--color-primary-800)",
|
|
|
|
900: "var(--color-primary-900)",
|
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
50: "var(--color-secondary-50)",
|
|
|
|
100: "var(--color-secondary-100)",
|
|
|
|
200: "var(--color-secondary-200)",
|
|
|
|
300: "var(--color-secondary-300)",
|
|
|
|
400: "var(--color-secondary-400)",
|
|
|
|
500: "var(--color-secondary-500)",
|
|
|
|
600: "var(--color-secondary-600)",
|
|
|
|
700: "var(--color-secondary-700)",
|
|
|
|
800: "var(--color-secondary-800)",
|
|
|
|
900: "var(--color-secondary-900)",
|
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
extend: {
|
|
|
|
typography: (theme) => ({
|
|
|
|
DEFAULT: {
|
|
|
|
css: [
|
|
|
|
{
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.700"),
|
2021-08-11 05:28:33 +00:00
|
|
|
a: {
|
|
|
|
color: theme("colors.primary.700"),
|
|
|
|
textDecoration: "underline",
|
2021-08-18 02:54:18 +00:00
|
|
|
textDecorationColor: theme("colors.primary.300"),
|
2021-08-11 05:28:33 +00:00
|
|
|
fontWeight: "500",
|
|
|
|
"&:hover": {
|
2022-01-08 23:42:08 +00:00
|
|
|
color: `${theme("colors.neutral.DEFAULT")} !important`,
|
|
|
|
textDecoration: "none !important",
|
|
|
|
backgroundColor: `${theme("colors.primary.600")} !important`,
|
2021-12-24 23:52:47 +00:00
|
|
|
borderRadius: "0.09rem",
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
},
|
2021-08-20 07:02:08 +00:00
|
|
|
strong: {
|
|
|
|
color: theme("colors.neutral.900"),
|
|
|
|
},
|
|
|
|
"ol > li::before": {
|
|
|
|
color: theme("colors.neutral.800"),
|
|
|
|
},
|
|
|
|
"ul > li::before": {
|
|
|
|
backgroundColor: theme("colors.neutral.500"),
|
|
|
|
},
|
|
|
|
hr: {
|
|
|
|
borderColor: theme("colors.neutral.200"),
|
|
|
|
},
|
2021-08-18 02:54:18 +00:00
|
|
|
blockquote: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.800"),
|
2021-08-18 02:54:18 +00:00
|
|
|
borderLeftColor: theme("colors.primary.200"),
|
|
|
|
},
|
2021-08-20 07:02:08 +00:00
|
|
|
h1: {
|
2021-12-21 02:22:45 +00:00
|
|
|
color: theme("colors.neutral.900"),
|
2021-08-20 07:02:08 +00:00
|
|
|
position: "relative",
|
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
h2: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.800"),
|
2021-08-11 05:28:33 +00:00
|
|
|
position: "relative",
|
|
|
|
},
|
|
|
|
h3: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.800"),
|
2021-08-11 05:28:33 +00:00
|
|
|
position: "relative",
|
|
|
|
},
|
|
|
|
h4: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.800"),
|
2021-08-11 05:28:33 +00:00
|
|
|
position: "relative",
|
|
|
|
},
|
|
|
|
code: {
|
|
|
|
color: theme("colors.secondary.700"),
|
|
|
|
},
|
2021-11-03 22:56:30 +00:00
|
|
|
"a code": {
|
|
|
|
color: theme("colors.secondary.700"),
|
|
|
|
},
|
2021-08-12 08:31:38 +00:00
|
|
|
"pre code": {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.700"),
|
2021-08-12 08:31:38 +00:00
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
pre: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.700"),
|
|
|
|
backgroundColor: theme("colors.neutral.50"),
|
|
|
|
},
|
|
|
|
"pre code": {
|
|
|
|
color: theme("colors.neutral.700"),
|
|
|
|
},
|
2022-01-08 23:42:08 +00:00
|
|
|
"thead th": {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.800"),
|
2022-01-08 23:42:08 +00:00
|
|
|
},
|
|
|
|
"thead tr": {
|
2021-08-20 07:02:08 +00:00
|
|
|
borderBottomColor: theme("colors.neutral.500"),
|
|
|
|
},
|
|
|
|
"tbody tr": {
|
|
|
|
borderBottomColor: theme("colors.neutral.300"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
kbd: {
|
2021-08-20 07:02:08 +00:00
|
|
|
backgroundColor: theme("colors.neutral.200"),
|
2021-08-11 05:28:33 +00:00
|
|
|
padding: "0.1rem 0.4rem",
|
|
|
|
borderRadius: "0.25rem",
|
|
|
|
fontSize: "0.9rem",
|
|
|
|
fontWeight: "600",
|
|
|
|
},
|
2021-08-16 04:03:39 +00:00
|
|
|
mark: {
|
|
|
|
backgroundColor: theme("colors.secondary.200"),
|
|
|
|
padding: "0.1rem 0.2rem",
|
|
|
|
borderRadius: "0.12rem",
|
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
light: {
|
|
|
|
css: [
|
|
|
|
{
|
2021-12-21 02:22:45 +00:00
|
|
|
color: theme("colors.neutral.300"),
|
2021-08-11 05:28:33 +00:00
|
|
|
a: {
|
|
|
|
color: theme("colors.primary.400"),
|
2021-08-20 07:02:08 +00:00
|
|
|
textDecorationColor: theme("colors.neutral.500"),
|
2021-11-03 22:56:30 +00:00
|
|
|
"&:hover": {
|
2022-01-08 23:42:08 +00:00
|
|
|
color: `${theme("colors.neutral.DEFAULT")} !important`,
|
|
|
|
textDecoration: "none !important",
|
2021-11-03 22:56:30 +00:00
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
strong: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.DEFAULT"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
"ol > li::before": {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.400"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
"ul > li::before": {
|
2021-08-20 07:02:08 +00:00
|
|
|
backgroundColor: theme("colors.neutral.600"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
hr: {
|
2021-08-20 07:02:08 +00:00
|
|
|
borderColor: theme("colors.neutral.500"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
blockquote: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.200"),
|
2021-08-18 02:54:18 +00:00
|
|
|
borderLeftColor: theme("colors.primary.900"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
h1: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.DEFAULT"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
h2: {
|
2021-12-21 02:22:45 +00:00
|
|
|
color: theme("colors.neutral.50"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
h3: {
|
2021-12-21 02:22:45 +00:00
|
|
|
color: theme("colors.neutral.50"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
h4: {
|
2021-12-21 02:22:45 +00:00
|
|
|
color: theme("colors.neutral.50"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
"figure figcaption": {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.400"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
code: {
|
|
|
|
color: theme("colors.secondary.400"),
|
|
|
|
},
|
|
|
|
"a code": {
|
2021-11-03 22:56:30 +00:00
|
|
|
color: theme("colors.secondary.400"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
pre: {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.200"),
|
|
|
|
backgroundColor: theme("colors.neutral.700"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
2021-08-13 05:10:10 +00:00
|
|
|
"pre code": {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.200"),
|
2021-08-13 05:10:10 +00:00
|
|
|
},
|
2022-01-08 23:42:08 +00:00
|
|
|
"thead th": {
|
2021-08-20 07:02:08 +00:00
|
|
|
color: theme("colors.neutral.DEFAULT"),
|
2022-01-08 23:42:08 +00:00
|
|
|
},
|
|
|
|
"thead tr": {
|
2021-08-20 07:02:08 +00:00
|
|
|
borderBottomColor: theme("colors.neutral.500"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
"tbody tr": {
|
2021-08-20 07:02:08 +00:00
|
|
|
borderBottomColor: theme("colors.neutral.700"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
kbd: {
|
2021-08-20 07:02:08 +00:00
|
|
|
backgroundColor: theme("colors.neutral.700"),
|
|
|
|
color: theme("colors.neutral.300"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
2021-08-16 04:03:39 +00:00
|
|
|
mark: {
|
|
|
|
backgroundColor: theme("colors.secondary.400"),
|
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}),
|
|
|
|
},
|
|
|
|
},
|
2021-12-24 23:52:47 +00:00
|
|
|
plugins: [require("@tailwindcss/typography")],
|
2021-08-11 05:28:33 +00:00
|
|
|
};
|