Skip to content

Commit

Permalink
Merge pull request #1385 from pat270/clay-1384
Browse files Browse the repository at this point in the history
Fixes #1384 - ClayCSS added new SVG icons `cards-full` and `square-hole`
  • Loading branch information
matuzalemsteles authored Dec 11, 2018
2 parents ff53c96 + b6e2d36 commit 24e803b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/clay-css/src/images/icons/cards-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions packages/clay-css/src/images/icons/square-hole.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions packages/clay-css/src/scss/functions/_global-functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@

'camera': '<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M180.7 79.8c0-15.6-12.8-28.4-28.4-28.4H75.9c-15.6 0-28.4 12.8-28.4 28.4v22.6h133.2V79.8z" fill="#{$color}"/><path class="lexicon-icon-outline" d="M454.6 123.3h-33V78c0-26.8-22-48.8-48.8-48.8H242c-26.8 0-48.8 22-48.8 48.8v45.3H57.4C25.7 123.3 0 149 0 180.6v244.8c0 31.6 25.7 57.4 57.4 57.4h397.3c31.6 0 57.4-25.7 57.4-57.4V180.6c-.1-31.6-25.8-57.3-57.5-57.3zM90.4 241.9c-16.6 0-30.1-13.5-30.1-30.1s13.5-30.1 30.1-30.1 30.1 13.5 30.1 30.1-13.5 30.1-30.1 30.1zm225.8 210.8c-74.8 0-135.5-60.7-135.5-135.5s60.7-135.5 135.5-135.5 135.5 60.7 135.5 135.5-60.6 135.5-135.5 135.5z" fill="#{$color}"/><path class="lexicon-icon-outline" d="M391.5 317.2c0 41.6-33.7 75.3-75.3 75.3s-75.3-33.7-75.3-75.3 33.7-75.3 75.3-75.3 75.3 33.7 75.3 75.3z" fill="#{$color}"/></svg>',

'cards-full': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><rect class="cards-full-top lexicon-icon-outline" width="512" height="224" rx="32" ry="32" fill="#{$color}"/><rect class="cards-full-bottom lexicon-icon-outline" y="288" width="512" height="224" rx="32" ry="32" fill="#{$color}"/></svg>',

'cards': '<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path class="lexicon-icon-body" fill="none" d="M465.1 0H46.9C21.1 0 0 21.1 0 46.9v130.8c0 25.8 21.1 46.9 46.9 46.9H465c25.8 0 46.9-21.1 46.9-46.9V46.9C512 21.1 490.9 0 465.1 0zM465.1 287.3H46.9c-25.8 0-46.9 21.1-46.9 47v130.8C0 490.9 21.1 512 46.9 512H465c25.8 0 46.9-21.1 46.9-46.9V334.3c.1-25.9-21-47-46.8-47z"/><path class="lexicon-icon-outline" d="M465.1 0H46.9C21.1 0 0 21.1 0 46.9v130.8c0 25.8 21.1 46.9 46.9 46.9H465c25.8 0 46.9-21.1 46.9-46.9V46.9C512 21.1 490.9 0 465.1 0zM448 160.7H64v-96h384v96zM465.1 287.3H46.9c-25.8 0-46.9 21.1-46.9 47v130.8C0 490.9 21.1 512 46.9 512H465c25.8 0 46.9-21.1 46.9-46.9V334.3c.1-25.9-21-47-46.8-47zM448 448H64v-96h384v96z" fill="#{$color}"/></svg>',

'cards2': '<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M192 0H32C14.336 0 0 14.336 0 32v160c0 17.664 14.336 32 32 32h160c17.664 0 32-14.336 32-32V32c0-17.664-14.336-32-32-32zM192 288H32c-17.664 0-32 14.336-32 32v160c0 17.664 14.336 32 32 32h160c17.664 0 32-14.336 32-32V320c0-17.664-14.336-32-32-32zM480 0H320c-17.664 0-32 14.336-32 32v160c0 17.664 14.336 32 32 32h160c17.664 0 32-14.336 32-32V32c0-17.664-14.336-32-32-32zM480 288H320c-17.664 0-32 14.336-32 32v160c0 17.664 14.336 32 32 32h160c17.664 0 32-14.336 32-32V320c0-17.664-14.336-32-32-32z" fill="#{$color}"/></svg>',
Expand Down Expand Up @@ -689,6 +691,8 @@

