2021-08-11 05:28:33 +00:00
|
|
|
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: {
|
2022-06-22 07:19:54 +00:00
|
|
|
colors: {
|
|
|
|
transparent: "transparent",
|
|
|
|
neutral: {
|
|
|
|
DEFAULT: "rgba(var(--color-neutral), <alpha-value>)",
|
|
|
|
50: "rgba(var(--color-neutral-50), <alpha-value>)",
|
|
|
|
100: "rgba(var(--color-neutral-100), <alpha-value>)",
|
|
|
|
200: "rgba(var(--color-neutral-200), <alpha-value>)",
|
|
|
|
300: "rgba(var(--color-neutral-300), <alpha-value>)",
|
|
|
|
400: "rgba(var(--color-neutral-400), <alpha-value>)",
|
|
|
|
500: "rgba(var(--color-neutral-500), <alpha-value>)",
|
|
|
|
600: "rgba(var(--color-neutral-600), <alpha-value>)",
|
|
|
|
700: "rgba(var(--color-neutral-700), <alpha-value>)",
|
|
|
|
800: "rgba(var(--color-neutral-800), <alpha-value>)",
|
|
|
|
900: "rgba(var(--color-neutral-900), <alpha-value>)",
|
2022-01-13 04:56:30 +00:00
|
|
|
},
|
2022-06-22 07:19:54 +00:00
|
|
|
primary: {
|
|
|
|
50: "rgba(var(--color-primary-50), <alpha-value>)",
|
|
|
|
100: "rgba(var(--color-primary-100), <alpha-value>)",
|
|
|
|
200: "rgba(var(--color-primary-200), <alpha-value>)",
|
|
|
|
300: "rgba(var(--color-primary-300), <alpha-value>)",
|
|
|
|
400: "rgba(var(--color-primary-400), <alpha-value>)",
|
|
|
|
500: "rgba(var(--color-primary-500), <alpha-value>)",
|
|
|
|
600: "rgba(var(--color-primary-600), <alpha-value>)",
|
|
|
|
700: "rgba(var(--color-primary-700), <alpha-value>)",
|
|
|
|
800: "rgba(var(--color-primary-800), <alpha-value>)",
|
|
|
|
900: "rgba(var(--color-primary-900), <alpha-value>)",
|
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
50: "rgba(var(--color-secondary-50), <alpha-value>)",
|
|
|
|
100: "rgba(var(--color-secondary-100), <alpha-value>)",
|
|
|
|
200: "rgba(var(--color-secondary-200), <alpha-value>)",
|
|
|
|
300: "rgba(var(--color-secondary-300), <alpha-value>)",
|
|
|
|
400: "rgba(var(--color-secondary-400), <alpha-value>)",
|
|
|
|
500: "rgba(var(--color-secondary-500), <alpha-value>)",
|
|
|
|
600: "rgba(var(--color-secondary-600), <alpha-value>)",
|
|
|
|
700: "rgba(var(--color-secondary-700), <alpha-value>)",
|
|
|
|
800: "rgba(var(--color-secondary-800), <alpha-value>)",
|
|
|
|
900: "rgba(var(--color-secondary-900), <alpha-value>)",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
extend: {
|
|
|
|
typography: ({ theme }) => ({
|
2021-08-11 05:28:33 +00:00
|
|
|
DEFAULT: {
|
2022-01-17 03:14:52 +00:00
|
|
|
css: {
|
2022-06-22 07:19:54 +00:00
|
|
|
"--tw-prose-body": theme("colors.neutral.700 / 1"),
|
|
|
|
"--tw-prose-headings": theme("colors.neutral.800 / 1"),
|
|
|
|
"--tw-prose-lead": theme("colors.neutral.500 / 1"),
|
|
|
|
"--tw-prose-links": theme("colors.primary.700 / 1"),
|
|
|
|
"--tw-prose-bold": theme("colors.neutral.900 / 1"),
|
|
|
|
"--tw-prose-counters": theme("colors.neutral.800 / 1"),
|
|
|
|
"--tw-prose-bullets": theme("colors.neutral.500 / 1"),
|
|
|
|
"--tw-prose-hr": theme("colors.neutral.200 / 1"),
|
|
|
|
"--tw-prose-quotes": theme("colors.neutral.700 / 1"),
|
|
|
|
"--tw-prose-quote-borders": theme("colors.primary.200 / 1"),
|
|
|
|
"--tw-prose-captions": theme("colors.neutral.500 / 1"),
|
|
|
|
"--tw-prose-code": theme("colors.secondary.700 / 1"),
|
|
|
|
"--tw-prose-pre-code": theme("colors.neutral.700 / 1"),
|
|
|
|
"--tw-prose-pre-bg": theme("colors.neutral.50 / 1"),
|
|
|
|
"--tw-prose-th-borders": theme("colors.neutral.500 / 1"),
|
|
|
|
"--tw-prose-td-borders": theme("colors.neutral.300 / 1"),
|
|
|
|
"--tw-prose-invert-body": theme("colors.neutral.300 / 1"),
|
|
|
|
"--tw-prose-invert-headings": theme("colors.neutral.50 / 1"),
|
|
|
|
"--tw-prose-invert-lead": theme("colors.neutral.500 / 1"),
|
|
|
|
"--tw-prose-invert-links": theme("colors.primary.400 / 1"),
|
|
|
|
"--tw-prose-invert-bold": theme("colors.neutral.DEFAULT / 1"),
|
|
|
|
"--tw-prose-invert-counters": theme("colors.neutral.400 / 1"),
|
|
|
|
"--tw-prose-invert-bullets": theme("colors.neutral.600 / 1"),
|
|
|
|
"--tw-prose-invert-hr": theme("colors.neutral.500 / 1"),
|
|
|
|
"--tw-prose-invert-quotes": theme("colors.neutral.200 / 1"),
|
|
|
|
"--tw-prose-invert-quote-borders": theme("colors.primary.900 / 1"),
|
|
|
|
"--tw-prose-invert-captions": theme("colors.neutral.400 / 1"),
|
|
|
|
"--tw-prose-invert-code": theme("colors.secondary.400 / 1"),
|
|
|
|
"--tw-prose-invert-pre-code": theme("colors.neutral.200 / 1"),
|
|
|
|
"--tw-prose-invert-pre-bg": theme("colors.neutral.700 / 1"),
|
|
|
|
"--tw-prose-invert-th-borders": theme("colors.neutral.500 / 1"),
|
|
|
|
"--tw-prose-invert-td-borders": theme("colors.neutral.700 / 1"),
|
2022-01-17 03:14:52 +00:00
|
|
|
a: {
|
|
|
|
textDecoration: "underline",
|
2022-06-22 07:19:54 +00:00
|
|
|
textDecorationColor: theme("colors.primary.300 / 1"),
|
2022-01-17 03:14:52 +00:00
|
|
|
fontWeight: "500",
|
|
|
|
"&:hover": {
|
2022-06-22 07:19:54 +00:00
|
|
|
color: theme("colors.neutral.DEFAULT / 1"),
|
2022-02-20 03:36:36 +00:00
|
|
|
textDecoration: "none",
|
2022-06-22 07:19:54 +00:00
|
|
|
backgroundColor: theme("colors.primary.600 / 1"),
|
2022-01-17 03:14:52 +00:00
|
|
|
borderRadius: "0.09rem",
|
2021-08-16 04:03:39 +00:00
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
2022-01-17 03:14:52 +00:00
|
|
|
"a code": {
|
|
|
|
color: "var(--tw-prose-code)",
|
|
|
|
},
|
|
|
|
kbd: {
|
2022-06-22 07:19:54 +00:00
|
|
|
backgroundColor: theme("colors.neutral.200 / 1"),
|
2022-01-17 03:14:52 +00:00
|
|
|
padding: "0.1rem 0.4rem",
|
|
|
|
borderRadius: "0.25rem",
|
|
|
|
fontSize: "0.9rem",
|
|
|
|
fontWeight: "600",
|
|
|
|
},
|
|
|
|
mark: {
|
2022-06-22 07:19:54 +00:00
|
|
|
color: theme("colors.neutral.800 / 1"),
|
|
|
|
backgroundColor: theme("colors.secondary.200 / 1"),
|
2022-01-17 03:14:52 +00:00
|
|
|
padding: "0.1rem 0.2rem",
|
|
|
|
borderRadius: "0.12rem",
|
|
|
|
},
|
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
2022-01-17 03:14:52 +00:00
|
|
|
invert: {
|
|
|
|
css: {
|
|
|
|
a: {
|
2022-06-22 07:19:54 +00:00
|
|
|
textDecorationColor: theme("colors.neutral.600 / 1"),
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
2022-01-17 03:14:52 +00:00
|
|
|
kbd: {
|
2022-06-22 07:19:54 +00:00
|
|
|
color: theme("colors.neutral.200 / 1"),
|
|
|
|
backgroundColor: theme("colors.neutral.700 / 1"),
|
2022-01-17 03:14:52 +00:00
|
|
|
},
|
|
|
|
mark: {
|
2022-06-22 07:19:54 +00:00
|
|
|
backgroundColor: theme("colors.secondary.400 / 1"),
|
2022-01-17 03:14:52 +00:00
|
|
|
},
|
|
|
|
},
|
2021-08-11 05:28:33 +00:00
|
|
|
},
|
|
|
|
}),
|
|
|
|
},
|
|
|
|
},
|
2022-01-20 03:08:52 +00:00
|
|
|
plugins: [require("@tailwindcss/typography")],
|
2021-08-11 05:28:33 +00:00
|
|
|
};
|