Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Handle iconFallback in white labels #957

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/assets/iconFallback.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"default": "<svg xmlns=\"http: //www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><g fill=\"none\" fill-rule=\"evenodd\"><circle fill=\"#297EF1\" fill-rule=\"nonzero\" cx=\"16\" cy=\"16\" r=\"16\"/><path d=\"M19.314 17.561a.555.555 0 01-.82.12 4.044 4.044 0 01-2.499.862 4.04 4.04 0 01-2.494-.86.557.557 0 01-.815-.12.547.547 0 01.156-.748c.214-.14.229-.421.229-.424a.555.555 0 01.176-.385.504.504 0 01.386-.145.544.544 0 01.528.553c0 .004 0 .153-.054.36a2.954 2.954 0 003.784-.008 1.765 1.765 0 01-.053-.344.546.546 0 01.536-.561h.01c.294 0 .538.237.545.532 0 0 .015.282.227.422a.544.544 0 01.158.746m2.322-6.369a5.94 5.94 0 00-1.69-3.506A5.651 5.651 0 0015.916 6a5.648 5.648 0 00-4.029 1.687 5.936 5.936 0 00-1.691 3.524 5.677 5.677 0 00-3.433 1.737 5.966 5.966 0 00-1.643 4.137C5.12 20.347 7.704 23 10.882 23h10.236c3.176 0 5.762-2.653 5.762-5.915 0-3.083-2.31-5.623-5.244-5.893\" fill=\"#FFF\"/></g></svg>"
"default": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><g fill=\"none\" fill-rule=\"evenodd\"><circle fill=\"#297EF1\" fill-rule=\"nonzero\" cx=\"16\" cy=\"16\" r=\"16\"/><path d=\"M19.314 17.561a.555.555 0 01-.82.12 4.044 4.044 0 01-2.499.862 4.04 4.04 0 01-2.494-.86.557.557 0 01-.815-.12.547.547 0 01.156-.748c.214-.14.229-.421.229-.424a.555.555 0 01.176-.385.504.504 0 01.386-.145.544.544 0 01.528.553c0 .004 0 .153-.054.36a2.954 2.954 0 003.784-.008 1.765 1.765 0 01-.053-.344.546.546 0 01.536-.561h.01c.294 0 .538.237.545.532 0 0 .015.282.227.422a.544.544 0 01.158.746m2.322-6.369a5.94 5.94 0 00-1.69-3.506A5.651 5.651 0 0015.916 6a5.648 5.648 0 00-4.029 1.687 5.936 5.936 0 00-1.691 3.524 5.677 5.677 0 00-3.433 1.737 5.966 5.966 0 00-1.643 4.137C5.12 20.347 7.704 23 10.882 23h10.236c3.176 0 5.762-2.653 5.762-5.915 0-3.083-2.31-5.623-5.244-5.893\" fill=\"#FFF\"/></g></svg>"
}
3 changes: 3 additions & 0 deletions white_label/brands/cozy/js/assets/iconFallback.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"default": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 32 32\"><g fill=\"none\" fill-rule=\"evenodd\"><circle fill=\"#297EF1\" fill-rule=\"nonzero\" cx=\"16\" cy=\"16\" r=\"16\"/><path d=\"M19.314 17.561a.555.555 0 01-.82.12 4.044 4.044 0 01-2.499.862 4.04 4.04 0 01-2.494-.86.557.557 0 01-.815-.12.547.547 0 01.156-.748c.214-.14.229-.421.229-.424a.555.555 0 01.176-.385.504.504 0 01.386-.145.544.544 0 01.528.553c0 .004 0 .153-.054.36a2.954 2.954 0 003.784-.008 1.765 1.765 0 01-.053-.344.546.546 0 01.536-.561h.01c.294 0 .538.237.545.532 0 0 .015.282.227.422a.544.544 0 01.158.746m2.322-6.369a5.94 5.94 0 00-1.69-3.506A5.651 5.651 0 0015.916 6a5.648 5.648 0 00-4.029 1.687 5.936 5.936 0 00-1.691 3.524 5.677 5.677 0 00-3.433 1.737 5.966 5.966 0 00-1.643 4.137C5.12 20.347 7.704 23 10.882 23h10.236c3.176 0 5.762-2.653 5.762-5.915 0-3.083-2.31-5.623-5.244-5.893\" fill=\"#FFF\"/></g></svg>"
}
3 changes: 3 additions & 0 deletions white_label/brands/mabulle/js/assets/iconFallback.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"default": "<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M23.1784 8.23841C28.0447 8.25 32 12.2355 32 17.1247C32 19.4419 31.1121 21.6316 29.5092 23.2884C27.9409 24.922 25.8422 25.8836 23.5935 25.9879C23.5474 25.9995 23.5013 25.9995 23.4436 25.9995H9.90559C9.82487 25.9995 9.74414 25.9879 9.66342 25.9647H6.45766C6.37694 25.9879 6.29622 25.9995 6.2155 25.9995C6.13478 25.9995 6.05405 25.9879 5.97333 25.9647H5.35063C4.9355 25.9647 4.52036 25.9184 4.11676 25.8257C1.69514 25.2464 0 23.0914 0 20.5889C0 17.6229 2.39856 15.2131 5.35063 15.2131C6.78054 15.2131 8.1182 15.7692 9.13297 16.7887C9.50198 17.1595 9.82487 17.5882 10.067 18.0516L8.47568 18.909C8.31423 18.6077 8.09513 18.3181 7.85297 18.0748C7.18414 17.4028 6.28468 17.032 5.3391 17.032C3.37874 17.032 1.78739 18.6309 1.78739 20.6005C1.78739 22.2688 2.91748 23.6939 4.52036 24.0762C4.78559 24.1342 5.06234 24.1689 5.3391 24.1689H5.9618C6.03121 24.149 6.10061 24.1376 6.16269 24.1275C6.17281 24.1258 6.18273 24.1242 6.19243 24.1226C7.56468 23.9024 10.1823 22.6743 12.2811 16.8814C13.711 12.1892 16.5823 10.0806 18.7387 9.14211C19.3845 8.86405 20.0187 8.66709 20.5838 8.52806C19.1193 7.25362 17.2512 6.5353 15.2562 6.5353C11.2894 6.5353 7.91063 9.38541 7.23027 13.313C7.19568 13.5331 7.17261 13.7417 7.14955 13.9618L5.29297 13.788C5.31604 13.5215 5.35063 13.2551 5.39676 13.0002C6.23856 8.1689 10.3899 4.66998 15.2677 4.66998C18.2544 4.66998 21.0105 5.96759 22.9247 8.23841H23.1784ZM23.3398 24.1342C23.3629 24.1226 23.3859 24.1226 23.409 24.1226C27.1798 23.9951 30.1319 20.9944 30.1319 17.1247C30.1319 13.2551 27.0068 10.1153 23.1553 10.1153H23.0977C22.8324 10.0921 16.3748 9.83726 14.08 17.4491C14.08 17.4607 14.08 17.4839 14.0685 17.4955C13.0076 20.4383 11.6353 22.6859 10.067 24.1342H23.3398ZM11.6584 8.58598L11.9698 9.75615C11.0703 9.99945 10.3553 10.7178 10.1132 11.6215L8.9485 11.3087C9.30598 9.98787 10.3438 8.94514 11.6584 8.58598Z\" fill=\"#1D2E55\"/></svg>"
}
Loading