From ec401c9ea5e77fbcae067417195967703d6f7190 Mon Sep 17 00:00:00 2001 From: Jake Ward Date: Fri, 2 Oct 2020 20:45:49 +0100 Subject: [PATCH 1/2] Update Partner Badge --- src/InviteRenderer.js | 2 +- src/constants.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/InviteRenderer.js b/src/InviteRenderer.js index 251912b..6ad2395 100644 --- a/src/InviteRenderer.js +++ b/src/InviteRenderer.js @@ -58,7 +58,7 @@ const COMMON_COLORS = { members: '#747f8d', badges: { PARTNERED: { - flowerStar: '#4087ed', + flowerStar: '#7289da', icon: '#ffffff' }, VERIFIED: { diff --git a/src/constants.js b/src/constants.js index 2335fa5..2b258d2 100644 --- a/src/constants.js +++ b/src/constants.js @@ -3,7 +3,7 @@ module.exports = { VERIFIED_ICON: 'M7.4 11.57L4 9.02002L5 7.66002L7 9.19002L10.64 4.40002L12 5.40002L7.4 11.57Z', VERIFIED_ICON_X_OFFSET: 4, VERIFIED_ICON_Y_OFFSET: 4.4, - PARTNER_ICON: 'M10.7 5.68C10.3084 5.67346 9.9196 5.74629 9.55696 5.89409C9.19433 6.0419 8.86538 6.26162 8.58996 6.54C8.57907 6.55028 8.57039 6.56268 8.56445 6.57644C8.55852 6.5902 8.55546 6.60502 8.55546 6.62C8.55546 6.63498 8.55852 6.64981 8.56445 6.66356C8.57039 6.67732 8.57907 6.68972 8.58996 6.7L9.63996 7.64C9.66033 7.65898 9.68713 7.66954 9.71496 7.66954C9.7428 7.66954 9.7696 7.65898 9.78996 7.64C10.0353 7.41666 10.3584 7.29821 10.69 7.31C11.34 7.31 11.34 8.04 11.34 8.04C11.3413 8.12573 11.3254 8.21086 11.2932 8.29034C11.261 8.36981 11.2132 8.442 11.1526 8.50263C11.092 8.56326 11.0198 8.61109 10.9403 8.64328C10.8608 8.67546 10.7757 8.69135 10.69 8.69C10.2415 8.66993 9.81833 8.47629 9.50996 8.15C9.19996 7.89 9.14996 7.83 8.77996 7.49C8.40996 7.15 7.05996 5.68 5.64996 5.68C5.34981 5.67733 5.05212 5.73449 4.7743 5.84812C4.49647 5.96176 4.24406 6.1296 4.03181 6.34185C3.81956 6.5541 3.65172 6.80651 3.53808 7.08434C3.42445 7.36216 3.36729 7.65985 3.36996 7.96C3.37374 8.47402 3.53039 8.97529 3.81996 9.4C4.02961 9.686 4.30585 9.91654 4.62474 10.0716C4.94364 10.2267 5.29555 10.3017 5.64996 10.29C6.03604 10.2995 6.42022 10.2329 6.78055 10.0939C7.14087 9.95494 7.47028 9.74633 7.74996 9.48C7.76086 9.46972 7.76954 9.45732 7.77547 9.44356C7.7814 9.42981 7.78446 9.41498 7.78446 9.4C7.78446 9.38502 7.7814 9.3702 7.77547 9.35644C7.76954 9.34268 7.76086 9.33028 7.74996 9.32L6.73996 8.4C6.72026 8.38375 6.69551 8.37486 6.66996 8.37486C6.64442 8.37486 6.61967 8.38375 6.59996 8.4C6.32547 8.59423 5.99617 8.69583 5.65996 8.69C5.47695 8.67717 5.30601 8.59399 5.18297 8.4579C5.05993 8.32181 4.99435 8.14338 4.99996 7.96C4.99857 7.87472 5.0145 7.79005 5.0468 7.71111C5.0791 7.63217 5.12709 7.56061 5.18787 7.50077C5.24864 7.44092 5.32094 7.39405 5.40037 7.36297C5.4798 7.3319 5.56471 7.31728 5.64996 7.32C6.35996 7.32 7.06996 8.07 7.58996 8.59C8.33996 9.35 9.24996 10.38 10.7 10.33C11.0019 10.3327 11.3014 10.2753 11.5809 10.1613C11.8605 10.0473 12.1147 9.87885 12.3287 9.6658C12.5426 9.45276 12.7122 9.19934 12.8274 8.92024C12.9426 8.64115 13.0013 8.34195 13 8.04C13.0022 7.51575 12.8453 7.00317 12.55 6.57C12.3409 6.27848 12.0619 6.0442 11.7387 5.88868C11.4154 5.73316 11.0582 5.6614 10.7 5.68Z', + PARTNER_ICON: 'M10.5906 6.39993L9.19223 7.29993C8.99246 7.39993 8.89258 7.39993 8.69281 7.29993C8.59293 7.19993 8.39317 7.09993 8.29328 6.99993C7.89375 6.89993 7.5941 6.99993 7.29445 7.19993L6.79504 7.49993L4.29797 9.19993C3.69867 9.49993 2.99949 9.39993 2.69984 8.79993C2.30031 8.29993 2.50008 7.59993 2.99949 7.19993L5.99598 5.19993C6.79504 4.69993 7.79387 4.49993 8.69281 4.69993C9.49188 4.89993 10.0912 5.29993 10.5906 5.89993C10.7904 6.09993 10.6905 6.29993 10.5906 6.39993Z M13.4871 7.79985C13.4871 8.19985 13.2874 8.59985 12.9877 8.79985L9.89135 10.7999C9.29206 11.1999 8.69276 11.3999 7.99358 11.3999C7.69393 11.3999 7.49417 11.3999 7.19452 11.2999C6.39545 11.0999 5.79616 10.6999 5.29674 10.0999C5.19686 9.89985 5.29674 9.69985 5.39663 9.59985L6.79499 8.69985C6.89487 8.59985 7.09463 8.59985 7.19452 8.69985C7.39428 8.79985 7.59405 8.89985 7.69393 8.99985C8.09346 8.99985 8.39311 8.99985 8.69276 8.79985L9.39194 8.39985L11.3896 6.99985L11.6892 6.79985C12.1887 6.49985 12.9877 6.59985 13.2874 7.09985C13.4871 7.39985 13.4871 7.59985 13.4871 7.79985Z', PARTNER_ICON_X_OFFSET: 3.37, PARTNER_ICON_Y_OFFSET: 5.68 } From c009771c31b673fa7cb6b49ac563b780056b461a Mon Sep 17 00:00:00 2001 From: Jake Ward Date: Fri, 2 Oct 2020 20:47:42 +0100 Subject: [PATCH 2/2] Update Verified Badge --- src/InviteRenderer.js | 2 +- src/constants.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/InviteRenderer.js b/src/InviteRenderer.js index 6ad2395..638d214 100644 --- a/src/InviteRenderer.js +++ b/src/InviteRenderer.js @@ -62,7 +62,7 @@ const COMMON_COLORS = { icon: '#ffffff' }, VERIFIED: { - flowerStar: '#7289da', + flowerStar: '#43b581', icon: '#ffffff' } } diff --git a/src/constants.js b/src/constants.js index 2b258d2..6d5c97f 100644 --- a/src/constants.js +++ b/src/constants.js @@ -1,6 +1,6 @@ module.exports = { SPECIAL_BADGE: 'M16 8.00002C16 8.79002 14.72 9.38002 14.48 10.09C14.24 10.8 14.92 12.09 14.48 12.68C14.04 13.27 12.64 13.03 12.02 13.48C11.4 13.93 11.23 15.32 10.48 15.57C9.73 15.82 8.81 14.77 8.01 14.77C7.21 14.77 6.26 15.77 5.54 15.57C4.82 15.37 4.62 13.93 4 13.48C3.38 13.03 2 13.3 1.54 12.68C1.08 12.06 1.77 10.84 1.54 10.09C1.31 9.34002 0 8.79002 0 8.00002C0 7.21002 1.28 6.62002 1.52 5.91002C1.76 5.20002 1.08 3.91002 1.52 3.32002C1.96 2.73002 3.37 2.97002 4 2.52002C4.63 2.07002 4.78 0.68002 5.53 0.40002C6.28 0.12002 7.2 1.23002 8 1.23002C8.8 1.23002 9.75 0.23002 10.47 0.43002C11.19 0.63002 11.38 2.07002 12 2.52002C12.62 2.97002 14 2.70002 14.46 3.32002C14.92 3.94002 14.23 5.16002 14.46 5.91002C14.69 6.66002 16 7.21002 16 8.00002Z', - VERIFIED_ICON: 'M7.4 11.57L4 9.02002L5 7.66002L7 9.19002L10.64 4.40002L12 5.40002L7.4 11.57Z', + VERIFIED_ICON: 'M7.4,11.17,4,8.62,5,7.26l2,1.53L10.64,4l1.36,1Z', VERIFIED_ICON_X_OFFSET: 4, VERIFIED_ICON_Y_OFFSET: 4.4, PARTNER_ICON: 'M10.5906 6.39993L9.19223 7.29993C8.99246 7.39993 8.89258 7.39993 8.69281 7.29993C8.59293 7.19993 8.39317 7.09993 8.29328 6.99993C7.89375 6.89993 7.5941 6.99993 7.29445 7.19993L6.79504 7.49993L4.29797 9.19993C3.69867 9.49993 2.99949 9.39993 2.69984 8.79993C2.30031 8.29993 2.50008 7.59993 2.99949 7.19993L5.99598 5.19993C6.79504 4.69993 7.79387 4.49993 8.69281 4.69993C9.49188 4.89993 10.0912 5.29993 10.5906 5.89993C10.7904 6.09993 10.6905 6.29993 10.5906 6.39993Z M13.4871 7.79985C13.4871 8.19985 13.2874 8.59985 12.9877 8.79985L9.89135 10.7999C9.29206 11.1999 8.69276 11.3999 7.99358 11.3999C7.69393 11.3999 7.49417 11.3999 7.19452 11.2999C6.39545 11.0999 5.79616 10.6999 5.29674 10.0999C5.19686 9.89985 5.29674 9.69985 5.39663 9.59985L6.79499 8.69985C6.89487 8.59985 7.09463 8.59985 7.19452 8.69985C7.39428 8.79985 7.59405 8.89985 7.69393 8.99985C8.09346 8.99985 8.39311 8.99985 8.69276 8.79985L9.39194 8.39985L11.3896 6.99985L11.6892 6.79985C12.1887 6.49985 12.9877 6.59985 13.2874 7.09985C13.4871 7.39985 13.4871 7.59985 13.4871 7.79985Z',