From 296ebf7c7cbe44d297625e29c681b3a8ffb3dc3c Mon Sep 17 00:00:00 2001 From: eleith Date: Sun, 1 Nov 2020 03:32:54 +0000 Subject: add support for downloading avatars from gravatar adding support for gravatar to the current social providers/services. because gravatar relies on email instead of the x-socialprofile carddav field, this requires re-working the current abstraction for how social providers work. also in this change is improved support for when a contact card has multiple fields of the same type (as might be common with email) thus they all can be checked for profile photos if one of them doesn't result in a valid photo Signed-off-by: leith abdulla --- css/icons.scss | 1 + 1 file changed, 1 insertion(+) (limited to 'css') diff --git a/css/icons.scss b/css/icons.scss index 084df4e7..76945ad4 100644 --- a/css/icons.scss +++ b/css/icons.scss @@ -41,6 +41,7 @@ @include icon-black-white('twitter', 'contacts', 2); // “twitter (fab)” by fontawesome.com is licensed under CC BY 4.0. (https://fontawesome.com/icons/twitter?style=brands) @include icon-black-white('diaspora', 'contacts', 2); // “diaspora (fab)” by fontawesome.com is licensed under CC BY 4.0. (https://fontawesome.com/icons/diaspora?style=brands) @include icon-black-white('xing', 'contacts', 2); // “xing (fab)” by fontawesome.com is licensed under CC BY 4.0. (https://fontawesome.com/icons/xing?style=brands) +@include icon-black-white('gravatar', 'contacts', 2); // “wordpress (fab)” by fontawesome.com is licensed under CC BY 4.0. (https://fontawesome.com/icons/wordpress?style=brands) .icon-up-force-white { // using #fffffe to trick the accessibility dark theme icon invert -- cgit v1.2.3