Skip to content

Commit f977ee6

Browse files
author
Isha Kasliwal
committed
fix(notifications): update styling to add bordercolor and darker drop shadow
1 parent 3866d93 commit f977ee6

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

design-tokens/force-base/border-color.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,9 @@ props:
163163
COLOR_BORDER_TOGGLE_CHECKED:
164164
value: '{!WHITE}'
165165
comment: These borders create the faux checkmark when the checkbox toggle is in the checked state.
166+
COLOR_BORDER_REMINDER:
167+
value: '{!CADET_BLUE}'
168+
comment: Border color on notification reminders.
166169
COLOR_STROKE_BRAND:
167170
value: '{!SCIENCE_BLUE}'
168171
cssProperties:

design-tokens/force-base/box-shadow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ props:
3838
value: '{!OFFSET_NONE} {!OFFSET_X_SMALL}px {!OFFSET_SMALL}px {!OFFSET_NONE} {!BLACK_TRANSPARENT_16}'
3939
comment: Shadow for drop down.
4040
SHADOW_REMINDER:
41-
value: '{!OFFSET_NONE} {!OFFSET_X_SMALL}px {!OFFSET_X_SMALL}px {!OFFSET_X_SMALL}px {!BLACK_TRANSPARENT_16}'
41+
value: '{!OFFSET_NONE} {!OFFSET_X_SMALL}px {!OFFSET_NONE} {!OFFSET_NONE} {!BLACK_TRANSPARENT_10}'
4242
comment: Shadow for notifications that should be elevated above other components but under modals.
4343
SHADOW_HEADER:
4444
value: '{!OFFSET_NONE} {!OFFSET_X_SMALL}px {!OFFSET_MEDIUM}px {!BLACK_TRANSPARENT_07}'

ui/components/notifications/base/_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
.slds-notification {
2727
position: relative;
2828
width: $size-medium; // this is 320, not 300px
29+
border: 1px solid $color-border-reminder;
2930
border-radius: $border-radius-medium;
3031
box-shadow: $shadow-reminder;
3132

@@ -92,4 +93,3 @@
9293
top: 0;
9394
right: 0;
9495
}
95-

0 commit comments

Comments
 (0)