Skip to content

Commit

Permalink
fix(loading-message): update background color token (#628)
Browse files Browse the repository at this point in the history
Co-authored-by: Jen Downs <[email protected]>
  • Loading branch information
SimonFinney and jendowns authored Jun 24, 2020
1 parent 33347d6 commit f9966c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/__tests__/scss/__snapshots__/SCSS.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12079,6 +12079,10 @@ input:not(output):not([data-invalid]):-moz-ui-invalid {
height: 2rem;
}

.bx--loading-overlay {
background-color: var(--overlay-01, rgba(22, 22, 22, 0.7));
}

.security--status-icon {
display: flex;
align-items: center;
Expand Down
7 changes: 7 additions & 0 deletions src/components/Loading/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
////

@import '@carbon/layout/scss/spacing';
@import '@carbon/themes/scss/tokens';

@import 'carbon-components/scss/globals/scss/vars';

@import 'carbon-components/scss/components/loading/loading';
Expand All @@ -30,5 +32,10 @@
width: $loading--small__sizing__dimensions;
height: $loading--small__sizing__dimensions;
}

// https://github.com/carbon-design-system/carbon/pull/6323
&-overlay {
background-color: $overlay-01;
}
}
}

0 comments on commit f9966c7

Please sign in to comment.