Skip to content

Commit

Permalink
fix: add datepicker css to dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
dziraf committed Sep 18, 2023
1 parent e664aa6 commit 1a24096
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/themes/dark/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,37 @@ body {
.adminjs_DatePicker .react-datepicker-wrapper {
border-color: rgba(145, 158, 171, 0.32) !important;
}

.adminjs_DatePicker .react-datepicker {
background: #1c1c1c !important;
color: #fff !important;
border: 1px solid #3c3c3c !important;
}

.adminjs_DatePicker .react-datepicker .react-datepicker__triangle {
border-top-color: #3c3c3c !important;
}

.adminjs_DatePicker .react-datepicker .react-datepicker__triangle::before {
border-top-color: #2c2c2c !important;
}

.adminjs_DatePicker .react-datepicker .react-datepicker__header {
background: #1c1c1c;
}

.adminjs_DatePicker .react-datepicker .react-datepicker__header > .react-datepicker__current-month {
color: #fff !important;
}

.adminjs_DatePicker .react-datepicker .react-datepicker__day {
color: #fff;
}

.adminjs_DatePicker .react-datepicker .react-datepicker__day--outside-month {
color: rgb(140, 140, 140) !important;
}

h1, h2, h3, h4, h5, h6, label {
color: #fff;
}

0 comments on commit 1a24096

Please sign in to comment.