|
|
6 months ago | |
|---|---|---|
| .github | 2 years ago | |
| ci | 3 years ago | |
| docs | 6 months ago | |
| src | 6 months ago | |
| webpack | 6 months ago | |
| .babelrc | 6 months ago | |
| .editorconfig | 8 years ago | |
| .gitattributes | 8 years ago | |
| .gitignore | 2 years ago | |
| .nvmrc | 2 years ago | |
| .stylelintrc.json | 2 years ago | |
| CHANGELOG.md | 6 months ago | |
| CODE_OF_CONDUCT.md | 8 years ago | |
| LICENSE | 8 years ago | |
| README.md | 6 months ago | |
| browserslist | 2 years ago | |
| eslint.config.mjs | 6 months ago | |
| forms.php | 6 months ago | |
| package-lock.json | 6 months ago | |
| package.json | 6 months ago | |
| webpack.config.js | 8 years ago | |
Adminator is a responsive Bootstrap 5 Admin Template built with modern development tools. It provides you with a collection of ready to use code snippets and utilities, custom pages, a collection of applications and some useful widgets.
โจ Latest Update (v2.6.0): Complete Dark Mode System with smart theme switching, OS preference detection, and seamless component integration.
๐ Dark Mode Features: Automatic theme detection, persistent user preferences, theme-aware components (charts, calendars, maps), and a beautiful toggle switch.
๐ Complete Documentation - Detailed setup guides, API reference, and examples
Preview of this awesome admin template available here: https://colorlib.com/polygon/adminator/index.html
๐ Dark Mode Release - Complete dark mode system with seamless theme switching:
In order to run Adminator on your local machine all what you need to do is to have the prerequisites stated below installed on your machine and follow the installation steps down below. Prebuilt static assets can be found under releases.
Start by typing the following commands in your terminal in order to get Adminator full package on your machine and starting a local development server with live reload feature.
# Clone the repository
git clone https://github.com/puikinsh/Adminator-admin-dashboard.git adminator
# Navigate to the project directory
cd adminator
# Install dependencies
npm install
# Start development server (available at http://localhost:4000)
npm start
# Alternative: Start with webpack dashboard
npm run dev
# Development server with hot reload
npm start
# Development server with dashboard
npm run dev
# Build for production (optimized)
npm run build
# Build for production (unminified)
npm run release:unminified
# Build for production (minified)
npm run release:minified
# Preview production build
npm run preview
# Lint JavaScript files
npm run lint:js
# Lint SCSS files
npm run lint:scss
# Run all linters
npm run lint
Adminator now includes a comprehensive dark mode system that works out of the box:
๐ Complete Theme API Documentation โ
Using the Theme API:
// Get current theme
const currentTheme = Theme.current(); // 'light' or 'dark'
// Switch themes programmatically
Theme.toggle();
// Set specific theme
Theme.apply('dark');
// Listen for theme changes
window.addEventListener('adminator:themeChanged', (event) => {
console.log('Theme changed to:', event.detail.theme);
});
CSS Variables for Custom Styling:
.my-component {
background: var(--c-bkg-card);
color: var(--c-text-base);
border: 1px solid var(--c-border);
}
Available CSS Variables:
--c-bkg-body - Main background--c-bkg-card - Card backgrounds--c-text-base - Primary text color--c-text-muted - Secondary text color--c-border - Border colors--c-primary - Primary brand color๐ View Complete CSS Variables Reference โ
๐ Complete Documentation Site - Comprehensive guides and API reference
Here is a brief explanation of the template folder structure and some of its main files usage:
โโโ src # Contains all template source files.
โ โโโ assets # Contains JS, CSS, images and icon fonts.
โ โ โโโ scripts # Contains all JavaScript files.
โ โ โ โโโ charts # Chart.js, Sparkline & Pie Chart plugins init.
โ โ โ โโโ chat # All chat app JS code.
โ โ โ โโโ constants # Template constant values like color values.
โ โ โ โโโ datatable # Date table plugin init.
โ โ โ โโโ datepicker # Bootstrap datepicker init.
โ โ โ โโโ email # All email app code.
โ โ โ โโโ fullcalendar # Fullcalendar plugin init.
โ โ โ โโโ googleMaps # Google maps API integration code.
โ โ โ โโโ masonry # Masonry layout code.
โ โ โ โโโ popover # Bootstrap popover plugin init.
โ โ โ โโโ scrollbar # Perfect scrollbar plugin init.
โ โ โ โโโ search # Topbar toggle search init.
โ โ โ โโโ sidebar # Sidebar JS code.
โ โ โ โโโ skycons # Animated icons plugin init.
โ โ โ โโโ utils # Basic utils used for proper rendering.
โ โ โ โโโ vectorMaps # Vector maps plugin init.
โ โ โ โโโ app.js # Main application entry point.
โ โ โ
โ โ โโโ static # Contains the non-code files.
โ โ โ โโโ fonts # Contains icon fonts.
โ โ โ โโโ images # Contains all template images/svg.
โ โ โ
โ โ โโโ styles # Contains all SCSS files.
โ โ โโโ spec # Contains custom SCSS files.
โ โ โ โโโ components # Contains all template components.
โ โ โ โโโ generic # Contains basic scaffolding styles.
โ โ โ โโโ screens # Contains views specific styles.
โ โ โ โโโ settings # Contains all template variables.
โ โ โ โโโ tools # Contains all mixins.
โ โ โ โโโ utils # Contains helper classes.
โ โ โ โโโ index.scss # Indicator file.
โ โ โ
โ โ โโโ vendor # Contains all plugin files & custom styles.
โ โ โโโ index.scss # Main style entry point.
โ โ
โ โโโ *.html # All HTML template pages.
โโโ webpack # Contains Webpack configuration.
โ โโโ plugins # Contains all Webpack plugins config.
โ โโโ rules # Contains Webpack loaders config.
โ โโโ config.js # Main Webpack configuration.
โ โโโ devServer.js # Development server configuration.
โ โโโ manifest.js # Build system constants.
โ
โโโ .babelrc # Babel ES6 transpiler configuration.
โโโ .editorconfig # Code editor consistency settings.
โโโ eslint.config.mjs # ESLint 9.x flat configuration.
โโโ .gitattributes # Git attributes configuration.
โโโ .gitignore # Git ignore patterns.
โโโ .stylelintrc.json # SCSS/CSS linting configuration.
โโโ browserslist # Supported browsers configuration.
โโโ CHANGELOG.md # Version history and updates.
โโโ package.json # Node.js package configuration.
โโโ README.md # This documentation file.
โโโ webpack.config.js # Webpack entry configuration.
In deployment process, you have several commands:
npm run build
npm run preview
# Unminified production build (for debugging)
npm run release:unminified
# Minified production build (smallest size)
npm run release:minified
The built files will be available in the dist/ directory.
See CHANGELOG.md for detailed version history.
๐ Online Documentation includes comprehensive guides for all features.
Adminator is licensed under The MIT License (MIT). Which means that you can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the final products. But you always need to state that Colorlib is the original author of this template.