Skip to content

Commit

Permalink
fix(datepicker): background and border theming (#2418)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Jun 18, 2020
1 parent 7b19bb4 commit 381eb00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@
*/

@mixin nb-datepicker-theme {
nb-datepicker-container {
nb-datepicker-container nb-card {
border-color: nb-theme(datepicker-border-color);
border-style: nb-theme(datepicker-border-style);
border-width: nb-theme(datepicker-border-width);
border-radius: nb-theme(datepicker-border-radius);
background: nb-theme(datepicker-background-color);

nb-card {
box-shadow: nb-theme(datepicker-shadow);
}
box-shadow: nb-theme(datepicker-shadow);
}
}
4 changes: 2 additions & 2 deletions src/framework/theme/styles/themes/_mapping.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2286,9 +2286,9 @@ $eva-mapping: (
select-hero-control-disabled-text-color: text-disabled-color,

datepicker-background-color: background-basic-color-1,
datepicker-border-color: border-basic-color-3,
datepicker-border-color: border-basic-color-4,
datepicker-border-style: solid,
datepicker-border-width: 0,
datepicker-border-width: 0.0625rem,
datepicker-border-radius: border-radius,
datepicker-shadow: none,

Expand Down

0 comments on commit 381eb00

Please sign in to comment.