Skip to content

Commit

Permalink
fix: Add delta theming properties to message strip (#2013)
Browse files Browse the repository at this point in the history
  • Loading branch information
JKMarkowski committed Jan 5, 2021
1 parent 3c8ca42 commit 3a6ff61
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/message-strip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
$block: #{$fd-namespace}-message-strip;

.#{$block} {
$fd-message-strip-border: 1px solid;
$fd-message-strip-border-radius: 0.25rem;
$fd-message-strip-padding: 0.4375rem 1rem;
$fd-message-strip-padding-default: 1rem;
Expand Down Expand Up @@ -58,7 +57,8 @@ $block: #{$fd-namespace}-message-strip;
position: relative;
color: $fd-message-strip-text-color;
background-color: $fd-message-strip-background-color;
border: $fd-message-strip-border;
border-width: var(--fdMessageStripBorderWidth);
border-style: solid;
border-color: $fd-message-strip-border-color;
border-radius: $fd-message-strip-border-radius;
padding: $fd-message-strip-padding;
Expand Down
3 changes: 3 additions & 0 deletions src/theming/sap_fiori_3.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,7 @@

/* Grid List */
--fdGrid_List_Item_Hover_Border_Color: var(--sapTile_Interactive_BorderColor);

/* Message Strip */
--fdMessageStripBorderWidth: 0.0625rem;
}
3 changes: 3 additions & 0 deletions src/theming/sap_fiori_3_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,7 @@

/* Grid List */
--fdGrid_List_Item_Hover_Border_Color: var(--sapTile_Interactive_BorderColor);

/* Message Strip */
--fdMessageStripBorderWidth: 0.0625rem;
}
3 changes: 3 additions & 0 deletions src/theming/sap_fiori_3_hcb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,7 @@

/* Grid List */
--fdGrid_List_Item_Hover_Border_Color: var(--sapTile_Interactive_BorderColor);

/* Message Strip */
--fdMessageStripBorderWidth: 0.125rem;
}
3 changes: 3 additions & 0 deletions src/theming/sap_fiori_3_hcw.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,7 @@

/* Grid List */
--fdGrid_List_Item_Hover_Border_Color: var(--sapTile_Interactive_BorderColor);

/* Message Strip */
--fdMessageStripBorderWidth: 0.125rem;
}
3 changes: 3 additions & 0 deletions src/theming/sap_fiori_3_light_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,7 @@

/* Grid List */
--fdGrid_List_Item_Hover_Border_Color: var(--sapTile_Interactive_BorderColor);

/* Message Strip */
--fdMessageStripBorderWidth: 0.0625rem;
}

0 comments on commit 3a6ff61

Please sign in to comment.