A modern, minimal WordPress theme scaffold built with Tailwind CSS v4 and Vite for lightning-fast development.
- ⚡ Vite for fast builds and HMR (Hot Module Replacement)
- 🎨 Tailwind CSS v4 with JIT mode for optimal performance
- 📱 Responsive design with mobile-first approach
- ♿ Accessible markup and navigation
- 🧩 Modular JavaScript components with ES Modules
- 🔧 Developer-friendly with ESLint, Prettier, and EditorConfig
- 🚀 Performance-focused with optimized asset loading
- Node.js 18+ and npm/yarn
- WordPress 6.0+
- PHP 8.0+
-
Clone or download this theme to your WordPress themes directory:
cd wp-content/themes/ git clone [repository-url] signalfire-wp-alpha -
Install dependencies:
cd signalfire-wp-alpha npm install -
Start development server:
npm run dev
-
Activate the theme in WordPress admin dashboard
-
Build for production:
npm run build
npm run dev- Starts Vite dev server on
http://localhost:5173 - Enables HMR for instant updates
- Automatically compiles Tailwind CSS
npm run build- Builds optimized assets to
/distdirectory - Minifies CSS and JavaScript
- Generates manifest.json for asset versioning
npm run lint # Run ESLint
npm run format # Run Prettiersignalfire-wp-alpha/
├── theme-src/ # Source files (development)
│ ├── main.js # Main entry point
│ ├── css/
│ │ └── main.css # Tailwind CSS entry
│ ├── js/
│ │ ├── theme.js # Main theme JavaScript
│ │ └── modules/ # Modular components
│ └── components/ # Reusable JS components
├── dist/ # Built assets (production)
├── *.php # WordPress template files
├── vite.config.js # Vite configuration
├── tailwind.config.js # Tailwind configuration
└── package.json # Dependencies and scripts
- Edit
tailwind.config.jsto customize design tokens - Add custom components in
theme-src/css/main.css - Use
@layerdirectives for proper CSS organization
- Add new modules in
theme-src/js/modules/ - Import modules in
theme-src/js/theme.js - Use ES6+ features and modules
- Navigation menus
- Widget areas
- Custom logo support
- Post thumbnails
- Translation ready
- Modern browsers (Chrome, Firefox, Safari, Edge)
- ES2022+ features
- CSS Grid and Flexbox
- Critical CSS inlined automatically
- JavaScript modules loaded efficiently
- Optimized asset caching with versioning
- Lazy loading for images
- Follow WordPress coding standards
- Use ESLint and Prettier for code formatting
- Test across different browsers and devices
- Ensure accessibility standards are met
GPL v2 or later