Add fire/safety/security/amenities icons (#1392)

* Add `fire-extinguisher` icon

* Add `smoke-alarm` icon

* Improve fire related metadata

* Add `fire-alarm` icon

* Add `cctv` icon

* Add `cctv-off` icon

* Update icons/fire-alarm.json

Co-authored-by: Karsa <contact@karsa.org>

* Update icons/fire-alarm.json

Co-authored-by: Karsa <contact@karsa.org>

* Rename `fire-alarm` to `bell-alarm`

* Refine `cctv` icons

* Optimise `bell-alarm` icon

* Rename `bell-alarm` to `bell-electric`

* Rename `smoke-alarm` to `alarm-smoke`

* Refine `alarm-smoke` icon

* Refine `cctv` icons

* Update icons/alarm-smoke.svg

Co-authored-by: Karsa <contact@karsa.org>

* Update icons/cctv.svg

Co-authored-by: Karsa <contact@karsa.org>

* Update icons/fire-extinguisher.svg

Co-authored-by: Karsa <contact@karsa.org>

* update pr workflow

* update pr workflow

* add env

* remove cctv off icons

---------

Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
This commit is contained in:
Daniel Bayley
2023-12-16 15:39:40 +01:00
committed by GitHub
co-authored by Karsa Eric Fennis
parent e7abba5273
commit df58c3ff2f
11 changed files with 212 additions and 7 deletions
+12 -5
View File
@@ -21,14 +21,21 @@ jobs:
uses: tj-actions/changed-files@v35
with:
files: icons/*
- uses: actions/setup-node@v3.8.1
- name: Install simple-git (safer and faster than installing all deps)
run: npm install simple-git
- env:
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- name: Install deps
run: pnpm install --ignore-scripts
- name: Generate annotations
run: node ./scripts/updateContributors.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FETCH_DEPTH: ${{ github.event.pull_request.commits }}
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: node ./scripts/updateContributors.mjs
- name: Generate annotations
env:
ANNOTATION_SEVERITY: notice
+21
View File
@@ -0,0 +1,21 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"fire",
"alert",
"warning",
"detector",
"carbon monoxide",
"safety",
"equipment",
"amenities"
],
"categories": [
"home",
"devices",
"travel"
]
}
+17
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"
>
<path d="M4 8a2 2 0 0 1-2-2V3h20v3a2 2 0 0 1-2 2Z" />
<path d="m19 8-.8 3c-.1.6-.6 1-1.2 1H7c-.6 0-1.1-.4-1.2-1L5 8" />
<path d="M16 21c0-2.5 2-2.5 2-5" />
<path d="M11 21c0-2.5 2-2.5 2-5" />
<path d="M6 21c0-2.5 2-2.5 2-5" />
</svg>

After

Width:  |  Height:  |  Size: 445 B

+12 -1
View File
@@ -8,7 +8,18 @@
"karsa-mistmere"
],
"tags": [
"hatchet"
"hatchet",
"weapon",
"chop",
"sharp",
"equipment",
"fireman",
"firefighter",
"brigade",
"lumberjack",
"woodcutter",
"logger",
"forestry"
],
"categories": [
"tools",
+32
View File
@@ -0,0 +1,32 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"fire alarm",
"flames",
"smoke",
"firefighter",
"fireman",
"department",
"brigade",
"station",
"emergency",
"alert",
"safety",
"school bell",
"period break",
"recess",
"doorbell",
"entrance",
"entry",
"ring",
"reception"
],
"categories": [
"devices",
"notifications",
"home"
]
}
+18
View File
@@ -0,0 +1,18 @@
<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"
>
<path d="M18.8 4A6.3 8.7 0 0 1 20 9" />
<path d="M9 9h.01" />
<circle cx="9" cy="9" r="7" />
<rect width="10" height="6" x="4" y="16" rx="2" />
<path d="M14 19c3 0 4.6-1.6 4.6-1.6" />
<circle cx="20" cy="16" r="2" />
</svg>

After

Width:  |  Height:  |  Size: 437 B

+22
View File
@@ -0,0 +1,22 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"camera",
"surveillance",
"recording",
"film",
"videotape",
"crime",
"watching"
],
"categories": [
"security",
"devices",
"communication",
"connectivity",
"photography"
]
}
+17
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"
>
<path d="M7 9h.01" />
<path d="M16.75 12H22l-3.5 7-3.09-4.32" />
<path d="M18 9.5l-4 8-10.39-5.2a2.92 2.92 0 0 1-1.3-3.91L3.69 5.6a2.92 2.92 0 0 1 3.92-1.3Z" />
<path d="M2 19h3.76a2 2 0 0 0 1.8-1.1L9 15" />
<path d="M2 21v-4" />
</svg>

After

Width:  |  Height:  |  Size: 448 B

+32
View File
@@ -0,0 +1,32 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"flames",
"smoke",
"foam",
"water",
"spray",
"hose",
"firefighter",
"fireman",
"department",
"brigade",
"station",
"emergency",
"suppress",
"compressed",
"tank",
"cylinder",
"safety",
"equipment",
"amenities"
],
"categories": [
"home",
"tools",
"travel"
]
}
+18
View File
@@ -0,0 +1,18 @@
<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"
>
<path d="M15 6.5V3a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3.5" />
<path d="M9 18h8" />
<path d="M18 3h-3" />
<path d="M11 3a6 6 0 0 0-6 6v11" />
<path d="M5 13h4" />
<path d="M17 10a4 4 0 0 0-8 0v10a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2Z" />
</svg>

After

Width:  |  Height:  |  Size: 446 B

+11 -1
View File
@@ -7,7 +7,17 @@
],
"tags": [
"fire",
"lit"
"lit",
"burning",
"spark",
"embers",
"smoke",
"firefighter",
"fireman",
"department",
"brigade",
"station",
"emergency"
],
"categories": [
"weather",