Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
feat: update Algolia logo (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienMotte committed Oct 24, 2022
1 parent c3c0c53 commit 58e0e58
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ node_modules
documentation

dist
.DS_Store
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 1 addition & 9 deletions documentation-src/metalsmith/stylesheets/components/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@
background: url($icon-heart-dark)no-repeat center center / contain
}

&-algolia {
background: url($icon-algolia-dark)no-repeat center center / contain
}

&-algolia-light {
background: url($icon-algolia-light)no-repeat center bottom / contain;
}

&-mail {
background: url($icon-mail)no-repeat 8px 7px / 70%
}
Expand All @@ -38,4 +30,4 @@
position: relative;
display: inline-block;
margin-left: 8px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ $icon-heart: "data:image/svg+xml;utf8,<svg width=\'16\' height=\'15\' viewBox=\'

$icon-heart-dark: "data:image/svg+xml;utf8,<svg width=\'16\' height=\'15\' viewBox=\'0 0 16 15\' xmlns=\'http://www.w3.org/2000/svg\'><title>icon-heart</title><path d=\'M7.996 14.35c.155 0 .285-.053.392-.16l5.57-5.37c.058-.048.14-.125.244-.232.104-.107.27-.302.495-.585.227-.282.43-.572.607-.87.18-.297.338-.657.478-1.08.14-.42.21-.83.21-1.23 0-1.308-.378-2.33-1.134-3.07-.755-.736-1.8-1.105-3.132-1.105-.37 0-.745.064-1.13.192-.383.128-.74.3-1.07.517-.33.217-.614.42-.852.61-.238.192-.464.394-.678.608-.214-.214-.44-.416-.678-.607-.238-.19-.522-.394-.853-.61-.33-.218-.687-.39-1.07-.518-.384-.128-.76-.192-1.13-.192-1.332 0-2.376.37-3.13 1.106C.377 2.492 0 3.514 0 4.824c0 1.313.68 2.652 2.044 4.013l5.56 5.353c.106.107.237.16.392.16z\' fill=\'%2311233a\' fill-rule=\'evenodd\'/></svg>";

