enhance theme integration

This commit is contained in:
2022-09-02 00:19:00 +02:00
parent bcade0b410
commit 706047e451
10 changed files with 3486 additions and 1118 deletions

View File

@ -1,10 +1,21 @@
module.exports = {
darkMode: 'class',
content: [
"./layouts/**/*.html",
"./content/**/*.{html,md}",
],
safelist: [
'sm:flex-row', 'lg:flex-row', 'lg:hidden', 'sm:block'
],
const colors = require("./themes/congo/node_modules/tailwindcss/colors");
const config = require("./themes/congo/tailwind.config.js");
config.theme.colors = {
...config.theme.colors,
...{
purple: config.theme.colors.primary,
black: colors.black,
white: colors.white,
gray: colors.gray,
emerald: colors.emerald,
red: colors.red,
indigo: colors.indigo,
yellow: colors.yellow,
teal: colors.teal,
orange: colors.orange,
green: colors.green,
},
};
module.exports = config;