Skip to content

Commit 24e022e

Browse files
authored
Fix: Add @shadow-opacity (#425)
1 parent d5a2a5f commit 24e022e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

less/_defaults/_colors.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,4 @@
189189
// --------------------------------------------------
190190
@shadow: @black;
191191
@shadow-inverted: @white;
192+
@shadow-opacity: 50%;

less/core/loading.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@loading-anim-delay: 0.16s;
22

33
.loading {
4-
background-color: fade(@shadow, 50%);
4+
background-color: fade(@shadow, @shadow-opacity);
55
color: @shadow-inverted;
66

77
&__inner,

less/core/shadow.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.shadow {
2-
background-color: fade(@shadow, 50%);
2+
background-color: fade(@shadow, @shadow-opacity);
33
}

0 commit comments

Comments
 (0)