Skip to content

Commit

Permalink
fix(notifications): update styling to add bordercolor and darker drop…
Browse files Browse the repository at this point in the history
… shadow
  • Loading branch information
ishakasliwal committed Jul 24, 2017
1 parent 3866d93 commit f977ee6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions design-tokens/force-base/border-color.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ props:
COLOR_BORDER_TOGGLE_CHECKED:
value: '{!WHITE}'
comment: These borders create the faux checkmark when the checkbox toggle is in the checked state.
COLOR_BORDER_REMINDER:
value: '{!CADET_BLUE}'
comment: Border color on notification reminders.
COLOR_STROKE_BRAND:
value: '{!SCIENCE_BLUE}'
cssProperties:
Expand Down
2 changes: 1 addition & 1 deletion design-tokens/force-base/box-shadow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ props:
value: '{!OFFSET_NONE} {!OFFSET_X_SMALL}px {!OFFSET_SMALL}px {!OFFSET_NONE} {!BLACK_TRANSPARENT_16}'
comment: Shadow for drop down.
SHADOW_REMINDER:
value: '{!OFFSET_NONE} {!OFFSET_X_SMALL}px {!OFFSET_X_SMALL}px {!OFFSET_X_SMALL}px {!BLACK_TRANSPARENT_16}'
value: '{!OFFSET_NONE} {!OFFSET_X_SMALL}px {!OFFSET_NONE} {!OFFSET_NONE} {!BLACK_TRANSPARENT_10}'
comment: Shadow for notifications that should be elevated above other components but under modals.
SHADOW_HEADER:
value: '{!OFFSET_NONE} {!OFFSET_X_SMALL}px {!OFFSET_MEDIUM}px {!BLACK_TRANSPARENT_07}'
Expand Down
2 changes: 1 addition & 1 deletion ui/components/notifications/base/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
.slds-notification {
position: relative;
width: $size-medium; // this is 320, not 300px
border: 1px solid $color-border-reminder;
border-radius: $border-radius-medium;
box-shadow: $shadow-reminder;

Expand Down Expand Up @@ -92,4 +93,3 @@
top: 0;
right: 0;
}

0 comments on commit f977ee6

Please sign in to comment.