Skip to content

Commit

Permalink
try a transform?
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen committed Oct 28, 2024
1 parent a930c2b commit 0d8a285
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions documentation/styles/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
const plugin = require('tailwindcss/plugin')
const tailwindConfig = require("../../dist/tailwind.config.cjs");
const nunjucks = require("nunjucks");

module.exports = {
content: [
"_includes/**/*.njk"
],
content: {
files: "_includes/**/*.njk",
transform: (string) => {
nunjucks.renderString(string)
}
},
darkMode: 'media',
variants: {},
theme: {
Expand Down

0 comments on commit 0d8a285

Please sign in to comment.