Merge branch 'develop' into feature/apple

This commit is contained in:
Unknown
2018-02-27 03:44:59 +06:00
5 changed files with 92 additions and 1 deletions

61
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,61 @@
Thanks for submitting or fixing an icon! Here is a helpful guide to what you need to include.
- [ ] New file
- [ ] Edit Readme
- [ ] Edit radius page
- [ ] Add reference image
- [ ] Edit reference page
- [ ] (optional) Android Image
## New File
Filename should be `nameofservice.svg` - all in lower-case.
Place the file in `/images/svg/`
At a minimum, your icon needs these components:
```
<svg
xmlns="http://www.w3.org/2000/svg"
aria-label="..." role="img"
viewBox="0 0 512 512">
<rect
width="512" height="512"
rx="15%"
fill="#fff"/>
...
</svg>
```
Please keep the whitespace as-is. This makes viewing diffs easier.
## Edit Readme
Add a table cell to README.md - it must be in this format:
```
<td><img src="images/svg/nameofservice.svg" width="125" title="Name Of Service" /><br>229 Bytes</td>
```
## Edit Radius Page
* Edit the file `radius.html`
* Add the name of your service to `var items`
* For example `, 'nameofservice', `
## Reference Image
* Find an *official* logo.
* Add it to `/images/reference/`
## Reference Page
* Edit the file `/images/reference/index.md`
* Add a link to the *official* style guide or brand guidelines.
* For example `| <img src="/images/svg/nameofservice.svg" width="256" /> | <img src="/images/reference/nameofservice.jpg" width="256" /> | https://example.com/press |`
## (Optional) Create Android Version
* Use https://inloop.github.io/svg2android/ to create an Android-compatible XML file.
* Add the file to `/images/android-vector-drawable/`

View File

@@ -149,6 +149,8 @@ Say thanks!
<tr>
<td><img src="images/svg/buffer.svg" width="125" title="buffer" /><br>490 Bytes</td>
<td><img src="images/svg/apple_music.svg" width="125" title="Apple Music" /><br>998 Bytes</td>
<td><img src="images/svg/upwork.svg" width="125" title="UpWork" /><br>671 Bytes</td>
<td><img src="images/svg/calendar.svg" width="125" title="Calendar" /><br>1019 Bytes</td>
</tr>
</table>
@@ -263,6 +265,6 @@ The majority of these vector logos are based on someone else's work.
From [SVGporn](https://github.com/gilbarbara/logos/) - CC0
IBM, Yammer, Android, Authy, ClourFlare, CodePen, DigitalOcean, Discord, AirBnB, WiFi, delicious, opensource, Patreon
IBM, Yammer, Android, Authy, CloudFlare, CodePen, DigitalOcean, Discord, AirBnB, WiFi, delicious, opensource, Patreon
Where possible, they retain their original licenses. Some logos may be subject to copyright and trademark laws, but these files are small enough to memorise.

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="512dp"
android:height="512dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:fillColor="#6fda44"
android:pathData="M 15 0 L 497 0 Q 512 0 512 15 L 512 497 Q 512 512 497 512 L 15 512 Q 0 512 0 497 L 0 15 Q 0 0 15 0 Z" />
<path
android:fillColor="#ffffff"
android:pathData="M357.2,296.9c-17,0-33-7.2-47.4-18.9l3.5-16.6l0.1-0.6c3.2-17.6,13.1-47.2,43.8-47.2c23,0,41.7,18.7,41.7,41.7S380.2,296.9,357.2,296.9L357.2,296.9z
M357.2,171.4c-39.2,0-69.5,25.4-81.9,67.3c-18.8-28.3-33.1-62.2-41.4-90.8h-42.2v109.7c0,21.7-17.6,39.3-39.3,39.3s-39.3-17.6-39.3-39.3V147.8H71v109.7c0,44.9,36.5,81.8,81.4,81.8s81.4-36.9,81.4-81.8v-18.4c8.2,17.1,18.2,34.4,30.4,49.6l-25.8,121.4h43.1l18.7-88c16.4,10.5,35.2,17.1,56.8,17.1c46.2,0,83.8-37.8,83.8-84.1C440.9,209,403.4,171.4,357.2,171.4" />
</vector>

6
images/svg/calendar.svg Normal file
View File

@@ -0,0 +1,6 @@
<svg onload="init()" xmlns="http://www.w3.org/2000/svg"
aria-label="Calendar" role="img"
viewBox="0 0 512 512"><script type="text/ecmascript"><![CDATA[function init(){d=document,L="en-GB",T=new Date,d.getElementById("d").textContent=T.getDate(),d.getElementById("w").textContent=T.toLocaleString(L,{weekday:"long"}),d.getElementById("m").textContent=T.toLocaleString(L,{month:"short"}).toUpperCase()}]]></script><rect
width="512" height="512"
rx="77"
fill="#dee"/><path d="m77 0h358a77 77 0 0 1 77 77v103h-512v-103a77 77 0 0 1 77-77z" fill="#d34"/><g fill="#eab"><circle cx="470" cy="142" r="14"/><circle cx="470" cy="100" r="14"/><circle cx="427" cy="142" r="14"/><circle cx="427" cy="100" r="14"/><circle cx="384" cy="142" r="14"/><circle cx="384" cy="100" r="14"/></g><g fill="#677" font-family="monospace" text-anchor="middle"><text fill="#fff" font-size="140" x="140" y="164" id="m">FEB</text><text font-size="256" x="256" y="400" id="d">29</text><text font-size="64" x="256" y="480" id="w">Sunday</text></g></svg>

After

Width:  |  Height:  |  Size: 1019 B

7
images/svg/upwork.svg Normal file
View File

@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="UpWork" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
rx="15%"
fill="#6fda44"/><path fill="#ffffff" d="M357.2,296.9c-17,0-33-7.2-47.4-18.9l3.5-16.6l0.1-0.6c3.2-17.6,13.1-47.2,43.8-47.2c23,0,41.7,18.7,41.7,41.7S380.2,296.9,357.2,296.9L357.2,296.9z M357.2,171.4c-39.2,0-69.5,25.4-81.9,67.3c-18.8-28.3-33.1-62.2-41.4-90.8h-42.2v109.7c0,21.7-17.6,39.3-39.3,39.3s-39.3-17.6-39.3-39.3V147.8H71v109.7c0,44.9,36.5,81.8,81.4,81.8s81.4-36.9,81.4-81.8v-18.4c8.2,17.1,18.2,34.4,30.4,49.6l-25.8,121.4h43.1l18.7-88c16.4,10.5,35.2,17.1,56.8,17.1c46.2,0,83.8-37.8,83.8-84.1C440.9,209,403.4,171.4,357.2,171.4"/>
</svg>

After

Width:  |  Height:  |  Size: 671 B