feat: Add battery icons (#23)

* feat: Add `battery` icons

* refactor: Use elements for `battery-charging`

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

* refactor: Use elements for `battery-full`

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

* refactor: Use elements for `battery-low`

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

* refactor: Use elements for `battery-medium`

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

* refactor: Use elements for `battery`

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
This commit is contained in:
John Letey
2020-06-26 15:19:19 +01:00
committed by GitHub
parent 90966d2723
commit cb5d712584
5 changed files with 53 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19" />
<line x1="23" y1="13" x2="23" y2="11" />
<polyline points="11 6 7 12 13 12 9 18" />
<path d="M7 7H3.77778C2.79594 7 2 7.74619 2 8.66667V15.3333C2 16.2538 2.79594 17 3.77778 17H6M14 7H16.2222C17.2041 7 18 7.74619 18 8.66667V15.3333C18 16.2538 17.2041 17 16.2222 17H13" />
<polyline points="11 7 8 12 12 12 9 17" />
<line x1="22" x2="22" y1="11" y2="13" />
</svg>

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 485 B

17
icons/battery-full.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="2" y="7" width="16" height="10" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="10" y2="14" />
<line x1="10" x2="10" y1="10" y2="14" />
<line x1="14" x2="14" y1="10" y2="14" />
</svg>

After

Width:  |  Height:  |  Size: 438 B

15
icons/battery-low.svg Normal file
View File

@@ -0,0 +1,15 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="2" y="7" width="16" height="10" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="10" y2="14" />
</svg>

After

Width:  |  Height:  |  Size: 352 B

16
icons/battery-medium.svg Normal file
View File

@@ -0,0 +1,16 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="2" y="7" width="16" height="10" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
<line x1="6" x2="6" y1="10" y2="14" />
<line x1="10" x2="10" y1="10" y2="14" />
</svg>

After

Width:  |  Height:  |  Size: 395 B

View File

@@ -9,6 +9,6 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="1" y="6" width="18" height="12" rx="2" ry="2" />
<line x1="23" y1="13" x2="23" y2="11" />
<rect x="2" y="7" width="16" height="10" rx="2" ry="2" />
<line x1="22" x2="22" y1="11" y2="13" />
</svg>

Before

Width:  |  Height:  |  Size: 311 B

After

Width:  |  Height:  |  Size: 311 B