Skip to content

Commit

Permalink
updated css config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mole1424 committed Jan 11, 2025
1 parent 6ef2c8a commit a4b0b17
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions purgecss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ module.exports = {
content: ['*.html', '**/*.html', '*.js', '**/*.js'],
css: ['*.css'],
output: ['.'],
dynamicAttributes: ["data-bs-theme", "aria-expanded"],
safelist: [/day-2/, /day-3/, /show/, 'a'],
}
dynamicAttributes: ["data-bs-theme", "aria-expanded", "data-bs-toggle"],
safelist: [
"dropdown", "dropdown-menu", "dropdown-item", "dropdown-toggle",
"nav-item", "nav-link", "me-lg-2",
{
pattern: /a\[href\^="https:\/\/"\]:not/,
variants: ["after"]
},
/day-2/, /day-3/
]
};

0 comments on commit a4b0b17

Please sign in to comment.