$icon-algolia-dark: "data:image/svg+xml;utf8,<svg width=\'59\' height=\'19\' viewBox=\'0 0 59 19\' xmlns=\'http://www.w3.org/2000/svg\'><title>logo-algolia-small</title><g fill=\'none\' fill-rule=\'evenodd\'><path d=\'M35.454 7.42l-.776 2.796 2.5-1.392c-.364-.677-.983-1.188-1.724-1.403zm-6.13 2.855c0 2.995 2.386 5.423 5.333 5.423 2.945 0 5.333-2.427 5.333-5.42 0-2.996-2.388-5.424-5.333-5.424-2.947 0-5.334 2.428-5.334 5.423v-.002zm5.333-3.873c2.1 0 3.81 1.737 3.81 3.87 0 2.136-1.712 3.874-3.813 3.874-2.098 0-3.808-1.738-3.808-3.87 0-2.137 1.71-3.874 3.812-3.874zm1.84-2.223c0-.023.005-.042.005-.065v-.488c0-.54-.428-.978-.956-.978H33.87c-.53 0-.957.436-.957.977v.48c.533-.154 1.095-.237 1.675-.237.666 0 1.306.107 1.908.308zm-5.85.956c-.373-.382-.978-.382-1.353 0l-.17.172c-.373.38-.373 1 0 1.383l.18.184c.385-.627.875-1.182 1.44-1.637l-.096-.1z\' fill=\'%2300B7E5\'/><path d=\'M10.415 15.152c-.22-.565-.425-1.12-.616-1.667-.194-.544-.393-1.1-.598-1.667H3.158l-1.213 3.334H0c.513-1.38.995-2.658 1.444-3.83.45-1.175.888-2.288 1.318-3.343.433-1.053.862-2.058 1.284-3.017.425-.96.866-1.91 1.33-2.853h1.712c.46.942.905 1.89 1.328 2.853.425.96.85 1.966 1.28 3.02.43 1.056.87 2.17 1.32 3.343.448 1.175.93 2.45 1.444 3.83h-2.042l-.003-.004zm-1.75-4.838c-.414-1.092-.82-2.15-1.224-3.17-.404-1.024-.825-2.006-1.262-2.948-.448.946-.873 1.928-1.28 2.95-.402 1.023-.805 2.08-1.202 3.172h4.968v-.004zm8.885 5.49c-1.097-.026-1.876-.26-2.336-.706-.46-.445-.688-1.14-.688-2.08V1.11L16.31.802v11.93c0 .292.022.534.073.725.052.19.135.343.248.46.12.112.272.2.464.255.19.054.427.102.708.142l-.248 1.49h-.004zm8.214-1.43c-.153.102-.448.23-.885.39S23.93 15 23.346 15c-.595 0-1.156-.093-1.682-.283-.526-.19-.987-.485-1.38-.886-.393-.398-.703-.896-.933-1.49-.227-.595-.342-1.305-.342-2.13 0-.72.108-1.385.324-1.988.216-.603.53-1.123.942-1.56.413-.438.916-.78 1.513-1.027.595-.248 1.266-.372 2.014-.372.826 0 1.546.06 2.16.18.613.12 1.132.232 1.55.332v8.83c0 1.52-.393 2.626-1.18 3.31-.786.685-1.978 1.027-3.575 1.027-.623 0-1.21-.05-1.76-.153-.554-.102-1.032-.22-1.437-.36l.32-1.54c.353.136.79.26 1.303.368.513.11 1.05.163 1.607.163 1.05 0 1.81-.207 2.27-.625.465-.42.698-1.086.698-2v-.417l.004-.003zm-.73-7.487c-.3-.043-.704-.067-1.21-.067-.95 0-1.684.312-2.197.934-.514.62-.77 1.445-.77 2.47 0 .573.07 1.06.218 1.467.146.407.342.743.59 1.01.248.266.53.463.855.59.324.127.658.19 1 .19.468 0 .9-.067 1.293-.202.393-.132.703-.287.932-.464V7.03c-.177-.05-.415-.098-.714-.143h.003zm19.295 8.917c-1.1-.026-1.88-.26-2.34-.706-.46-.445-.69-1.14-.69-2.08V1.11l1.782-.308v11.93c0 .292.026.534.078.725.05.19.133.343.247.457.116.12.27.2.46.26.193.06.43.107.71.142l-.247 1.49v-.002zM47.855 3.074c-.364 0-.673-.107-.928-.322-.26-.215-.387-.504-.387-.868s.128-.654.384-.868c.252-.214.563-.32.926-.32.366 0 .673.106.93.32.255.213.384.504.384.868s-.13.653-.383.868c-.252.213-.565.322-.926.322zm-1.003 1.832h2.03v10.138h-2.03V4.906zm8.263-.298c.725 0 1.337.1 1.835.295.5.198.9.476 1.204.836.307.356.523.784.65 1.28.13.496.196 1.042.196 1.64v6.627l-.65.11c-.28.05-.593.096-.943.134-.35.042-.728.08-1.136.113-.408.036-.814.05-1.215.05-.568 0-1.092-.058-1.572-.18s-.893-.316-1.242-.58c-.35-.266-.62-.614-.816-1.052-.193-.432-.29-.956-.29-1.567 0-.586.112-1.088.34-1.51.225-.42.532-.76.922-1.02.39-.253.842-.443 1.36-.567.517-.12 1.062-.183 1.63-.183.183 0 .37.012.565.03.194.02.378.048.555.084l.456.09c.13.028.22.048.272.062v-.533c0-.312-.032-.62-.096-.927-.065-.308-.182-.58-.35-.816-.168-.236-.4-.427-.69-.57-.295-.142-.673-.214-1.14-.214-.596 0-1.116.044-1.563.133-.446.088-.78.18-1 .274L52.18 5.08c.232-.113.62-.218 1.164-.32.543-.102 1.133-.154 1.767-.154l.005.002zm.156 9.5c.428 0 .807-.013 1.138-.032.33-.017.605-.054.826-.108v-3.164c-.13-.068-.343-.125-.633-.172-.29-.048-.643-.072-1.057-.072-.272 0-.56.02-.864.06-.306.042-.584.127-.837.256-.252.13-.463.305-.63.53-.17.224-.253.52-.253.886 0 .68.21 1.152.625 1.417.413.265.98.397 1.69.397h-.004z\' fill=\'%232B395C\'/></g></svg>";

