11A [ Select2] ( https://github.com/select2 ) v4 [ Theme] ( https://select2.org/appearance#themes ) for [ Bootstrap v5.0.0-beta1] ( https://getbootstrap.com )
22<p ></p >
33
4- [ ![ select2-bootstrap5 version] ( https://img.shields.io/badge/select2--bootstrap5-v0 .0.2 -success )] ( https://github.com/mortezafs/select2-bootstrap5-theme/releases )
4+ [ ![ select2-bootstrap5 version] ( https://img.shields.io/badge/select2--bootstrap5-v1 .0.0 -success )] ( https://github.com/mortezafs/select2-bootstrap5-theme/releases )
55[ ![ License] ( https://img.shields.io/badge/license-MIT-blue )] ( http://opensource.org/licenses/MIT )
66[ ![ Bootstrap] ( https://img.shields.io/badge/bootstrap-v5.x-blue )] ( https://getbootstrap.com )
77![ select2-bootstrap5-rtl] ( https://img.shields.io/badge/rtl-supported-important )
88![ select2-bootstrap5-ltr] ( https://img.shields.io/badge/ltr-supported-important )
9+ ![ select2-bootstrap5-dark] ( https://img.shields.io/badge/Dark%20mode-Supported-green )
910
1011### Compatibility
1112
12- Built and tested with Bootstrap v5.0.0-beta1 and Select2 v4.0.13 in the latest Chrome, Firefox.
13+ Built and tested with Bootstrap v5.1.3 and Select2 v4.0.13 in the latest Chrome, Firefox.
1314It will support both rtl and ltr direction.
1415
1516### Installation
@@ -40,6 +41,8 @@ You may also set it as the default theme for all Select2 widgets like so:
4041$ .fn .select2 .defaults .set ( " theme" , " bootstrap5" );
4142```
4243
44+ Note: if you want to us dark style you can use bootstrap5-dark instance of bootstrap5
45+
4346### Changelog
4447
4548#### 0.0.1-beta.1
@@ -50,6 +53,11 @@ FIx arrow position in dropdowns,
5053Fix some bad padding in styles,
5154And some major improvement.
5255
56+ #### 1.0.0
57+ Fix dropdown size problem,
58+ Add dark style to using in dark mode,
59+ And some major improvement.
60+
5361#### Copyright and license
5462
5563This theme created by Morteza Fard Saffari ([ ArizoTech Co.] ( https://arizotech.com ) ) And licensed under MIT License
0 commit comments