Compare commits

...
17 Commits
Author SHA1 Message Date
Brandy Carney 5611991490 4.5.2 2019-01-21 15:24:14 -05:00
Brandy Carney 7f24e5ebeb 4.5.2-0 2019-01-21 15:07:10 -05:00
Brandy Carney b4b6b75c0e chore(npm): update stencil 2019-01-21 14:48:34 -05:00
Brandy Carney 5c1c6e195f fix(icon): update to include rtl styles #656
- adds the ability to run npm start and launch the icon component locally
- adds a test for viewing the icon component locally
- updates the component css to include rtl styles
- updates contributing to include steps for this

references ionic-team/ionic#17012
2019-01-18 12:33:57 -05:00
Brandy Carney 12ccf40284 docs(readme): updaet to include more usage examples and remove icon class 2019-01-17 13:43:51 -05:00
Brandy Carney d6757c5228 docs(site): update the docs site 2019-01-17 13:09:57 -05:00
Brandy Carney 367d7f8b30 docs(icon-tags): edit icon tags for better searchability 2019-01-17 13:03:26 -05:00
Brandy Carney 6157a6123d fix(svg): remove st0 class styling
closes #576
2019-01-17 11:23:40 -05:00
Brandy Carney 7b3a8ae0bb docs(readme): move contributing and add code highlighting 2019-01-17 11:19:41 -05:00
Brandy Carney b2cb08e0f1 docs(github): update readme and add contributing and coc 2019-01-16 17:57:23 -05:00
Brandy Carney 50301e6afb fix(svg): remove the st0 classes and styles from the svgs
references #529
2019-01-14 14:43:46 -05:00
Daniel Spindelbauer 266411cdc4 Fixed GitHub spelling in nav bar (#641) 2019-01-11 01:51:38 +01:00
Katherine Yang 7e6c9d2106 docs(): add icon attribute to docs (#631) 2019-01-11 01:51:22 +01:00
pwespi 34c7f7c0ad docs(icon-tags): edit bed icon tags 2018-12-16 14:06:42 +01:00
pwespi f293988f4f docs(icon-tags): edit icon tags for better searchability 2018-12-16 14:02:33 +01:00
Neil Kalman 5c9a238abf remove style tag from additional svgs 2018-10-21 14:49:56 +03:00
Neil Kalman 54dde87b47 remove inner style so that --ion-color-base will apply 2018-10-21 14:03:04 +03:00
39 changed files with 3185 additions and 190 deletions
+11
View File
@@ -0,0 +1,11 @@
# Contributor Code of Conduct
As contributors and maintainers of the Ionicons project, we pledge to respect everyone who contributes by posting issues, updating documentation, submitting pull requests, providing feedback in comments, and any other activities.
Communication through any of Ionic's channels (GitHub, Slack, Forum, IRC, mailing lists, Twitter, etc.) must be constructive and never resort to personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
We promise to extend courtesy and respect to everyone involved in this project regardless of gender, gender identity, sexual orientation, disability, age, race, ethnicity, religion, or level of experience. We expect anyone contributing to the Ionicons project to do the same.
If any member of the community violates this code of conduct, the maintainers of the Ionicons project may take action, removing issues, comments, and PRs or blocking accounts as deemed appropriate.
If you are subject to or witness unacceptable behavior, or have any other concerns, please email us at [hi@ionicframework.com](mailto:hi@ionicframework.com).
+80
View File
@@ -0,0 +1,80 @@
# Contributing
Thanks for your interest in contributing to Ionicons! :tada:
## Contributing Etiquette
Please see our [Contributor Code of Conduct](./CODE_OF_CONDUCT.md) for information on our rules of conduct.
## Creating an Issue
* If you have a question about using Ionicons, please ask on the [Ionic Forum](http://forum.ionicframework.com/) or in the [Ionic Worldwide Slack](http://ionicworldwide.herokuapp.com/) group.
* It is required that you clearly describe the steps necessary to reproduce the issue you are running into. Although we would love to help our users as much as possible, diagnosing issues without clear reproduction steps is extremely time-consuming and simply not sustainable.
* The issue list of this repository is exclusively for bug reports and feature requests. Non-conforming issues will be closed immediately.
* If you think you have found a bug, or have a new feature idea, please start by making sure it hasn't already been [reported](https://github.com/ionic-team/ionicons/issues?utf8=%E2%9C%93&q=is%3Aissue). You can search through existing issues to see if there is a similar one reported. Include closed issues as it may have been closed with a solution.
* Next, [create a new issue](https://github.com/ionic-team/ionicons/issues/new/choose) that thoroughly explains the problem.
## Creating a Pull Request
* We appreciate you taking the time to contribute! Before submitting a pull request, we ask that you please [create an issue](#creating-an-issue) that explains the bug or feature request and let us know that you plan on creating a pull request for it. If an issue already exists, please comment on that issue letting us know you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort.
* Looking for an issue to fix? Make sure to look through our issues with the [help wanted](https://github.com/ionic-team/ionicons/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) label!
### Setup
1. [Download the installer](https://nodejs.org/) for the LTS version of Node.js. This is the best way to also [install npm](https://blog.npmjs.org/post/85484771375/how-to-install-npm#_=_).
2. Fork this repository.
3. Clone your fork.
4. Create a new branch from master for your change.
5. Run `npm install` from the root directory to install dependencies for this package.
6. [Modify the Icon Component](#modifying-components) if desired.
7. Or, modify and [preview the site](#preview-site).
#### Modifying Components
1. Navigate to the `src/components/` directory and open the `icon` component to modify.
2. Make any changes to the icon component and then [preview-changes](#preview-component-changes).
#### Preview Component Changes
1. Run `npm start` from the root directory to start a local version of the icon test.
2. In the browser, navigate to `/src/components` to view the example test.
3. Modify this test as needed in the `src/components.index.html` file.
#### Preview Site
1. Run `npm run dev` from the root directory to start a local version of the ionicons site.
2. A browser will open with a local version of the ionicons docs.
#### Lint Changes
1. Run `npm run lint.ts` to lint the TypeScript.
2. If there are lint errors, run `npm run lint.ts.fix` to automatically fix any errors. Repeat step 1 to ensure the errors have been fixed, and manually fix them if not.
<!-- #### Building Changes
TODO -->
### Submit Pull Request
1. [Create a new pull request](https://github.com/ionic-team/ionicons/compare) with the `master` branch as the `base`. You may need to click on `compare across forks` to find your changes.
2. See the [Creating a pull request from a fork](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) GitHub help article for more information.
3. Please fill out the Pull Request template to the best of your ability and include any issues that are related.
## License
By contributing your code to the ionic-team/ionicons GitHub Repository, you agree to license your contribution under the MIT license.
+2
View File
@@ -15,3 +15,5 @@ node_modules/
tmp/
dist/
.DS_Store
www/
+1 -1
View File
@@ -1 +1 @@
!function(e,t,r,s,n,i,o,c,a,u,l,d,p,h){for(l=e.DocsSite=e.DocsSite||{},(d=t.createElement("style")).innerHTML=a+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],n=0,i=0;i<s.length;i++)if(e[s[i]].componentOnReady){if(e[s[i]].componentOnReady(t,r))return;n++}if(n<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,u),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,s){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"docssite.nksf4hyz.js":(d.src=n+"docssite.r1oxnx6q.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,"footer-bar,header-bar,icon-list,icon-search,ionicons-site,landing-page,notfound-page,stencil-route,stencil-route-link,stencil-route-switch,stencil-router,toast-bar,usage-page",HTMLElement.prototype);
!function(e,t,r,s,n,i,o,c,a,u,l,d,p,h){for(l=e.DocsSite=e.DocsSite||{},(d=t.createElement("style")).innerHTML=a+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],n=0,i=0;i<s.length;i++)if(e[s[i]].componentOnReady){if(e[s[i]].componentOnReady(t,r))return;n++}if(n<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,u),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,s){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"docssite.siq9dhhp.js":(d.src=n+"docssite.a2nervxd.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,"footer-bar,header-bar,icon-list,icon-search,ionicons-site,landing-page,notfound-page,stencil-route,stencil-route-link,stencil-route-switch,stencil-router,toast-bar,usage-page",HTMLElement.prototype);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+7 -7
View File
@@ -2,8 +2,8 @@
"namespace": "DocsSite",
"fsNamespace": "docssite",
"loader": "../docssite.js",
"core": "docssite.r1oxnx6q.js",
"corePolyfilled": "docssite.nksf4hyz.js",
"core": "docssite.a2nervxd.js",
"corePolyfilled": "docssite.siq9dhhp.js",
"components": {
"footer-bar": {
"bundleIds": {
@@ -12,7 +12,7 @@
},
"header-bar": {
"bundleIds": {
"$": "yovl0p6l"
"$": "7i5cz5id"
}
},
"icon-list": {
@@ -27,7 +27,7 @@
},
"ionicons-site": {
"bundleIds": {
"$": "yovl0p6l"
"$": "7i5cz5id"
}
},
"landing-page": {
@@ -42,7 +42,7 @@
},
"stencil-route": {
"bundleIds": {
"$": "yovl0p6l"
"$": "7i5cz5id"
}
},
"stencil-route-link": {
@@ -52,12 +52,12 @@
},
"stencil-route-switch": {
"bundleIds": {
"$": "yovl0p6l"
"$": "7i5cz5id"
}
},
"stencil-router": {
"bundleIds": {
"$": "yovl0p6l"
"$": "7i5cz5id"
}
},
"toast-bar": {
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
Binary file not shown.
+4 -4
View File
@@ -1,13 +1,13 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2018-10-18: Created with FontForge (http://fontforge.org)
2019-1-17: Created with FontForge (http://fontforge.org)
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20180321 at Thu Oct 18 14:50:50 2018
By Kevin Ports
Copyright (c) 2018, Kevin Ports
Created by FontForge 20170925 at Thu Jan 17 13:08:06 2019
By Brandy S Carney
Copyright (c) 2019, Brandy S Carney
</metadata>
<defs>
<font id="Ionicons" horiz-adv-x="416" >

Before

Width:  |  Height:  |  Size: 305 KiB

After

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1,3 +1,3 @@
<!DOCTYPE html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <title>Ionicons: The premium icon pack for Ionic Framework</title> <meta name="author" content="Ionic"> <meta name="description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="manifest" href="/manifest.json"> <meta property="og:title" content="Ionicons: The premium icon pack for Ionic Framework"> <meta property="og:description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta property="og:type" content="website"> <meta property="og:url" content="https://ionicons.com/"> <meta property="og:image" content="/assets/img/meta/ionicons-og-image.png"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:creator" content="@ionicframework"> <link rel="apple-touch-icon" sizes="57x57" href="/assets/img/meta/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/assets/img/meta/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/assets/img/meta/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/assets/img/meta/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/assets/img/meta/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/assets/img/meta/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/assets/img/meta/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/assets/img/meta/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/meta/apple-icon-180x180.png"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-16x16.png" sizes="16x16"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-96x96.png" sizes="96x96"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-70x70.png"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-144x144.png"> <meta name="theme-color" content="#16161d"> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:500" rel="stylesheet"> <link rel="stylesheet" href="/css/ionicons.min.css"> <link rel="stylesheet" href="/build/docssite.css"> <script data-resources-url="/build/docssite/">!function(e,t,r,s,n,i,o,c,a,u,l,d,p,h){for(l=e.DocsSite=e.DocsSite||{},(d=t.createElement("style")).innerHTML=a+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],n=0,i=0;i<s.length;i++)if(e[s[i]].componentOnReady){if(e[s[i]].componentOnReady(t,r))return;n++}if(n<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,u),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,s){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"docssite.nksf4hyz.js":(d.src=n+"docssite.r1oxnx6q.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,"footer-bar,header-bar,icon-list,icon-search,ionicons-site,landing-page,notfound-page,stencil-route,stencil-route-link,stencil-route-switch,stencil-router,toast-bar,usage-page",HTMLElement.prototype);</script>
<!DOCTYPE html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <title>Ionicons: The premium icon pack for Ionic Framework</title> <meta name="author" content="Ionic"> <meta name="description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="manifest" href="/manifest.json"> <meta property="og:title" content="Ionicons: The premium icon pack for Ionic Framework"> <meta property="og:description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta property="og:type" content="website"> <meta property="og:url" content="https://ionicons.com/"> <meta property="og:image" content="/assets/img/meta/ionicons-og-image.png"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:creator" content="@ionicframework"> <link rel="apple-touch-icon" sizes="57x57" href="/assets/img/meta/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/assets/img/meta/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/assets/img/meta/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/assets/img/meta/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/assets/img/meta/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/assets/img/meta/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/assets/img/meta/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/assets/img/meta/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/meta/apple-icon-180x180.png"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-16x16.png" sizes="16x16"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-96x96.png" sizes="96x96"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-70x70.png"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-144x144.png"> <meta name="theme-color" content="#16161d"> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:500" rel="stylesheet"> <link rel="stylesheet" href="/css/ionicons.min.css"> <link rel="stylesheet" href="/build/docssite.css"> <script data-resources-url="/build/docssite/">!function(e,t,r,s,n,i,o,c,a,u,l,d,p,h){for(l=e.DocsSite=e.DocsSite||{},(d=t.createElement("style")).innerHTML=a+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),p=t.head.querySelector("meta[charset]"),t.head.insertBefore(d,p?p.nextSibling:t.head.firstChild),function(e,t,r){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var s=e["s-apps"],n=0,i=0;i<s.length;i++)if(e[s[i]].componentOnReady){if(e[s[i]].componentOnReady(t,r))return;n++}if(n<s.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,u),n=n||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(h=p[d]).src&&!h.hasAttribute("data-resources-url");d--);p=h.getAttribute("data-resources-url"),!n&&p&&(n=p),!n&&h.src&&(n=(p=h.src.split("/").slice(0,-1)).join("/")+(p.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,s){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=n+"docssite.siq9dhhp.js":(d.src=n+"docssite.a2nervxd.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",n),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,"footer-bar,header-bar,icon-list,icon-search,ionicons-site,landing-page,notfound-page,stencil-route,stencil-route-link,stencil-route-switch,stencil-router,toast-bar,usage-page",HTMLElement.prototype);</script>
</head>
<body> <ionicons-site></ionicons-site> <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');ga('create', 'UA-44023830-2', 'ionicons.com');ga('send', 'pageview');</script> </body></html>
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -696,7 +696,7 @@ import mdWifi from './md-wifi.svg';
import mdWine from './md-wine.svg';
import mdWoman from './md-woman.svg';
export const ICON_PATHS = {
export var ICON_PATHS = {
'ios-add-circle-outline': iosAddCircleOutline,
'ios-add-circle': iosAddCircle,
'ios-add': iosAdd,
+1 -1
View File
@@ -1 +1 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 512 512" xml:space="preserve"><style>.st0{fill:#010101}</style><path class="st0" d="M227.6 213.1H256v57.1h-28.4z"/><path class="st0" d="M0 156v171.4h142.2V356H256v-28.6h256V156H0zm142.2 142.9h-28.4v-85.7H85.3v85.7H28.4V184.6h113.8v114.3zm142.2 0h-56.9v28.6h-56.9V184.6h113.8v114.3zm199.2 0h-28.4v-85.7h-28.4v85.7h-28.4v-85.7H370v85.7h-56.9V184.6h170.7v114.3z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M227.6 213.1H256v57.1h-28.4z"/><path d="M0 156v171.4h142.2V356H256v-28.6h256V156H0zm142.2 142.9h-28.4v-85.7H85.3v85.7H28.4V184.6h113.8v114.3zm142.2 0h-56.9v28.6h-56.9V184.6h113.8v114.3zm199.2 0h-28.4v-85.7h-28.4v85.7h-28.4v-85.7H370v85.7h-56.9V184.6h170.7v114.3z"/></svg>

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 342 B

+1 -1
View File
@@ -1 +1 @@
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 512 512" xml:space="preserve"><style>.st0{fill:#010101}</style><path class="st0" d="M117.3 42.7c-17.6 0-32 14.4-32 32v362.7c0 17.6 14.4 32 32 32H320V42.7H117.3zM384.7 42.7H368v426.7h16.7c23.1 0 42-18.9 42-42V84.7c0-23.1-18.9-42-42-42z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M117.3 42.7c-17.6 0-32 14.4-32 32v362.7c0 17.6 14.4 32 32 32H320V42.7H117.3zM384.7 42.7H368v426.7h16.7c23.1 0 42-18.9 42-42V84.7c0-23.1-18.9-42-42-42z"/></svg>

Before

Width:  |  Height:  |  Size: 335 B

After

Width:  |  Height:  |  Size: 230 B

+6 -3
View File
@@ -1,6 +1,6 @@
{
"name": "ionicons",
"version": "4.5.1",
"version": "4.5.2",
"description": "Premium icons for Ionic.",
"files": [
"dist/",
@@ -19,16 +19,19 @@
"build.icon": "stencil build",
"clean": "node scripts/clean.js",
"copy.tasks": "node scripts/copy-tasks.js",
"dev": "stencil build --dev --watch --serve --config src/docs/stencil.config.ts",
"dev": "npm run start.docs",
"mode.comparison": "node scripts/mode-comparison.js",
"generate": "python scripts/generate.py",
"lint.ts": "tslint --project .",
"lint.ts.fix": "tslint --project . --fix",
"start": "npm run start.icon",
"start.docs": "stencil build --dev --watch --serve --config src/docs/stencil.config.ts",
"start.icon": "stencil build --dev --watch --serve",
"release": "np --any-branch --yolo",
"test": "stencil test --spec"
},
"devDependencies": {
"@stencil/core": "0.16.1",
"@stencil/core": "0.17.0",
"@stencil/router": "0.3.1",
"@stencil/sass": "0.1.1",
"@types/highlight.js": "^9.12.3",
+31 -12
View File
@@ -11,9 +11,17 @@ Visit [ionicons.com](http://ionicons.com) and check out the search feature, whi
We intend for this icon pack to be used with [Ionic](http://ionicframework.com/), but it’s by no means limited to it. Use them wherever you see fit, personal or commercial. They are free to use and licensed under [MIT](http://opensource.org/licenses/MIT).
## Contributing
Thanks for your interest in contributing! Read up on our guidelines for
[contributing](https://github.com/ionic-team/ionicons/blob/master/.github/CONTRIBUTING.md)
and then look through our issues with a [help wanted](https://github.com/ionic-team/ionicons/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)
label.
## Using the Web Component
The Iconicons Web Component is an easy and performant way to use Ionicons in your app. The component will dynamically load an SVG for each icon, so your app is only requesting the icons that you need.
The Ionicons Web Component is an easy and performant way to use Ionicons in your app. The component will dynamically load an SVG for each icon, so your app is only requesting the icons that you need.
Also note that only visible icons are loaded, and icons which are "below the fold" and hidden from the user's view do not make fetch requests for the svg resource.
@@ -21,7 +29,7 @@ Also note that only visible icons are loaded, and icons which are "below the fol
If you're using [Ionic Framework](https://ionicframework.com/), Ionicons is packaged by default, so no installation is necessary. Want to use Ionicons without Ionic Framework? Place the following `<script>` near the end of your page, right before the closing </body> tag, to enable them.
```
```html
<script src="https://unpkg.com/ionicons@4.2.2/dist/ionicons.js"></script>
```
@@ -29,14 +37,14 @@ If you're using [Ionic Framework](https://ionicframework.com/), Ionicons is pack
To use a built-in icon from the Ionicons package, populate the `name` attribute on the ion-icon component:
```
```html
<ion-icon name="heart"></ion-icon>
```
To use a custom SVG, provide its url in the `src` attribute to request the external SVG file. The `src` attribute works the same as `<img src="...">` in that the url must be accessible from the webpage that's making a request for the image. Additionally, the external file can only be a valid svg and does not allow scripts or events within the svg element.
```
<ion-icon src="/path/to/externa/file.svg"></ion-icon>
```html
<ion-icon src="/path/to/external/file.svg"></ion-icon>
```
### Platform specific icons
@@ -51,7 +59,7 @@ Ionic will automatically use the correct version based on the platform. Note tha
To specify the icon for each platform, use the `md` and `ios` attributes and provide the platform specific icon name.
```
```html
<ion-icon ios="ios-heart" md="md-heart"></ion-icon>
```
@@ -59,7 +67,7 @@ To specify the icon for each platform, use the `md` and `ios` attributes and pro
When using Ionicons without the Ionic Framework, the icon will default to the Material Design icon style. To specify the non-default icon style, add a platform prefix to the `name` attribute.
```
```html
<ion-icon name="ios-heart"></ion-icon>
<ion-icon name="md-heart"></ion-icon>
```
@@ -68,14 +76,14 @@ When using Ionicons without the Ionic Framework, the icon will default to the Ma
To specify the icon size, you can use the size attribute for our pre-defined font sizes.
```
```html
<ion-icon size="small"></ion-icon>
<ion-icon size="large"></ion-icon>
```
Or you can set a specific size by applying the `font-size` CSS property on the `ion-icon` component. It's recommended to use pixel sizes that are a multiple of 8 (8, 16, 32, 64, etc.)
```
```css
ion-icon {
font-size: 64px;
}
@@ -94,7 +102,7 @@ In most cases it may be better to request a small number of svgs using the web c
To embed the Ionicons font icon, copy this code into the `<head>` of the HTML document.
```
```html
<link href="https://unpkg.com/ionicons@4.2.2/dist/css/ionicons.min.css" rel="stylesheet">
```
@@ -102,8 +110,19 @@ To embed the Ionicons font icon, copy this code into the `<head>` of the HTML do
Use the icon index to look up the name of the icon you want to use. The icon's CSS class name will be prefixed with ion-, followed by the platform attribute md-, ios- or logo- and completed wth the icon name.
```
<i class="icon ion-md-heart"></i>
```html
<i class="ion-md-heart"></i>
<i class="ion-ios-heart"></i>
<i class="ion-md-heart-dislike"></i>
<i class="ion-ios-heart-dislike"></i>
<i class="ion-md-cellular"></i>
<i class="ion-ios-cellular"></i>
<i class="ion-logo-facebook"></i>
<i class="ion-logo-windows"></i>
```
+2791 -1
View File
File diff suppressed because one or more lines are too long
+8
View File
@@ -22,6 +22,10 @@ export namespace Components {
*/
'color'?: string;
/**
* Specifies whether the icon should horizontally flip when `dir` is `"rtl"`.
*/
'flipRtl'?: boolean;
/**
* A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property.
*/
'icon'?: string;
@@ -64,6 +68,10 @@ export namespace Components {
*/
'color'?: string;
/**
* Specifies whether the icon should horizontally flip when `dir` is `"rtl"`.
*/
'flipRtl'?: boolean;
/**
* A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property.
*/
'icon'?: string;
+30 -14
View File
@@ -9,18 +9,6 @@
box-sizing: content-box !important;
}
:host(.ion-color) {
color: var(--ion-color-base) !important;
}
:host(.icon-small) {
font-size: 18px !important;
}
:host(.icon-large){
font-size: 32px !important;
}
.icon-inner,
svg {
display: block;
@@ -32,8 +20,36 @@ svg {
width: 100%;
}
/* Set iOS Icon Colors */
/* ------------------- */
/* Icon RTL
* -----------------------------------------------------------
*/
:host(.flip-rtl) .icon-inner {
transform: scaleX(-1);
}
/* Icon Sizes
* -----------------------------------------------------------
*/
:host(.icon-small) {
font-size: 18px !important;
}
:host(.icon-large){
font-size: 32px !important;
}
/* Icon Colors
* -----------------------------------------------------------
*/
:host(.ion-color) {
color: var(--ion-color-base) !important;
}
:host(.ion-color-primary) {
--ion-color-base: var(--ion-color-primary, #3880ff);
+13
View File
@@ -46,6 +46,11 @@ export class Icon {
*/
@Prop() md?: string;
/**
* Specifies whether the icon should horizontally flip when `dir` is `"rtl"`.
*/
@Prop() flipRtl?: boolean;
/**
* Specifies which icon to use from the built-in set of icons.
*/
@@ -171,12 +176,16 @@ export class Icon {
return `${this.resourcesUrl}svg/${name}.svg`;
}
hostData() {
const flipRtl = this.flipRtl || (this.ariaLabel && this.ariaLabel.indexOf('arrow') > -1 && this.flipRtl !== false);
return {
'role': 'img',
class: {
...createColorClasses(this.color),
[`icon-${this.size}`]: !!this.size,
'flip-rtl': flipRtl && hostContext('[dir=rtl]', this.el)
}
};
}
@@ -265,3 +274,7 @@ function createColorClasses(color: string | undefined) {
[`ion-color-${color}`]: true
} : null;
}
function hostContext(selector: string, el: HTMLElement): boolean {
return el.closest(selector) !== null;
}
+13 -93
View File
@@ -7,99 +7,19 @@
## Properties
#### ariaLabel
string
Specifies the label to use for accessibility. Defaults to the icon name.
#### color
string
The color to use from your Sass `$colors` map.
Default options are: `"primary"`, `"secondary"`, `"danger"`, `"light"`, and `"dark"`.
For more information, see [Theming your App](/docs/theming/theming-your-app).
#### ios
string
Specifies which icon to use on `ios` mode.
#### md
string
Specifies which icon to use on `md` mode.
#### name
string
Specifies which icon to use. The appropriate icon will be used based on the mode.
For more information, see [Ionicons](/docs/ionicons/).
#### size
string
The size of the icon.
Available options are: `"small"` and `"large"`.
## Attributes
#### aria-label
string
Specifies the label to use for accessibility. Defaults to the icon name.
#### color
string
The color to use from your Sass `$colors` map.
Default options are: `"primary"`, `"secondary"`, `"danger"`, `"light"`, and `"dark"`.
For more information, see [Theming your App](/docs/theming/theming-your-app).
#### ios
string
Specifies which icon to use on `ios` mode.
#### md
string
Specifies which icon to use on `md` mode.
#### name
string
Specifies which icon to use. The appropriate icon will be used based on the mode.
For more information, see [Ionicons](/docs/ionicons/).
#### size
string
The size of the icon.
Available options are: `"small"` and `"large"`.
| Property | Attribute | Description | Type | Default |
| ----------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------- | ----------- |
| `ariaLabel` | `aria-label` | Specifies the label to use for accessibility. Defaults to the icon name. | `string \| undefined` | `undefined` |
| `color` | `color` | The color to use for the background of the item. | `string \| undefined` | `undefined` |
| `flipRtl` | `flip-rtl` | Specifies whether the icon should horizontally flip when `dir` is `"rtl"`. | `boolean \| undefined` | `undefined` |
| `icon` | `icon` | A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property. | `string \| undefined` | `undefined` |
| `ios` | `ios` | Specifies which icon to use on `ios` mode. | `string \| undefined` | `undefined` |
| `lazy` | `lazy` | If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `false`. | `boolean` | `false` |
| `md` | `md` | Specifies which icon to use on `md` mode. | `string \| undefined` | `undefined` |
| `mode` | `mode` | The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`. | `"ios" \| "md" \| undefined` | `undefined` |
| `name` | `name` | Specifies which icon to use from the built-in set of icons. | `string \| undefined` | `undefined` |
| `size` | `size` | The size of the icon. Available options are: `"small"` and `"large"`. | `string \| undefined` | `undefined` |
| `src` | `src` | Specifies the exact `src` of an SVG file to use. | `string \| undefined` | `undefined` |
----------------------------------------------
+114
View File
@@ -0,0 +1,114 @@
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0">
<title>Ionicons Icon Component</title>
<script src="/build/ionicons.js"></script>
</head>
<body>
<h1>Ionicons</h1>
<h2>Mode: default (md)</h2>
<ion-icon name="cellular"></ion-icon>
<ion-icon name="at"></ion-icon>
<ion-icon name="call"></ion-icon>
<ion-icon name="football"></ion-icon>
<ion-icon name="analytics"></ion-icon>
<ion-icon name="grid"></ion-icon>
<ion-icon name="funnel"></ion-icon>
<ion-icon name="watch"></ion-icon>
<ion-icon name="switch"></ion-icon>
<h2>Mode: ios</h2>
<ion-icon mode="ios" name="cellular"></ion-icon>
<ion-icon mode="ios" name="at"></ion-icon>
<ion-icon mode="ios" name="call"></ion-icon>
<ion-icon mode="ios" name="football"></ion-icon>
<ion-icon mode="ios" name="analytics"></ion-icon>
<ion-icon mode="ios" name="grid"></ion-icon>
<ion-icon mode="ios" name="funnel"></ion-icon>
<ion-icon mode="ios" name="watch"></ion-icon>
<ion-icon mode="ios" name="switch"></ion-icon>
<h2>Colors</h2>
<ion-icon color="primary" name="cellular"></ion-icon>
<ion-icon color="secondary" name="at"></ion-icon>
<ion-icon color="tertiary" name="call"></ion-icon>
<ion-icon color="success" name="football"></ion-icon>
<ion-icon color="warning" name="analytics"></ion-icon>
<ion-icon color="danger" name="grid"></ion-icon>
<ion-icon color="light" name="funnel"></ion-icon>
<ion-icon color="medium" name="watch"></ion-icon>
<ion-icon color="dark" name="switch"></ion-icon>
<h2>Logos</h2>
<ion-icon name="logo-ionic"></ion-icon>
<ion-icon name="logo-github"></ion-icon>
<ion-icon name="logo-instagram"></ion-icon>
<ion-icon name="logo-android"></ion-icon>
<ion-icon name="logo-javascript"></ion-icon>
<ion-icon name="logo-npm"></ion-icon>
<ion-icon name="logo-reddit"></ion-icon>
<ion-icon name="logo-tux"></ion-icon>
<ion-icon name="logo-buffer"></ion-icon>
<h2>Logos: colors</h2>
<ion-icon color="primary" name="logo-ionic"></ion-icon>
<ion-icon color="secondary" name="logo-github"></ion-icon>
<ion-icon color="tertiary" name="logo-instagram"></ion-icon>
<ion-icon color="success" name="logo-android"></ion-icon>
<ion-icon color="warning" name="logo-javascript"></ion-icon>
<ion-icon color="danger" name="logo-npm"></ion-icon>
<ion-icon color="light" name="logo-reddit"></ion-icon>
<ion-icon color="medium" name="logo-tux"></ion-icon>
<ion-icon color="dark" name="logo-buffer"></ion-icon>
<h1>RTL</h1>
<h2>Default: Non-arrows</h2>
<ion-icon name="cut"></ion-icon>
<ion-icon name="call"></ion-icon>
<ion-icon name="checkbox"></ion-icon>
<ion-icon name="brush"></ion-icon>
<h2>Flip: Non-arrows</h2>
<ion-icon name="cut" flip-rtl></ion-icon>
<ion-icon name="call" flip-rtl></ion-icon>
<ion-icon name="checkbox" flip-rtl></ion-icon>
<ion-icon name="brush" flip-rtl></ion-icon>
<h2>Auto Flip: arrows</h2>
<ion-icon name="arrow-up"></ion-icon>
<ion-icon name="arrow-forward"></ion-icon>
<ion-icon name="arrow-down"></ion-icon>
<ion-icon name="arrow-back"></ion-icon>
<h2>Un-flip: arrows</h2>
<ion-icon name="arrow-up" flip-rtl="false"></ion-icon>
<ion-icon name="arrow-forward" flip-rtl="false"></ion-icon>
<ion-icon name="arrow-down" flip-rtl="false"></ion-icon>
<ion-icon name="arrow-back" flip-rtl="false"></ion-icon>
<style>
body {
margin: 0;
padding: 16px;
font-size: 32px;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
h1 {
margin: 15px 0 5px;
font-size: 25px;
}
h2 {
margin: 15px 0 5px;
font-size: 18px;
}
</style>
</body>
</html>
+43 -14
View File
@@ -6,6 +6,7 @@
"md-add-circle-outline"
],
"tags": [
"add",
"circle"
]
},
@@ -47,7 +48,9 @@
"md-alarm"
],
"tags": [
"alarm"
"alarm",
"clock",
"time"
]
},
{
@@ -431,6 +434,7 @@
],
"tags": [
"bed",
"hotel",
"sleep"
]
},
@@ -621,7 +625,9 @@
"md-cafe"
],
"tags": [
"cafe"
"cafe",
"coffee",
"cup"
]
},
{
@@ -630,7 +636,7 @@
"md-calculator"
],
"tags": [
"arithmatic",
"arithmetic",
"calculator",
"math"
]
@@ -821,7 +827,7 @@
],
"tags": [
"close",
"cicle"
"circle"
]
},
{
@@ -1106,7 +1112,8 @@
"md-create"
],
"tags": [
"create"
"create",
"edit"
]
},
{
@@ -1227,7 +1234,8 @@
"md-expand"
],
"tags": [
"expand"
"expand",
"resize"
]
},
{
@@ -1518,7 +1526,9 @@
"md-globe"
],
"tags": [
"globe"
"globe",
"internet",
"world"
]
},
{
@@ -1563,6 +1573,7 @@
"good",
"happy",
"like",
"smile",
"yes"
]
},
@@ -1677,7 +1688,8 @@
"md-hourglass"
],
"tags": [
"hourglass"
"hourglass",
"time"
]
},
{
@@ -2057,7 +2069,7 @@
"microphone",
"music",
"noise",
"recorde",
"record",
"sound",
"speak"
]
@@ -2360,6 +2372,7 @@
],
"tags": [
"gps",
"location",
"navigation",
"pin"
]
@@ -2395,8 +2408,8 @@
"home",
"nature",
"planet",
"planet",
"space"
"space",
"world"
]
},
{
@@ -2524,6 +2537,7 @@
],
"tags": [
"button",
"circle",
"off",
"radio"
]
@@ -2535,6 +2549,7 @@
],
"tags": [
"button",
"circle",
"on",
"radio"
]
@@ -2545,6 +2560,7 @@
"md-radio"
],
"tags": [
"music",
"radio"
]
},
@@ -2611,6 +2627,8 @@
"md-remove-circle-outline"
],
"tags": [
"circle",
"minus",
"remove"
]
},
@@ -2621,6 +2639,7 @@
],
"tags": [
"circle",
"minus",
"remove"
]
},
@@ -2668,6 +2687,7 @@
"md-restaurant"
],
"tags": [
"eat",
"restaurant"
]
},
@@ -2738,6 +2758,7 @@
"md-rose"
],
"tags": [
"flower",
"rose"
]
},
@@ -2777,7 +2798,8 @@
"md-search"
],
"tags": [
"magnifyingglass",
"glass",
"magnifying",
"search"
]
},
@@ -2870,6 +2892,7 @@
"md-snow"
],
"tags": [
"cold",
"snow"
]
},
@@ -2949,7 +2972,8 @@
"md-stopwatch"
],
"tags": [
"stopwatch"
"stopwatch",
"time"
]
},
{
@@ -3345,6 +3369,7 @@
"md-wine"
],
"tags": [
"glass",
"wine"
]
},
@@ -3616,7 +3641,9 @@
"logo-model-s"
],
"tags": [
"model-s"
"car",
"model-s",
"tesla"
]
},
{
@@ -3776,6 +3803,7 @@
"logo-usd"
],
"tags": [
"$",
"usd"
]
},
@@ -3808,6 +3836,7 @@
"logo-windows"
],
"tags": [
"microsoft",
"windows"
]
},
@@ -110,7 +110,7 @@ export class HeaderBar {
</stencil-route-link>
<a class="nav__item" href="https://github.com/ionic-team/ionicons">
Github
GitHub
<svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g transform="translate(0,1)">
<rect id="bg" fill="#e3e8f1" x="0" y="2" width="9" height="9" rx="1.5"></rect>
+1 -4
View File
@@ -2,10 +2,7 @@
<!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<style type="text/css">
.st0{fill:#010101;}
</style>
<path class="st0" d="M452.9,64.2c-0.7-0.1-1.5-0.2-2.2-0.2H61.5c-7.4-0.1-13.4,5.9-13.5,13.5c0,0.8,0,1.6,0.2,2.4l56.6,352.5
<path d="M452.9,64.2c-0.7-0.1-1.5-0.2-2.2-0.2H61.5c-7.4-0.1-13.4,5.9-13.5,13.5c0,0.8,0,1.6,0.2,2.4l56.6,352.5
c0.7,4.3,2.9,8.2,6.1,11.1l0,0c3.2,2.9,7.4,4.5,11.7,4.5H394c6.6,0.1,12.3-4.8,13.3-11.5L441,224H316l-16,96h-88l-22.3-126.9h256.2
l18-113.1C465,72.5,460.1,65.4,452.9,64.2z"/>
</svg>

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 640 B

+2 -5
View File
@@ -2,12 +2,9 @@
<!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<style type="text/css">
.st0{fill:#010101;}
</style>
<g>
<rect x="227.6" y="213.1" class="st0" width="28.4" height="57.1"/>
<path class="st0" d="M0,156v171.4h142.2V356H256v-28.6h256V156H0z M142.2,298.9h-28.4v-85.7H85.3v85.7H28.4V184.6h113.8V298.9z
<rect x="227.6" y="213.1" width="28.4" height="57.1"/>
<path d="M0,156v171.4h142.2V356H256v-28.6h256V156H0z M142.2,298.9h-28.4v-85.7H85.3v85.7H28.4V184.6h113.8V298.9z
M284.4,298.9h-56.9v28.6h-56.9V184.6h113.8V298.9z M483.6,298.9h-28.4v-85.7h-28.4v85.7h-28.4v-85.7h-28.4v85.7h-56.9V184.6h170.7
V298.9z"/>
</g>

Before

Width:  |  Height:  |  Size: 754 B

After

Width:  |  Height:  |  Size: 676 B

+1 -4
View File
@@ -2,10 +2,7 @@
<!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<style type="text/css">
.st0{fill:#010101;}
</style>
<path class="st0" d="M424,134.5h-45.8c2.3-6.6,3.8-13.9,3.8-21.3c0-35.4-28.1-63.2-63-63.2c-22.1,0-41.2,10.7-52.5,28L256,92.3
<path d="M424,134.5h-45.8c2.3-6.6,3.8-13.9,3.8-21.3c0-35.4-28.1-63.2-63-63.2c-22.1,0-41.2,10.7-52.5,28L256,92.3
l-10.5-14.5C234.2,60.7,215.1,48,193,48c-34.9,0-63,29.8-63,65.2c0,7.5,1.5,14.7,3.8,21.3H88c-23.3,0-41.8,19-41.8,42.7L46,421.8
c0,23.7,17.4,42.2,40.7,42.2h336.7c23.3,0,42.7-18.5,42.7-42.2V177.2C466,153.5,447.3,134.5,424,134.5z M320,91c11.6,0,21,9.5,21,21
c0,11.6-9.4,21-21,21s-21-9.5-21-21C299,100.5,308.4,91,320,91z M192,91c11.6,0,21,9.5,21,21c0,11.6-9.4,21-21,21s-21-9.5-21-21

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1007 B

+1 -4
View File
@@ -2,10 +2,7 @@
<!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<style type="text/css">
.st0{fill:#010101;}
</style>
<path class="st0" d="M349.6,64c-36.4,0-70.7,16.7-93.6,43.9C233.1,80.7,198.8,64,162.4,64C97.9,64,48,114.2,48,179.1
<path d="M349.6,64c-36.4,0-70.7,16.7-93.6,43.9C233.1,80.7,198.8,64,162.4,64C97.9,64,48,114.2,48,179.1
c0,79.5,70.7,143.3,177.8,241.7L256,448l30.2-27.2C393.3,322.4,464,258.6,464,179.1C464,114.2,414.1,64,349.6,64z M268.8,393.3
l-4.2,3.9l-8.6,7.8l-8.6-7.8l-4.2-3.9c-50.4-46.3-94-86.3-122.7-122c-28-34.7-40.4-63.1-40.4-92.2c0-22.9,8.4-43.9,23.7-59.3
C119,104.4,139.8,96,162.4,96c26.1,0,52,12.2,69.1,32.5l24.5,29.1l24.5-29.1c17.1-20.4,43-32.5,69.1-32.5c22.6,0,43.4,8.4,58.7,23.8

Before

Width:  |  Height:  |  Size: 992 B

After

Width:  |  Height:  |  Size: 926 B

+1 -4
View File
@@ -2,10 +2,7 @@
<!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<style type="text/css">
.st0{fill:#010101;}
</style>
<path class="st0" d="M349.6,64c-36.4,0-70.7,16.7-93.6,43.9C233.1,80.7,198.8,64,162.4,64C97.9,64,48,114.2,48,179.1
<path d="M349.6,64c-36.4,0-70.7,16.7-93.6,43.9C233.1,80.7,198.8,64,162.4,64C97.9,64,48,114.2,48,179.1
c0,79.5,70.7,143.3,177.8,241.7L256,448l30.2-27.2C393.3,322.4,464,258.6,464,179.1C464,114.2,414.1,64,349.6,64z M256,406l0-248.3
l24.5-29.1c17.1-20.4,43-32.5,69.1-32.5c22.6,0,43.4,8.4,58.7,23.8c15.3,15.4,23.7,36.5,23.7,59.3c0,29-12.5,57.5-40.4,92.2
C362.8,307,306.4,359.7,256,406z"/>

Before

Width:  |  Height:  |  Size: 809 B

After

Width:  |  Height:  |  Size: 743 B

+2 -5
View File
@@ -2,11 +2,8 @@
<!-- Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<style type="text/css">
.st0{fill:#010101;}
</style>
<g>
<path class="st0" d="M117.3,42.7c-17.6,0-32,14.4-32,32v362.7c0,17.6,14.4,32,32,32H320V42.7H117.3z"/>
<path class="st0" d="M384.7,42.7H368v426.7h16.7c23.1,0,42-18.9,42-42V84.7C426.7,61.6,407.8,42.7,384.7,42.7z"/>
<path d="M117.3,42.7c-17.6,0-32,14.4-32,32v362.7c0,17.6,14.4,32,32,32H320V42.7H117.3z"/>
<path d="M384.7,42.7H368v426.7h16.7c23.1,0,42-18.9,42-42V84.7C426.7,61.6,407.8,42.7,384.7,42.7z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 633 B

After

Width:  |  Height:  |  Size: 555 B

+8
View File
@@ -7,6 +7,14 @@ export const config: Config = {
{
type: 'dist',
dir: 'dist'
},
{ type: 'docs' },
{ type: 'www' }
],
copy: [
{
src: '../svg/',
dest: './build/ionicons/svg/'
}
]
};