$icon-algolia-light: "data:image/svg+xml;utf8,<svg width=\'49\' height=\'16\' viewBox=\'0 0 49 16\' xmlns=\'http://www.w3.org/2000/svg\' xmlns:xlink=\'http://www.w3.org/1999/xlink\'><title>Algolia_logo_bg-dark Copy 4</title><defs><path d=\'M28.897 5.944l-.632 2.252 2.037-1.122c-.296-.545-.8-.957-1.405-1.13zM23.9 8.242c0 2.413 1.946 4.37 4.347 4.37 2.4 0 4.346-1.957 4.346-4.37 0-2.412-1.945-4.368-4.346-4.368-2.4 0-4.347 1.956-4.347 4.368zm4.347-3.12c1.712 0 3.105 1.4 3.105 3.12 0 1.72-1.393 3.12-3.105 3.12s-3.105-1.4-3.105-3.12c0-1.72 1.393-3.12 3.105-3.12zm1.5-1.788c0-.017.005-.033.005-.05v-.395c0-.435-.35-.788-.78-.788h-1.366c-.43 0-.78.352-.78.787v.386c.435-.123.892-.19 1.365-.19.544 0 1.067.088 1.557.248zm-4.767.77c-.305-.307-.8-.307-1.104 0l-.138.14c-.304.307-.304.806 0 1.114l.147.148c.313-.507.71-.954 1.174-1.322l-.08-.08z\' id=\'a\'/></defs><g fill=\'none\' fill-rule=\'evenodd\'><g><use fill=\'%2300B7E5\' xlink:href=\'%23a\'/><use xlink:href=\'%23a\'/></g><path d=\'M8.49 11.56c-.18-.455-.346-.902-.503-1.342-.157-.44-.32-.887-.487-1.342H2.573l-.988 2.684H0c.418-1.112.81-2.14 1.177-3.086.366-.945.724-1.843 1.075-2.692.35-.85.698-1.66 1.043-2.434.345-.773.706-1.54 1.083-2.297h1.396c.377.76.738 1.525 1.083 2.298.345.774.693 1.585 1.044 2.434.35.85.71 1.747 1.075 2.692.366.945.76 1.974 1.177 3.086H8.49zM7.06 7.663c-.334-.88-.666-1.732-.995-2.556-.33-.824-.673-1.615-1.028-2.373-.367.758-.714 1.55-1.044 2.373-.33.824-.656 1.676-.98 2.556H7.06zM13.69 12.085c-.897-.02-1.532-.21-1.907-.57-.375-.357-.562-.916-.562-1.674V.247L12.675 0v9.61c0 .236.02.43.062.584.042.154.11.277.203.37.093.09.218.16.374.207.157.047.35.086.578.116l-.203 1.2M21 11.545c-.125.082-.365.187-.722.315-.356.127-.772.19-1.248.19-.486 0-.943-.076-1.372-.23-.43-.152-.804-.39-1.124-.71-.32-.324-.574-.724-.76-1.205-.186-.48-.28-1.052-.28-1.716 0-.584.09-1.118.265-1.603.175-.485.43-.904.766-1.257.336-.352.747-.628 1.233-.827.485-.2 1.032-.3 1.642-.3.672 0 1.258.05 1.76.146.5.097.922.186 1.263.267v7.112c0 1.226-.32 2.114-.96 2.666-.642.552-1.613.828-2.916.828-.507 0-.985-.04-1.435-.123-.45-.08-.84-.178-1.17-.29l.264-1.24c.288.11.642.21 1.06.297.42.087.856.13 1.31.13.858 0 1.476-.168 1.853-.505.378-.337.566-.874.566-1.61v-.337zm-.598-6.03c-.243-.036-.57-.055-.984-.055-.775 0-1.372.25-1.79.752-.42.5-.63 1.164-.63 1.992 0 .46.06.853.18 1.18.118.327.28.598.48.813.202.214.434.373.698.475.263.102.535.153.814.153.382 0 .733-.054 1.054-.16.32-.108.574-.233.76-.376V5.63c-.145-.042-.34-.08-.582-.116zM36.13 12.085c-.895-.02-1.53-.21-1.905-.57-.375-.357-.563-.916-.563-1.674V.247L35.115 0v9.61c0 .236.02.43.063.584.04.154.11.277.203.37.094.09.22.16.376.207.156.047.348.085.578.116l-.203 1.2M39.005 2.442c-.297 0-.55-.087-.757-.26-.208-.172-.31-.405-.31-.698 0-.294.102-.527.31-.7.208-.172.46-.26.757-.26s.55.088.757.26c.208.173.312.406.312.7 0 .293-.104.526-.312.7-.208.17-.46.258-.757.258zm-.82 1.476h1.657v8.167h-1.656V3.918zM44.922 3.678c.59 0 1.09.08 1.497.238.405.16.732.383.98.673.248.29.425.635.53 1.034.106.4.16.84.16 1.322v5.337l-.532.09c-.227.038-.482.074-.767.106-.284.032-.593.062-.925.09-.333.027-.663.04-.99.04-.465 0-.892-.048-1.282-.147-.39-.098-.73-.255-1.014-.468-.286-.213-.507-.495-.666-.846-.158-.35-.237-.772-.237-1.265 0-.47.092-.876.277-1.215.184-.34.435-.613.752-.82.317-.21.686-.362 1.108-.46.422-.1.865-.15 1.33-.15.148 0 .3.01.46.026.157.016.308.04.45.066.143.027.267.052.373.074.105.022.18.038.22.05v-.428c0-.252-.025-.5-.078-.747-.054-.246-.15-.464-.286-.656-.137-.19-.325-.345-.562-.46-.238-.115-.546-.172-.926-.172-.486 0-.91.035-1.275.107-.363.07-.635.144-.814.22l-.174-1.264c.19-.088.507-.172.95-.255.443-.08.923-.122 1.44-.122zm.127 7.652c.347 0 .656-.008.925-.025.27-.016.494-.046.673-.09V8.67c-.106-.055-.277-.1-.514-.14-.238-.038-.526-.057-.863-.057-.22 0-.456.016-.704.05-.248.032-.475.1-.68.204-.206.105-.378.247-.515.427-.136.18-.205.42-.205.715 0 .546.17.926.507 1.14.337.213.797.32 1.377.32z\' fill=\'%23FFF\'/></g></svg>";

