Skip to content

Commit

Permalink
chore: separate vuedatepicker styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Jun 28, 2024
1 parent bb46937 commit 18f5b0f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/assets/scss/_theme-light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,3 @@ $btn-color: #fff;
--bs-dark: var(--bs-body-color);
--bs-dark-rgb: var(--bs-body-color-rgb);
}

/* stylelint-disable -- This problem is ignorable. */
.dp__theme_light {
--dp-primary-color: #{$primary}!important;
}
1 change: 1 addition & 0 deletions app/assets/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
@import "markers";
@import "leaflet";
@import "map";
@import "datepicker";
12 changes: 12 additions & 0 deletions app/assets/scss/datepicker.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.dp__theme_dark {
--dp-primary-color: var(--bs-primary)!important;
--dp-primary-text-color: var(--bs-body-bg)!important;
}

.dp__theme_light {
--dp-primary-color: var(--bs-primary)!important;
}

.dp__action_button {
font-weight: bold;
}

0 comments on commit 18f5b0f

Please sign in to comment.