Skip to content

Commit

Permalink
Fix: Add @shadow-opacity (adaptlearning#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck committed May 11, 2023
1 parent d5a2a5f commit 24e022e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions less/_defaults/_colors.less
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,4 @@
// --------------------------------------------------
@shadow: @black;
@shadow-inverted: @white;
@shadow-opacity: 50%;
2 changes: 1 addition & 1 deletion less/core/loading.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@loading-anim-delay: 0.16s;

.loading {
background-color: fade(@shadow, 50%);
background-color: fade(@shadow, @shadow-opacity);
color: @shadow-inverted;

&__inner,
Expand Down
2 changes: 1 addition & 1 deletion less/core/shadow.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.shadow {
background-color: fade(@shadow, 50%);
background-color: fade(@shadow, @shadow-opacity);
}

0 comments on commit 24e022e

Please sign in to comment.