Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for themes #53

Open
iragm opened this issue Sep 28, 2020 · 0 comments
Open

Add support for themes #53

iragm opened this issue Sep 28, 2020 · 0 comments

Comments

@iragm
Copy link

iragm commented Sep 28, 2020

Is your feature request related to a problem? Please describe.
This is a nice tool and easy to use, however it doesn't seem to work with bootstrap themes. For example, with a dark theme, the picker's background is white and the theme I'm using makes the text white, so nothing shows up.

Describe the solution you'd like
I can add to my app's CSS something like this:

.bootstrap-datetimepicker-widget {
    background-color: #222 !important;
}

This works for the project I'm working on now, but this is a bit clumsy and it would be nice for themes to be supported without needing to write custom CSS.

Describe alternatives you've considered
See above.

Additional context
Themes are a pretty important part of bootstrap and I'm surprised they're not better supported. Maybe they are and I'm just overlooking it?

This is the theme I'm using: https://bootswatch.com/darkly/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant