https://github.com/fredtux/select2-adsht
Another select2 darkish theme
https://github.com/fredtux/select2-adsht
css scss select2 theme
Last synced: 6 days ago
JSON representation
Another select2 darkish theme
- Host: GitHub
- URL: https://github.com/fredtux/select2-adsht
- Owner: fredtux
- License: mit
- Created: 2023-08-25T14:51:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-29T14:09:29.000Z (almost 2 years ago)
- Last Synced: 2025-06-11T22:02:52.249Z (18 days ago)
- Topics: css, scss, select2, theme
- Language: SCSS
- Homepage:
- Size: 5.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Another select2 darkish theme

## DEMO
[https://fredtux.github.io/select2-adsht/](https://fredtux.github.io/select2-adsht/)
## Installation
### NPM
Install the [package](https://www.npmjs.com/package/select2-adsht)```bash
npm install select2-adsht
```### Laravel
Include the css file in your **app.scss** file```scss
// select2-adsht theme
@import 'select2-adsht/dist/select2-adsht.min.css';
```### Directly
Include the css file in your html file```html
```
## Usage
Specify the theme in your select2 options
```js
$(document).ready(function() {
$('.select2-dark').select2({
theme: 'select2-adsht'
});
});
```