'social-linkedin': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M474.1 0H37.8C16.9 0 0 16.5 0 36.9V475c0 20.4 16.9 37 37.8 37h436.4c20.9 0 37.9-16.6 37.9-36.9V36.9C512 16.5 495 0 474.1 0zM151.9 436.3h-76V191.9h76v244.4zM69.8 114.6c0-60.6 88.1-60.6 88.1 0 0 60.4-88.1 58.4-88.1 0zm366.5 321.7h-75.9V317.5c0-28.3-.5-64.8-39.5-64.8-39.5 0-45.5 30.9-45.5 62.8v120.8h-75.8V191.9h72.8v33.4h1c10.1-19.2 34.9-39.5 71.8-39.5 76.9 0 91.1 50.6 91.1 116.4v134.1z" fill="#{$color}"/></svg>',

'square-hole': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M448 0H64A64 64 0 0 0 0 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V64a64 64 0 0 0-64-64zm-96 352H160V160h192z" fill="#{$color}"/></svg>',

'staging': '<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path class="lexicon-icon-outline" d="M384 254.7v1.3c0 16.8-3.2 32.8-9.1 47.5L493 352c12.6-30.9 19-63.6 19-97.3v-.7l-128 .7zM323.1 147l68.8-110.2C363.5 18.9 332.5 7 299.6 1.3l-22 128.5c16.4 2.8 31.8 8.7 45.5 17.2zM377.3 215.2l122.2-39.8c-10.3-31.8-26.4-60.9-48-86.6L353 172.5c10.7 12.4 19 26.8 24.3 42.7zM161.8 169.3L66 82.3c-22.4 24.9-39.5 53.5-50.8 84.9l120.9 43.9c5.8-15.5 14.6-29.7 25.7-41.8zM238.5 129.2L220.7 0c-33.1 4.6-64.5 15.5-93.4 32.4l65.2 112.5c13.9-8 29.4-13.4 46-15.7zM256 384c-9.3 0-18.4-1-27.2-2.9l-26.7 125.2c17.7 3.8 35.5 5.9 54.1 5.7 14.8 0 29.8-1.3 44.4-3.9L278.5 382c-7.3 1.3-14.8 2-22.5 2zM316 369.1l59.5 113.2c29.4-15.6 55.2-36.6 76.6-62.2l-97.7-82.3c-10.5 12.7-23.6 23.4-38.4 31.3zM128 256c0-2 .1-4 .1-6l-128-4.6c-.1 3.1-.2 6.2-.2 9.4 0 30.3 5.2 60.1 15.5 88.4l119.9-44.1c-4.7-13.5-7.3-28-7.3-43.1zM154.5 334L53.9 412.7c20.5 26.4 45.5 48.3 74.3 65l63.7-110.9c-14.5-8.4-27.2-19.6-37.4-32.8z" fill="#{$color}"/></svg>',

'star-half': '<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path class="lexicon-icon-body" fill="none" d="M418.1 510.1c-4.1 0-8.2-1.1-11.9-3.3l-150.3-90.2-146.2 86.2c-8.3 4.9-18.8 4.1-26.3-2s-10.4-16.2-7.3-25.4l55.5-162.9-121-96.2C3 210.2 0 199.9 3.3 190.6s12-15.5 21.8-15.5h150.1l59.2-158.2c3.4-9 12-15 21.6-15s18.2 6 21.6 15l59.2 158.2H487c9.8 0 18.6 6.2 21.8 15.5 3.2 9.3.3 19.6-7.4 25.7l-120.8 96.1 58.3 163.9c1.7 3.2 2.6 6.8 2.6 10.7 0 12.7-10.3 23.1-23.1 23.1h-.3z"/><path class="lexicon-icon-outline" d="M418.1 510.1c-4.1 0-8.2-1.1-11.9-3.3l-150.3-90.2-146.2 86.2c-8.3 4.9-18.8 4.1-26.3-2s-10.4-16.2-7.3-25.4l55.5-162.9-121-96.2C3 210.2 0 199.9 3.3 190.6s12-15.5 21.8-15.5h150.1l59.2-158.2c3.4-9 12-15 21.6-15s18.2 6 21.6 15l59.2 158.2H487c9.8 0 18.6 6.2 21.8 15.5 3.2 9.3.3 19.6-7.4 25.7l-120.8 96.1 58.3 163.9c1.7 3.2 2.6 6.8 2.6 10.7 0 12.7-10.3 23.1-23.1 23.1h-.3zM256 366.6c4.1 0 8.2 1.1 11.9 3.3L374.7 434l-43.3-121.7c-3.3-9.3-.3-19.7 7.4-25.8l82-65.2h-100c-9.6 0-18.3-6-21.6-15L256 90.9s-4.1 275.7 0 275.7z" fill="#{$color}"/></svg>',
Expand Down

0 comments on commit 24e803b

Please sign in to comment.