Skip to content

Commit

Permalink
feat(icons): Add icons needed for the po frontend. (#116)
Browse files Browse the repository at this point in the history
* Add icons needed for the po frontend.

* Update documentation for icons
  • Loading branch information
jordi-rubio authored and fragsalat committed Jul 10, 2018
1 parent 634a414 commit 698ee50
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 1 deletion.
10 changes: 9 additions & 1 deletion atoms/_icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,15 @@ $icons: (
paperclip: '\e864',
lightbulb: '\e865',
checkmark-circle: '\e866',
circle: '\f111'
circle: '\f111',
discount: '\e808',
delivery-window: '\e809',
order-document: '\e80A',
questionmark: '\e80B',
zeos: '\e80C',
warehouse: '\e80D',
close-order: '\e80E',
dot-menu: '\e80F'
);

/**
Expand Down
8 changes: 8 additions & 0 deletions doc/atoms/icons.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
<li><span class="icon-lightbulb icon24"></span><span class="text">.icon-lightbulb</span></li>
<li><span class="icon-checkmark-circle icon24"></span><span class="text">.icon-checkmark-circle</span></li>
<li><span class="icon-circle icon24"></span><span class="text">.icon-circle</span></li>
<li><span class="icon-discount icon24"></span><span class="text">.icon-discount</span></li>
<li><span class="icon-delivery-window icon24"></span><span class="text">.icon-delivery-window</span></li>
<li><span class="icon-order-document icon24"></span><span class="text">.icon-order-document</span></li>
<li><span class="icon-questionmark icon24"></span><span class="text">.icon-questionmark</span></li>
<li><span class="icon-zeos icon24"></span><span class="text">.icon-zeos</span></li>
<li><span class="icon-warehouse icon24"></span><span class="text">.icon-warehouse</span></li>
<li><span class="icon-close-order icon24"></span><span class="text">.icon-close-order</span></li>
<li><span class="icon-dot-menu icon24"></span><span class="text">.icon-dot-menu</span></li>
</ul>
## Icon sizes
Our icons are in general displayed in one of 4 sizes. Those can be 16x16, 24x24, 32x32 or 48x48 pixels.
Expand Down
112 changes: 112 additions & 0 deletions fonts/config.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,118 @@
"search": [
"sorting-arrow-icon"
]
},
{
"uid": "4f74ce5a3bf4484b32d9425cea47969f",
"css": "discount",
"code": 59400,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M688 469C606 469 563 519 563 612 563 706 606 756 688 756 769 756 813 706 813 612 813 519 769 469 688 469ZM731 631C731 675 719 700 688 700S644 681 644 631V594C644 550 656 525 688 525S731 544 731 594V631ZM325 237C244 237 200 287 200 381S244 525 325 525 450 475 450 381 406 237 325 237ZM369 400C369 444 356 469 325 469 294 469 281 450 281 400V356C281 312 294 287 325 287 356 287 369 306 369 356V400ZM500 1006C388 1006 275 969 181 894L231 837C306 900 400 931 500 931 731 931 925 744 925 506S738 81 500 81V6C775 6 1000 231 1000 506S775 1006 500 1006ZM181 219L125 169C156 137 188 106 225 81L269 144C238 169 206 187 181 219ZM369 100L344 25C388 12 431 0 475 0L481 75C438 81 406 87 369 100ZM13 400C19 381 25 356 31 337 38 319 50 294 56 275L125 312C113 325 106 344 100 362 94 375 88 394 88 412L13 400ZM25 656C13 619 0 575 0 531L75 525C75 562 81 600 94 631L25 656ZM169 875C138 844 106 812 81 775L144 731C163 762 188 787 219 812L169 875ZM350 769L300 731 669 225 719 262 350 769Z",
"width": 1000
},
"search": [
"discount"
]
},
{
"uid": "138bbf853a42fcd79030b4d011b4c82f",
"css": "delivery-window",
"code": 59401,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M1333 850H1167V767H1250V500L1175 267H875V767H917V858H792V175H1242L1333 483V850ZM1042 992C950 992 875 908 875 808S950 625 1042 625 1208 708 1208 808 1133 992 1042 992ZM1042 717C992 717 958 758 958 808S992 900 1042 900C1092 900 1125 858 1125 808S1092 717 1042 717ZM875 850H458V767H792V83H83V767H208V858H0V-8H875V850ZM333 992C242 992 167 908 167 808S242 625 333 625 500 708 500 808 425 992 333 992ZM333 717C283 717 250 758 250 808S283 900 333 900 417 858 417 808 383 717 333 717ZM417 558L225 342 283 275 417 425 633 183 700 250 417 558Z",
"width": 1333
},
"search": [
"delivery-window"
]
},
{
"uid": "2b06ce446c1ed1815fef4ca6966db369",
"css": "order-document",
"code": 59402,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M781 1000H219C169 1000 131 963 131 913V87C131 37 169 0 219 0H631C631 0 631 0 631 0H631C638 0 644 6 650 6L863 219C869 225 869 231 869 237V237C869 237 869 237 869 237V913C869 963 831 1000 781 1000ZM650 75V219H794L650 75ZM825 262H631C619 262 606 250 606 237V44H219C194 44 175 62 175 87V913C175 938 194 956 219 956H781C806 956 825 938 825 913V262ZM694 825H306C294 825 288 812 288 806 288 794 300 787 306 787H700C713 787 719 800 719 806 719 819 706 825 694 825ZM694 650H306C294 650 288 637 288 631 288 619 300 612 306 612H700C713 612 719 625 719 631 719 644 706 650 694 650ZM694 481H306C294 481 288 469 288 462 281 444 294 437 306 437H700C713 437 719 450 719 456 719 469 706 481 694 481Z",
"width": 1000
},
"search": [
"order-document"
]
},
{
"uid": "92350c87a7bc35f9624e976ae2bc42be",
"css": "questionmark",
"code": 59403,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M500 0C225 0 0 225 0 500S225 1000 500 1000 1000 775 1000 500 775 0 500 0ZM525 750C513 762 500 769 481 769 463 769 450 762 438 750 425 737 419 725 419 706 419 687 425 675 438 662 450 650 463 644 481 644 500 644 513 650 525 662 538 675 544 687 544 706 538 725 538 744 525 750ZM650 394L594 469C581 475 569 487 556 500 550 512 538 525 531 537 525 550 525 569 525 587H438C438 581 438 575 438 562 438 544 438 525 444 506 450 487 456 475 469 462 475 456 481 444 494 437 506 425 513 419 525 412 531 406 544 394 550 387 556 375 556 369 556 356 556 337 550 325 538 312 519 294 506 287 481 287 456 287 438 294 413 300 394 312 375 331 356 350L331 269C350 244 375 231 406 219 438 206 469 200 500 200 531 200 556 206 581 219 606 231 625 244 638 269 650 287 656 312 656 344 656 356 656 375 650 394Z",
"width": 1000
},
"search": [
"questionmark"
]
},
{
"uid": "4efa447e63ab4c29116860c590938fb7",
"css": "zeos",
"code": 59404,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M944 769H56C25 769 0 744 0 712V287C0 256 25 231 56 231H944C975 231 1000 256 1000 287V712C1000 744 975 769 944 769ZM56 269C44 269 38 275 38 287V712C38 725 44 731 56 731H944C956 731 963 725 963 712V287C963 275 956 269 944 269H56ZM88 587L225 412H94V381H269V412L138 581H275V612H88V587ZM306 381H456V412H344V481H444V512H344V581H463V612H306V381ZM706 437C694 419 681 406 663 394 644 381 625 375 600 375 575 375 556 381 538 394 519 406 506 419 494 437 481 456 481 475 481 500 481 525 488 544 500 562 513 581 525 594 544 606 563 619 581 619 606 619 631 619 650 612 669 600 688 587 700 575 713 556 725 537 725 519 725 494 725 475 719 456 706 437ZM675 544C669 556 656 569 644 575 631 581 619 587 600 587 581 587 569 581 556 575 544 569 538 556 531 544 525 531 519 512 519 500 519 481 525 469 531 456 538 437 550 431 563 425 575 419 588 412 606 412 625 412 638 419 650 425 663 431 675 444 681 456 688 469 694 481 694 500 681 519 681 531 675 544ZM819 619C806 619 794 619 775 612 763 606 750 606 738 600L750 569C763 575 769 581 788 581S813 587 825 587C844 587 850 587 863 581 869 575 875 569 875 556 875 550 869 537 863 531S844 519 825 512C800 506 781 494 769 481 750 475 750 456 750 444 750 431 756 419 763 412 769 400 781 394 788 387S813 375 825 375C838 375 850 375 863 381 875 381 888 387 894 394L888 425C881 419 869 419 856 412 844 412 838 406 825 406 813 406 800 406 794 412S781 425 781 437C781 444 781 450 788 456 788 462 794 462 800 469S813 475 825 481C850 487 863 494 875 500S894 512 900 525C906 531 906 544 906 556 906 569 900 581 894 594 888 606 875 612 863 619 856 619 838 619 819 619Z",
"width": 1000
},
"search": [
"zeos"
]
},
{
"uid": "93cfc9d13f061afeb99058039e2fea89",
"css": "close-order",
"code": 59406,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M781 1000H219C169 1000 131 963 131 913V87C131 37 169 0 219 0H631L631 0 631 0C638 0 644 6 650 6L863 219C869 225 869 231 869 237L869 237 869 237V913C869 963 831 1000 781 1000ZM650 75V219H794L650 75ZM825 262H631C619 262 606 250 606 237V44H219C194 44 175 62 175 87V913C175 938 194 956 219 956H781C806 956 825 938 825 913V262ZM688 412L338 794C325 806 313 806 306 800 294 794 300 775 306 769L663 381C669 369 688 369 694 375 700 381 700 400 688 412ZM644 787L313 394C300 381 306 369 313 369 325 362 338 369 344 375L681 775C694 787 688 800 681 806 669 812 656 800 644 787Z",
"width": 1000
},
"search": [
"close-order"
]
},
{
"uid": "92fbd49f7f5c8dd118008a8e65e6360e",
"css": "dot-menu",
"code": 59407,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M588 150C588 200 550 237 500 237S413 200 413 150 450 62 500 62 588 100 588 150ZM500 762C450 762 413 800 413 850 413 900 450 938 500 938S588 900 588 850C588 800 550 762 500 762ZM500 412C450 412 413 450 413 500S450 587 500 587 588 550 588 500 550 412 500 412Z",
"width": 1000
},
"search": [
"dot-menu"
]
},
{
"uid": "0da8ce672bb21d838a27c9fadb9edcb9",
"css": "warehouse",
"code": 59405,
"src": "custom_icons",
"selected": true,
"svg": {
"path": "M533 13L7 340V993H1060L1060 340 533 13ZM1013 947H773V327C773 313 767 300 753 300 740 300 733 313 733 327V947H340V327C340 313 333 300 320 300S300 313 300 327V947H60V367L540 67 1020 367 1013 947ZM513 780H560V640H513V780ZM927 640H880V780H927V640ZM140 780H187V640H140V780Z",
"width": 1067
},
"search": [
"warehouse"
]
}
]
}
Binary file modified fonts/fontello.eot
100644 → 100755
Binary file not shown.
16 changes: 16 additions & 0 deletions fonts/fontello.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fonts/fontello.ttf
100644 → 100755
Binary file not shown.
Binary file modified fonts/fontello.woff
100644 → 100755
Binary file not shown.
Binary file modified fonts/fontello.woff2
100644 → 100755
Binary file not shown.

0 comments on commit 698ee50

Please sign in to comment.