v4.0.4
🐛 Bug Fixes
- css: ensure tailwind whitelisting without overriding (5b3f6d2)
If you were previously overriding your theme like this:
@import "tailwindcss";
@import "@nuxt/ui-pro";
@source "../../../content/**/*";
@source "../../../node_modules/docus/app/**/*";
/* Overrides here */
@theme static {
--font-sans: 'Public Sans', sans-serif;
}
You no longer need to source your content folder and the Docus layer app folder. This is handled under the hood, just adding overrides is enough:
@import "tailwindcss";
@import "@nuxt/ui-pro";
@theme static {
--font-sans: 'Public Sans', sans-serif;
}
More info about theming on https://www.docus.dev/en/concepts/theme
Full Changelog: v4.0.3...v4.0.4