A css theme for Select2 based on AdminLTE 2 dark template
bower install select2-dark-adminlte-theme
Requires select2-bootstrap.css
after the select2.css
<link rel="stylesheet" href="select2.css">
<link rel="stylesheet" href="select2-dark-adminlte-theme.css">
Configure select2
to apply the theme by passing dark-adminlte
to the theme option:
$( "#dropdown" ).select2({
theme: "dark-adminlte"
});
- Requires Node v4.7.x or higher and npm 2.15.11
- Cloud9 Workspace here
-
Install dependencies
npm install
-
Compile
grunt --task