$icon-search: "data:image/svg+xml;utf8,<svg width=\'22\' height=\'22\' viewBox=\'0 0 22 22\' xmlns=\'http://www.w3.org/2000/svg\'><title>search-icon copy</title><path d=\'M15.723 13.836h-.993l-.353-.34c1.233-1.433 1.975-3.295 1.975-5.32C16.352 3.66 12.692 0 8.176 0S0 3.66 0 8.176s3.66 8.176 8.176 8.176c2.025 0 3.887-.742 5.32-1.975l.34.353v.993L20.126 22 22 20.126l-6.277-6.29zm-7.547 0c-3.132 0-5.66-2.528-5.66-5.66s2.528-5.66 5.66-5.66 5.66 2.528 5.66 5.66-2.528 5.66-5.66 5.66z\' fill=\'%23A3A3A3\' fill-rule=\'evenodd\'/></svg>";

$icon-search-white: "data:image/svg+xml;utf8,<svg width=\'22\' height=\'22\' viewBox=\'0 0 22 22\' xmlns=\'http://www.w3.org/2000/svg\'><title>search-icon copy</title><path d=\'M15.723 13.836h-.993l-.353-.34c1.233-1.433 1.975-3.295 1.975-5.32C16.352 3.66 12.692 0 8.176 0S0 3.66 0 8.176s3.66 8.176 8.176 8.176c2.025 0 3.887-.742 5.32-1.975l.34.353v.993L20.126 22 22 20.126l-6.277-6.29zm-7.547 0c-3.132 0-5.66-2.528-5.66-5.66s2.528-5.66 5.66-5.66 5.66 2.528 5.66 5.66-2.528 5.66-5.66 5.66z\' fill=\'%23FFFFFF\' fill-rule=\'evenodd\'/></svg>";
Expand Down

0 comments on commit 58e0e58

Please sign in to comment.