diff options
Diffstat (limited to 'docs/js/shards.js')
| -rw-r--r-- | docs/js/shards.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/js/shards.js b/docs/js/shards.js index bb2700c..1b374ee 100644 --- a/docs/js/shards.js +++ b/docs/js/shards.js @@ -94,9 +94,9 @@ const shards = (function(){ if (t === 1) { light = cielab.gradient(count) if (is_mobile) { - el.style.backgroundImage = 'linear-gradient(' + dark(1) + ', ' + light(1) + ')' + el.style.backgroundImage = 'linear-gradient(0deg, ' + dark(1) + ', ' + light(1) + ')' } else { - el.style.backgroundImage = 'linear-gradient(' + dark(1) + ', ' + light(0) + ')' + el.style.backgroundImage = 'linear-gradient(0deg, ' + dark(1) + ', ' + light(0) + ')' } } el.style.backgroundColor = light(1) |
