How accuraty/accutheme-tw4 works
Project type and purpose
• This is an open-source starter theme for DotNetNuke (DNN) using Tailwind CSS v4.
• It provides a complete build pipeline, DNN packaging, 2sxc module styling, DDR menus, containers, and optional Bootstrap shims.
File structure
• Top-level config: .env, package.json, rollup.config.*, postcss.config.ts, vite.config.ts, stylelint.config.js.
• “src/” holds Tailwind source CSS, design tokens (AccuTheme-defaults.json), media assets (favicon, fonts, images, svg, videos).
• “dependencies/” contains any third-party or internally maintained libs.
• “ps/” contains PowerShell scripts for theme configuration and favicon generation.
• “dnn/” mirrors the DNN site structure:
• App_Code and DesktopModules hold Razor templates and code for dynamic modules.
• Portals/_default/Skins and Containers define .ascx skin files, DC R menus, DNN panes.
• Portals/0/2sxc holds sample 2sxc content-app views and helpers.
• Other files: DNN project files (.sln, .csproj), config templates, robots.txt, analytics, etc.
README for additional insights
• Emphasizes: build commands (npm run dnnpackage, npm run images), devDependencies only, Prettier + ESLint for consistent code, local or remote DNN instance development.
• Highlights: DDR Menus, Disclosure-based Nav and Accordion, 2sxc-friendly containers, optional Bootstrap shim, advanced debug footer.