Skip to content

Dark mode theme for calendar #109

@pokerbeing

Description

@pokerbeing

Is your feature request related to a problem? Please describe.
Bootstrap 5.3 now has a global data-bs-theme="dark" attribute. However, if the user invokes this dark-theme, the datepicker calendar is not very legible against the Bootstrap5 standard dark theme color scheme. The gray Year and Month choices don't contrast enough with dark background. (See screenshot)

Datepicker
It would be awesome if the datepicker calendar had a new corresponding dark mode color scheme that was more legible against the Bootstrap5 dark-theme background. Then this style calendar could be triggered by the value of this attribute as either data-bs-theme="dark" or data-bs-theme="light"

Describe the solution you'd like
Based upon the attribute value in the tag, the datepicker calendar will:
- no effect
- change to a new dark-mode color scheme

Describe alternatives you've considered
None.

Additional context
See attached screenshot with Bootstrap5 in new dark mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions