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(clay-css): SVG Icons added cloud #2745

Merged
merged 1 commit into from
Nov 25, 2019
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
3 changes: 3 additions & 0 deletions packages/clay-css/src/images/icons/cloud.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions packages/clay-css/src/scss/functions/_global-functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@

'circle': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><circle class="lexicon-icon-outline" cx="256" cy="256" r="256" fill="#{$color}"/></svg>',

'cloud': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M413.3 197.4C385.4 45.7 184.4 12 113.6 152.9c-150 21-157.6 283.7 13.9 295.6h278.2c143.1-7.8 137.8-239 7.6-251.1zm-32.7 186.9H140.2c-99.6 0-116.1-177.4 16.6-177.4 30.4-121.8 201.4-103 201.4 33.4 118.6.9 111.2 141.1 22.4 144z" fill="#{$color}"/></svg>',

'code': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline code-lt" d="M113.632 165.327c-7.608-7.63-19.991-7.63-27.599 0L7.631 243.729c-7.63 7.63-7.63 19.991 0 27.599.536.536 1.227.736 1.807 1.205l76.573 76.572c3.816 3.815 8.813 5.734 13.811 5.734s9.995-1.897 13.811-5.712c7.63-7.63 7.63-19.991 0-27.599l-64.278-64.279 64.278-64.279c7.608-7.653 7.608-20.013 0-27.643z" fill="#{$color}"/><path class="lexicon-icon-outline code-gt" d="M504.37 243.104c-.536-.536-1.227-.737-1.807-1.205l-76.572-76.572c-7.63-7.63-19.991-7.63-27.599 0-7.63 7.63-7.63 19.991 0 27.599l64.279 64.279-64.279 64.279c-7.63 7.63-7.63 19.991 0 27.599 3.815 3.815 8.813 5.712 13.811 5.712s9.995-1.897 13.811-5.712l78.402-78.402c7.586-7.586 7.586-19.947-.045-27.577z" fill="#{$color}"/><path class="lexicon-icon-outline code-slash" d="M322.733 162.894L166.554 319.073c-7.63 7.63-7.63 19.991 0 27.599 3.816 3.815 8.813 5.712 13.811 5.712s9.995-1.897 13.811-5.712l156.179-156.179c7.63-7.63 7.63-19.991 0-27.599-7.653-7.63-19.991-7.63-27.621 0z" fill="#{$color}"/></svg>',

'cog': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-body" fill="none" d="M487.4 195.2L466 192c-4.1-13.6-9.5-26.7-16.2-39.2l12.9-17.5c8.5-11.5 7.3-27.5-2.8-37.6l-45.6-45.6c-10.1-10.1-26.1-11.3-37.6-2.8l-17.5 12.9c-12.5-6.6-25.6-12-39.2-16.2l-3.2-21.5C314.7 10.4 302.5 0 288.2 0h-64.5c-14.3 0-26.4 10.4-28.5 24.6L192 46c-13.6 4.1-26.7 9.5-39.2 16.2l-17.5-12.9c-11.5-8.5-27.5-7.3-37.6 2.8L52.2 97.8c-10.1 10.1-11.3 26.1-2.8 37.6l12.9 17.5C55.6 165.3 50.2 178.4 46 192l-21.5 3.2C10.5 197.3 0 209.5 0 223.8v64.5c0 14.3 10.5 26.4 24.6 28.5L46 320c4.1 13.6 9.5 26.7 16.2 39.2l-12.9 17.5c-8.5 11.5-7.3 27.5 2.8 37.6l45.6 45.6c10.1 10.1 26.1 11.3 37.6 2.8l17.5-12.9c12.5 6.7 25.6 12.1 39.2 16.2l3.2 21.5c2.1 14.1 14.3 24.6 28.5 24.6h64.5c14.3 0 26.4-10.5 28.5-24.6L320 466c13.6-4.1 26.7-9.5 39.2-16.2l17.5 12.9c11.5 8.5 27.5 7.3 37.6-2.8l45.6-45.6c10.1-10.1 11.3-26.1 2.8-37.6l-12.9-17.5c6.7-12.5 12.1-25.6 16.2-39.2l21.5-3.2c14.1-2.1 24.6-14.3 24.6-28.5v-64.5c-.1-14.3-10.5-26.5-24.7-28.6zM256 352c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"/><path class="lexicon-icon-outline cog-inner" d="M256 160c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96zm0 160c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z" fill="#{$color}"/><path class="lexicon-icon-outline cog-outer" d="M487.4 195.2L466 192c-4.1-13.6-9.5-26.7-16.2-39.2l12.9-17.5c8.5-11.5 7.3-27.5-2.8-37.6l-45.6-45.6c-10.1-10.1-26.1-11.3-37.6-2.8l-17.5 12.9c-12.5-6.6-25.6-12-39.2-16.2l-3.2-21.5C314.7 10.4 302.5 0 288.2 0h-64.5c-14.3 0-26.4 10.4-28.5 24.6L192 46c-13.6 4.1-26.7 9.5-39.2 16.2l-17.5-12.9c-11.5-8.5-27.5-7.3-37.6 2.8L52.2 97.8c-10.1 10.1-11.3 26.1-2.8 37.6l12.9 17.5C55.6 165.3 50.2 178.4 46 192l-21.5 3.2C10.5 197.3 0 209.5 0 223.8v64.5c0 14.3 10.4 26.4 24.6 28.5L46 320c4.1 13.6 9.5 26.7 16.2 39.2l-12.9 17.5c-8.5 11.5-7.3 27.5 2.8 37.6l45.6 45.6c10.1 10.1 26.1 11.3 37.6 2.8l17.5-12.9c12.5 6.7 25.6 12.1 39.2 16.2l3.2 21.5c2.1 14.1 14.3 24.6 28.5 24.6h64.5c14.3 0 26.4-10.5 28.5-24.6L320 466c13.6-4.1 26.7-9.5 39.2-16.2l17.5 12.9c11.5 8.5 27.5 7.3 37.6-2.8l45.6-45.6c10.1-10.1 11.3-26.1 2.8-37.6l-12.9-17.5c6.7-12.5 12.1-25.6 16.2-39.2l21.5-3.2c14.1-2.1 24.6-14.3 24.6-28.5v-64.5c-.1-14.3-10.5-26.5-24.7-28.6zm-12 86.4l-39.3 5.9c-4.7 27-15.3 52-30.5 73.6l23.6 32-36.2 36.2-32-23.6c-21.6 15.2-46.6 25.8-73.6 30.5l-5.9 39.3h-51.2l-5.9-39.3c-27-4.7-52-15.3-73.6-30.5l-32 23.6-36.2-36.2 23.6-32c-15.2-21.6-25.8-46.6-30.5-73.6l-39.3-5.9v-51.2l39.3-5.9c4.7-27 15.3-52 30.5-73.6l-23.6-32 36.2-36.2 32 23.6c21.6-15.2 46.6-25.8 73.6-30.5l5.9-39.3h51.2l5.9 39.3c27 4.7 52 15.3 73.6 30.5l32-23.6 36.2 36.2-23.6 32c15.2 21.6 25.8 46.6 30.5 73.6l39.3 5.9v51.2z" fill="#{$color}"/></svg>',
Expand Down