diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-02-27 15:01:25 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-04-06 21:32:45 +0200 |
commit | 275b9868b21c3b9b8ccc209c7c35a347ebf4ec29 (patch) | |
tree | 6f60486970256cc957253a552eca7a3b0eb93ac2 /core | |
parent | d5cfd09d4757a4fc13c2b7f00c7b7acd1b3412a1 (diff) | |
download | nextcloud-server-275b9868b21c3b9b8ccc209c7c35a347ebf4ec29.tar.gz nextcloud-server-275b9868b21c3b9b8ccc209c7c35a347ebf4ec29.zip |
Fixed documentation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/js/placeholder.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/js/placeholder.js b/core/js/placeholder.js index 0240fd4045d..a73881344e3 100644 --- a/core/js/placeholder.js +++ b/core/js/placeholder.js @@ -2,7 +2,7 @@ * ownCloud * * @author John Molakvoæ - * @copyright 2016-2017 John Molakvoæ <skjnldsv@protonmail.com> + * @copyright 2016-2018 John Molakvoæ <skjnldsv@protonmail.com> * @author Morris Jobke * @copyright 2013 Morris Jobke <morris.jobke@gmail.com> * @@ -36,7 +36,7 @@ * * Which will result in: * - * <div id="albumart" style="background-color: hsl(123, 90%, 65%); ... ">T</div> + * <div id="albumart" style="background-color: rgb(121, 90, 171); ... ">T</div> * * You may also call it like this, to have a different background, than the seed: * @@ -44,18 +44,18 @@ * * Resulting in: * - * <div id="albumart" style="background-color: hsl(123, 90%, 65%); ... ">A</div> + * <div id="albumart" style="background-color: rgb(121, 90, 171); ... ">A</div> * */ /* - * Alternatively, you can use the prototype function to convert your string to hsl colors: + * Alternatively, you can use the prototype function to convert your string to rgb colors: * - * "a6741a86aded5611a8e46ce16f2ad646".toHsl() + * "a6741a86aded5611a8e46ce16f2ad646".toRgb() * - * Will return the hsl parameters within an array: + * Will return the rgb parameters within the following object: * - * [290, 60, 68] + * Color {r: 208, g: 158, b: 109} * */ |