]> source.dussan.org Git - nextcloud-server.git/commitdiff
placeholder.js: adjust saturation and lightness values
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 2 Sep 2013 16:20:18 +0000 (18:20 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 2 Sep 2013 16:20:18 +0000 (18:20 +0200)
core/js/placeholder.js

index 16ebbf99a77b08f8ad505539219fb8c6b3007490..167499940b55aeeaf16b302ec1f5e5774c43b542 100644 (file)
@@ -34,7 +34,7 @@
  *
  * Which will result in:
  *
- * <div id="albumart" style="background-color: rgb(123, 123, 123); ... ">T</div>
+ * <div id="albumart" style="background-color: hsl(123, 90%, 65%r); ... ">T</div>
  *
  */
 
@@ -44,7 +44,7 @@
                        maxRange = parseInt('ffffffffffffffffffffffffffffffff', 16),
                        hue = parseInt(hash, 16) / maxRange * 256,
                        height = this.height();
-               this.css('background-color', 'hsl(' + hue + ', 50%, 50%)');
+               this.css('background-color', 'hsl(' + hue + ', 90%, 65%)');
 
                // CSS rules
                this.css('color', '#fff');