Add dynamic pages to main menu

This commit is contained in:
2024-01-01 17:10:30 +11:00
parent 689fc7cff6
commit 5f6e3fd86f
7 changed files with 944 additions and 13 deletions

View File

@@ -4,6 +4,16 @@ const colors = require("tailwindcss/colors");
module.exports = {
content: ["./app/templates/**/*.slim", "./slices/admin/templates/**/*.slim", "./public/assets/index.js", "app/decorators/*/decorator.rb"],
safelist: [
{
pattern: /bg-(yellow|orange|green|blue|pink|purple|indigo|emerald)-(50|100|800|900)/,
variants: ['hover', 'dark']
},
{
pattern: /text-(yellow|orange|green|blue|pink|purple|indigo|emerald)-(400)/,
variants: ['hover', 'dark']
},
],
theme: {
fontSize: {
xsm: '0.75rem',