Compare commits

..
19 Commits
Author SHA1 Message Date
be3ccc8ece Add/optimise swatch-book/aperture/blend/eclipse (dark/light) mode/paint-roller icons and improve palette/brush metadata (#1280)
* Add `swatch-book` icon

* Improve `palette`/`brush` icons metadata

* Update icons/swatch-book.svg

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

* Add `color-wheel` icon

* Improve `palette`/`swatch-book` icons metadata

* Update icons/color-wheel.svg

Co-authored-by: Jakob Guddas <github@jguddas.de>

* Add `paint-roller` icon

* Improve metadata

* Add `contrast` alternate icon

* Add `eclipse` (dark/light mode toggle) icon

* Add `blend` icon

* Refine `color-wheel` icon

* Optimise `aperture` icon

* Add `aperture` variant

* Drop `color-wheel` icon

* Refine `paint-roller` icon

* Fix `aperture-2` optimisation

* Update icons/aperture.svg

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

* Fix `aperture` variant optimisation

* Rename `contrast-2` to `circle-line-vertical`

* Remove aperture-2 and circle-line-vertical

---------

Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Jakob Guddas <github@jguddas.de>
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2024-01-16 15:42:22 +01:00
Eric Fennis e56b09d400 Add cache header site assets (#1801) 2024-01-13 15:32:18 +01:00
Eric Fennis 7e936c8803 Update stale action 2024-01-13 10:10:43 +01:00
ocavueandKarsa c9ffa4033f Add list-collapse icon (#1790)
* Add `list-collapse` icon

* Update icons/list-collapse.json

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

---------

Co-authored-by: Karsa <contact@karsa.org>
2024-01-10 10:12:13 +01:00
Karsa 32a6187d69 Fixes pen-square (#1784) 2024-01-09 15:42:14 +01:00
Staffan Mowitz 2bf20db4bf Update CONTRIBUTING.md (#1787)
Update link for creating a new icon request issue
2024-01-09 11:25:03 +01:00
Eric Fennis 4473df5ad5 Export all types from lucide-svelte (#1779)
* Export all types from lucide-svelte

* Export all types
2024-01-07 17:26:15 +01:00
Jakob Guddas bc5efd7f0d feat(ci): added filename lint job (#1782) 2024-01-07 17:15:49 +01:00
Eric Fennis 05f209cb04 Fix icon preview comment workflow (#1775)
* Add helpers

* fix preview script

* refactor markup to javascript

* test

* Add escaping

* Try alternative escaping

* test comment markup

* update comment markup

* Revert comment markup step

* revert escaping

* Test with markup file instead of GITHUB_OUTPUT var
2024-01-07 15:59:33 +01:00
Eric Fennis ef89510a47 Implement deprecated block comment (#1765)
* Implement deprecate comment lucide-react

* Add export template with comment

* Add block comment to Lucide Svelte

* Add blockcomment to lucide-angular

* Add block comment to lucide-static

* revert runtime change build:tags

* Fix failed tests

* Remove optional property in icon schema
2024-01-07 15:59:19 +01:00
Daniel BayleyandEric Fennis b72cea6399 Add notebook/pad[-*] icons & optimise/rename *-edit icons (#1363)
* Add `notebook` icon

* Add `notebook-tabs` (contacts variant) icon

* Add `notebook-text` icon

* Add `notepad-text` icon

* Add `notebook-pen` icon

* Optimise `file-edit` icon

* Rename `file-edit` to `file-pen`

* Optimise `clipboard-edit` icon

* Rename `clipboard-edit` to `clipboard-pen`

* Optimise `folder-edit` icon

* Rename `folder-edit` to `folder-pen`

* Optimise `file-signature` icon

* Rename `file-signature` to `file-pen-line`

* Optimise `clipboard-signature` icon

* Rename `clipboard-signature` to `clipboard-pen-line`

* Add `notepad-text-dashed` (draft/template) icon

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2024-01-07 00:16:44 +01:00
Tyrone Tudehope d2152b3cdd Rename between-horizontal-* icons (#1781) 2024-01-07 00:13:25 +01:00
Jakob GuddasandEric Fennis ea43df6431 Manually optimized folder-sync (#1745)
* Update folder-sync.svg

* Update folder-sync.svg

* Update folder-sync.json

* Update folder-sync.svg

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2024-01-05 17:36:55 +01:00
Eric Fennis 4042a366e8 Merge branch 'main' of https://github.com/lucide-icons/lucide 2024-01-05 17:32:54 +01:00
Eric Fennis 5e0ba7e897 fix aliases property in asterisk-square 2024-01-05 17:32:51 +01:00
Daniel BayleyandEric Fennis 6b4f575992 Add between-* icons (#1508)
* Add `between-horizontal` icon

* Add `between-vertical` icon

* Rename icons and end icons

* Fix lint issues

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2024-01-05 16:58:25 +01:00
Daniel BayleyandEric Fennis 92784de9c5 Rename square-* icons appropriately (#1384)
* Rename `square-gantt` to `gantt-square`

* Rename `square-dot` to `dot-square`

* Rename `square-kanban` icons to `kanban-square`

* Rename `square-code` to `code-square`

* Rename `square-asterisk` to `asterisk-square`

* Rename `square-equal` to `equal-square`

* Rename `square-slash` to `slash-square`

* Cleanup merge conflicts

* Add alias back

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2024-01-05 16:20:41 +01:00
Daniel BayleyandEric Fennis 314ee3b255 Add amenities icons (#1461)
* Add `washing-machine` icon

* Add `safe` icon

* Add `vault` icon

* Add `heater` icon

* Refine `vault` icon

* Refine `safe` icon

* Remove safe icon

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2024-01-05 12:47:57 +01:00
Eric Fennis ee7add11bf fix: Run lint always 2024-01-05 11:50:36 +01:00
124 changed files with 1557 additions and 297 deletions
+1
View File
@@ -7,4 +7,5 @@ node_modules
.eslintrc.js
docs/images
docs/guide/basics/examples
docs/guide/advanced/examples
packages/lucide-react/dynamicIconImports.js
+1 -2
View File
@@ -14,5 +14,4 @@ jobs:
close-pr-message: This PR was closed because it has been stalled for 5 days with no activity.
close-pr-label: 🧶 stale
days-before-stale: 30
days-before-close: 5
days-before-pr-close: -1
days-before-close: -1
+2 -2
View File
@@ -2,8 +2,8 @@ name: Linting
on:
pull_request:
paths:
- icons/**
branches:
- '**'
jobs:
linting:
+34 -154
View File
@@ -6,8 +6,29 @@ on:
- 'icons/*.svg'
branches:
- main
- fix-icon-preview
jobs:
lint-filenames:
if: github.repository == 'lucide-icons/lucide'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
with:
files: icons/*
- name: Generate annotations
run: node ./scripts/lintFilenames.mjs
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
lint-contributors:
if: github.repository == 'lucide-icons/lucide'
runs-on: ubuntu-latest
@@ -46,184 +67,43 @@ jobs:
# Example for the previous substitution
# input: +++ b/icons/accessibility.json%0A@@ -2,0 +3 @@%0A+ "contributors": ["hi"],%0A@@ -13 +14 @@%0A+}%0A
# output: ::$ANNOTATION_SEVERITY file=icons/accessibility.json,line=2,endLine=3,title=$ANNOTATION_TITLE::$ANNOTATION_DESCRIPTION%0A%0A+ "contributors": ["hi"],%0A@@ -13 +14 @@%0A+}%0A
# - name: Fail if contributors have changed
# run: git diff --exit-code -- icons/*.json
generate-changed-icons-comment-data:
if: github.repository == 'lucide-icons/lucide'
generate-changed-icons-comment:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
generate-1px-stroke-width: ${{ steps.generate-1px-stroke-width.outputs.body }}
generate-2px-stroke-width: ${{ steps.generate-2px-stroke-width.outputs.body }}
generate-3px-stroke-width: ${{ steps.generate-3px-stroke-width.outputs.body }}
generate-24px-dpi-preview: ${{ steps.generate-24px-dpi-preview.outputs.body }}
generate-cohesion-check-random: ${{ steps.generate-cohesion-check-random.outputs.body }}
generate-cohesion-check-squares: ${{ steps.generate-cohesion-check-squares.outputs.body }}
generate-x-rays: ${{ steps.generate-x-rays.outputs.body }}
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
with:
files: icons/*.svg
- name: Generate 24px dpi preview
id: generate-24px-dpi-preview
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
delimiter="$(openssl rand -hex 8)"
echo "body<<$delimiter" >> $GITHUB_OUTPUT
while IFS= read -r file; do
cat "$file" | # get file content
tr '\n' ' ' | # remove line breaks
sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element
base64 -w 0 | # encode svg
sed "s|.*|<img title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/dpi/24/&.svg\"/> |"
done <<< "$CHANGED_FILES" | tr '\n' ' ' >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
- name: Generate cohesion check random
id: generate-cohesion-check-random
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
delimiter="$(openssl rand -hex 8)"
echo "body<<$delimiter" >> $GITHUB_OUTPUT
for file in $(printf "%s\\n" icons/*.svg | shuf | head -n$(awk -F' ' '{print NF}' <<< '${{ steps.changed-files.outputs.all_changed_files }}')); do
cat "$file" | # get file content
tr '\n' ' ' | # remove line breaks
sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element
base64 -w 0 | # encode svg
sed "s|.*|<img title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/stroke-width/2/&.svg\"/> |"
done <<< "$CHANGED_FILES" | tr '\n' ' ' >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
- name: Generate cohesion check squares
id: generate-cohesion-check-squares
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
delimiter="$(openssl rand -hex 8)"
echo "body<<$delimiter" >> $GITHUB_OUTPUT
for file in $(printf "%s\\n" icons/*square*.svg | shuf | head -n$(awk -F' ' '{print NF}' <<< '${{ steps.changed-files.outputs.all_changed_files }}')); do
cat "$file" | # get file content
tr '\n' ' ' | # remove line breaks
sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element
base64 -w 0 | # encode svg
sed "s|.*|<img title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/stroke-width/2/&.svg\"/> |"
done <<< "$CHANGED_FILES" | tr '\n' ' ' >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
- name: Generate 1px stroke-width
id: generate-1px-stroke-width
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
delimiter="$(openssl rand -hex 8)"
echo "body<<$delimiter" >> $GITHUB_OUTPUT
while IFS= read -r file; do
cat "$file" | # get file content
tr '\n' ' ' | # remove line breaks
sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element
base64 -w 0 | # encode svg
sed "s|.*|<img title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/stroke-width/1/&.svg\"/> |"
done <<< "$CHANGED_FILES" | tr '\n' ' ' >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
- name: Generate 2px stroke-width
id: generate-2px-stroke-width
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
delimiter="$(openssl rand -hex 8)"
echo "body<<$delimiter" >> $GITHUB_OUTPUT
while IFS= read -r file; do
cat "$file" | # get file content
tr '\n' ' ' | # remove line breaks
sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element
base64 -w 0 | # encode svg
sed "s|.*|<img title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/stroke-width/2/&.svg\"/> |"
done <<< "$CHANGED_FILES" | tr '\n' ' ' >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
- name: Generate 3px stroke-width
id: generate-3px-stroke-width
run: |
delimiter="$(openssl rand -hex 8)"
echo "body<<$delimiter" >> $GITHUB_OUTPUT
while IFS= read -r file; do
cat "$file" | # get file content
tr '\n' ' ' | # remove line breaks
sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element
base64 -w 0 | # encode svg
sed "s|.*|<img title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/stroke-width/3/&.svg\"/> |"
done <<< "$CHANGED_FILES" | tr '\n' ' ' >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
- name: Generate X-rays
id: generate-x-rays
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
delimiter="$(openssl rand -hex 8)"
echo "body<<$delimiter" >> $GITHUB_OUTPUT
while IFS= read -r file; do
cat "$file" | # get file content
tr '\n' ' ' | # remove line breaks
sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element
base64 -w 0 | # encode svg
sed "s|.*|<img width=\"400\" title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/$(basename ${file//\.svg/})/&.svg\"/> |"
done <<< "$CHANGED_FILES" | tr '\n' ' ' >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
add-changed-icons-comment:
if: github.repository == 'lucide-icons/lucide'
runs-on: ubuntu-latest
permissions:
pull-requests: write
needs: [generate-changed-icons-comment-data]
steps:
- name: Find Comment
uses: peter-evans/find-comment@v2
id: fc
id: pr-comment
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: Added or changed icons
- name: Generate comment markup
run: node ./scripts/generateChangedIconsCommentMarkup.mjs >> comment-markup.md
id: comment-markup
env:
CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
- name: Create or update comment
uses: peter-evans/create-or-update-comment@v3
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
comment-id: ${{ steps.pr-comment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body: |
### Added or changed icons
${{ needs.generate-changed-icons-comment-data.outputs.generate-2px-stroke-width }}<br/>
<details>
<summary>Preview cohesion</summary>
${{ needs.generate-changed-icons-comment-data.outputs.generate-cohesion-check-squares }}<br/>
${{ needs.generate-changed-icons-comment-data.outputs.generate-2px-stroke-width }}<br/>
${{ needs.generate-changed-icons-comment-data.outputs.generate-cohesion-check-random }}<br/>
</details>
<details>
<summary>Preview stroke widths</summary>
${{ needs.generate-changed-icons-comment-data.outputs.generate-1px-stroke-width }}<br/>
${{ needs.generate-changed-icons-comment-data.outputs.generate-2px-stroke-width }}<br/>
${{ needs.generate-changed-icons-comment-data.outputs.generate-3px-stroke-width }}<br/>
</details>
<details>
<summary>DPI Preview (24px)</summary>
${{ needs.generate-changed-icons-comment-data.outputs.generate-24px-dpi-preview }}
</details>
<details>
<summary>Icon X-rays</summary>
${{ needs.generate-changed-icons-comment-data.outputs.generate-x-rays }}
</details>
body-path: ./comment-markup.md
edit-mode: replace
+1 -1
View File
@@ -50,7 +50,7 @@ Seperate them by two PRs; 'pr-01' `arrow`, `arrow-down` and 'pr-02' `bicycle`.
Before creating an icon request, please search to see if someone has requested the icon already. If there is an open request, please add a :+1:.
If the icon has not already been requested, [create an issue](https://github.com/lucide-icons/lucide/issues/new?title=Icon%20Request:) with a title of `Icon request: <icon name>` and add as much information as possible.
If the icon has not already been requested, [create an icon request issue](https://github.com/lucide-icons/lucide/issues/new?assignees=&labels=%F0%9F%99%8C+icon+request&projects=&template=01_icon_request.yml) and add as much information as possible.
### Icon Requests from Feather
+11
View File
@@ -35,5 +35,16 @@
"destination": "/icons",
"permanent": false
}
],
"headers": [
{
"source": "/assets/:path*",
"headers": [
{
"key": "Cache-Control",
"value": "cache-control: public, max-age=31536000, immutable"
}
]
}
]
}
+4
View File
@@ -47,6 +47,10 @@
},
"minItems": 1,
"uniqueItems": true
},
"deprecated": {
"type": "boolean",
"default": false
}
},
"description": "A JSON Schema for icons defined by Lucide Icons."
+4 -1
View File
@@ -6,7 +6,10 @@
],
"tags": [
"camera",
"photo"
"photo",
"pictures",
"shutter",
"exposure"
],
"categories": [
"photography"
+6 -6
View File
@@ -10,10 +10,10 @@
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10" />
<line x1="14.31" x2="20.05" y1="8" y2="17.94" />
<line x1="9.69" x2="21.17" y1="8" y2="8" />
<line x1="7.38" x2="13.12" y1="12" y2="2.06" />
<line x1="9.69" x2="3.95" y1="16" y2="6.06" />
<line x1="14.31" x2="2.83" y1="16" y2="16" />
<line x1="16.62" x2="10.88" y1="12" y2="21.94" />
<path d="m14.31 8 5.74 9.94" />
<path d="M9.69 8h11.48" />
<path d="m7.38 12 5.74-9.94" />
<path d="M9.69 16 3.95 6.06" />
<path d="M14.31 16H2.83" />
<path d="m16.62 12-5.74 9.94" />
</svg>

Before

Width:  |  Height:  |  Size: 540 B

After

Width:  |  Height:  |  Size: 440 B

@@ -20,5 +20,8 @@
"account",
"maths",
"development"
],
"aliases": [
"square-asterisk"
]
}
}

Before

Width:  |  Height:  |  Size: 338 B

After

Width:  |  Height:  |  Size: 338 B

+38
View File
@@ -0,0 +1,38 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"insert",
"add",
"left",
"slot",
"squeeze",
"space",
"vertical",
"grid",
"table",
"rows",
"cells",
"excel",
"spreadsheet",
"accountancy",
"data",
"enter",
"entry",
"entries",
"blocks",
"rectangles",
"chevron"
],
"categories": [
"layout",
"design",
"tools",
"account"
],
"aliases": [
"between-horizonal-end"
]
}
@@ -9,6 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M8.4 10.6a2.1 2.1 0 1 1 2.99 2.98L6 19l-4 1 1-3.9Z" />
<path d="M2 11.5V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.5" />
<rect width="13" height="7" x="3" y="3" rx="1" />
<path d="m22 15-3-3 3-3" />
<rect width="13" height="7" x="3" y="14" rx="1" />
</svg>

Before

Width:  |  Height:  |  Size: 398 B

After

Width:  |  Height:  |  Size: 343 B

+38
View File
@@ -0,0 +1,38 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"insert",
"add",
"right",
"slot",
"squeeze",
"space",
"vertical",
"grid",
"table",
"rows",
"cells",
"excel",
"spreadsheet",
"accountancy",
"data",
"enter",
"entry",
"entries",
"blocks",
"rectangles",
"chevron"
],
"categories": [
"layout",
"design",
"tools",
"account"
],
"aliases": [
"between-horizonal-start"
]
}
+15
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 width="13" height="7" x="8" y="3" rx="1" />
<path d="m2 9 3 3-3 3" />
<rect width="13" height="7" x="8" y="14" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 341 B

+31
View File
@@ -0,0 +1,31 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"insert",
"add",
"top",
"slot",
"squeeze",
"space",
"vertical",
"grid",
"table",
"columns",
"cells",
"data",
"enter",
"entry",
"entries",
"blocks",
"rectangles",
"chevron"
],
"categories": [
"layout",
"design",
"tools"
]
}
+15
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 width="7" height="13" x="3" y="3" rx="1" />
<path d="m9 22 3-3 3 3" />
<rect width="7" height="13" x="14" y="3" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 342 B

+31
View File
@@ -0,0 +1,31 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"insert",
"add",
"bottom",
"slot",
"squeeze",
"space",
"vertical",
"grid",
"table",
"columns",
"cells",
"data",
"enter",
"entry",
"entries",
"blocks",
"rectangles",
"chevron"
],
"categories": [
"layout",
"design",
"tools"
]
}
+15
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 width="7" height="13" x="3" y="8" rx="1" />
<path d="m15 2-3 3-3-3" />
<rect width="7" height="13" x="14" y="8" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 342 B

+29
View File
@@ -0,0 +1,29 @@
{
"$schema": "../icon.schema.json",
"tags": [
"mode",
"overlay",
"multiply",
"screen",
"opacity",
"transparency",
"alpha",
"filters",
"lenses",
"mixed",
"shades",
"tints",
"hues",
"saturation",
"brightness",
"overlap",
"colors",
"colours"
],
"categories": [
"design",
"photography",
"tools",
"development"
]
}
+14
View File
@@ -0,0 +1,14 @@
<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"
>
<circle cx="9" cy="9" r="7" />
<circle cx="15" cy="15" r="7" />
</svg>

After

Width:  |  Height:  |  Size: 276 B

+2 -1
View File
@@ -6,7 +6,8 @@
"tags": [
"draw",
"paint",
"color"
"color",
"artist"
],
"categories": [
"text",
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"ericfennis"
@@ -11,4 +12,4 @@
"categories": [
"brands"
]
}
}
@@ -5,11 +5,13 @@
"ericfennis"
],
"tags": [
"paste",
"signature"
"paste"
],
"categories": [
"text",
"account"
],
"aliases": [
"clipboard-signature"
]
}
@@ -9,9 +9,9 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="8" height="4" x="8" y="2" rx="1" ry="1" />
<rect width="8" height="4" x="8" y="2" rx="1" />
<path d="M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.5" />
<path d="M16 4h2a2 2 0 0 1 1.73 1" />
<path d="M18.42 9.61a2.1 2.1 0 1 1 2.97 2.97L16.95 17 13 18l.99-3.95 4.43-4.44Z" />
<path d="M8 18h1" />
<path d="M18.4 9.6a2 2 0 0 1 3 3L17 17l-4 1 1-4Z" />
</svg>

Before

Width:  |  Height:  |  Size: 489 B

After

Width:  |  Height:  |  Size: 451 B

@@ -5,11 +5,13 @@
"ericfennis"
],
"tags": [
"edit",
"paste",
"signature"
],
"categories": [
"text"
],
"aliases": [
"clipboard-edit"
]
}
@@ -9,8 +9,8 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="8" height="4" x="8" y="2" rx="1" ry="1" />
<path d="M10.42 12.61a2.1 2.1 0 1 1 2.97 2.97L7.95 21 4 22l.99-3.95 5.43-5.44Z" />
<rect width="8" height="4" x="8" y="2" rx="1" />
<path d="M10.4 12.6a2 2 0 0 1 3 3L8 21l-4 1 1-4Z" />
<path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5.5" />
<path d="M4 13.5V6a2 2 0 0 1 2-2h2" />
</svg>

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 414 B

@@ -14,5 +14,8 @@
"categories": [
"text",
"development"
],
"aliases": [
"square-code"
]
}

Before

Width:  |  Height:  |  Size: 321 B

After

Width:  |  Height:  |  Size: 321 B

+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"ericfennis"
@@ -11,4 +12,4 @@
"brands",
"development"
]
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -12,4 +13,4 @@
"brands",
"development"
]
}
}
@@ -14,5 +14,8 @@
"categories": [
"shapes",
"development"
],
"aliases": [
"square-dot"
]
}

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 296 B

+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"ahtohbi4",
"karsa-mistmere"
@@ -13,4 +14,4 @@
"social",
"design"
]
}
}
+35
View File
@@ -0,0 +1,35 @@
{
"$schema": "../icon.schema.json",
"tags": [
"lunar",
"solar",
"crescent moon",
"sun",
"earth",
"day",
"night",
"planet",
"space",
"mode",
"dark",
"light",
"toggle",
"switch",
"color",
"css",
"styles",
"display",
"accessibility",
"contrast",
"brightness",
"blend",
"shade"
],
"categories": [
"science",
"design",
"development",
"accessibility",
"photography"
]
}
+14
View File
@@ -0,0 +1,14 @@
<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"
>
<circle cx="12" cy="12" r="10" />
<path d="M12 2a7 7 0 1 0 10 10" />
</svg>

After

Width:  |  Height:  |  Size: 281 B

@@ -12,5 +12,8 @@
"categories": [
"maths",
"shapes"
],
"aliases": [
"square-equal"
]
}

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 309 B

+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -14,4 +15,4 @@
"social",
"brands"
]
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -15,4 +16,4 @@
"brands",
"design"
]
}
}
@@ -5,10 +5,12 @@
"jguddas"
],
"tags": [
"edit",
"signature"
"edit"
],
"categories": [
"files"
],
"aliases": [
"file-signature"
]
}
@@ -11,5 +11,5 @@
>
<path d="M20 19.5v.5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8.5L18 5.5" />
<path d="M8 18h1" />
<path d="M18.42 9.61a2.1 2.1 0 1 1 2.97 2.97L16.95 17 13 18l.99-3.95 4.43-4.44Z" />
<path d="M18.4 9.6a2 2 0 0 1 3 3L17 17l-4 1 1-4Z" />
</svg>

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 370 B

+3 -1
View File
@@ -4,10 +4,12 @@
"karsa-mistmere"
],
"tags": [
"edit",
"signature"
],
"categories": [
"files"
],
"aliases": [
"file-edit"
]
}
+2 -2
View File
@@ -10,6 +10,6 @@
stroke-linejoin="round"
>
<path d="M4 13.5V4a2 2 0 0 1 2-2h8.5L20 7.5V20a2 2 0 0 1-2 2h-5.5" />
<polyline points="14 2 14 8 20 8" />
<path d="M10.42 12.61a2.1 2.1 0 1 1 2.97 2.97L7.95 21 4 22l.99-3.95 5.43-5.44Z" />
<path d="M14 2v6h6" />
<path d="M10.4 12.6a2 2 0 0 1 3 3L8 21l-4 1 1-4Z" />
</svg>

Before

Width:  |  Height:  |  Size: 404 B

After

Width:  |  Height:  |  Size: 360 B

@@ -5,10 +5,12 @@
],
"tags": [
"directory",
"edit",
"rename"
],
"categories": [
"files"
],
"aliases": [
"folder-edit"
]
}
+14
View File
@@ -0,0 +1,14 @@
<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="M8.4 10.6a2 2 0 0 1 3 3L6 19l-4 1 1-4Z" />
<path d="M2 11.5V5a2 2 0 0 1 2-2h3.9c.7 0 1.3.3 1.7.9l.8 1.2c.4.6 1 .9 1.7.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-9.5" />
</svg>

After

Width:  |  Height:  |  Size: 384 B

+3 -2
View File
@@ -1,7 +1,8 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
"danielbayley",
"jguddas"
],
"tags": [
"directory",
@@ -16,4 +17,4 @@
"files",
"arrows"
]
}
}
+3 -3
View File
@@ -9,9 +9,9 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v1" />
<path d="M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v.5" />
<path d="M12 10v4h4" />
<path d="m12 14 1.5-1.5c.9-.9 2.2-1.5 3.5-1.5s2.6.6 3.5 1.5c.4.4.8 1 1 1.5" />
<path d="m12 14 1.535-1.605a5 5 0 0 1 8 1.5" />
<path d="M22 22v-4h-4" />
<path d="m22 18-1.5 1.5c-.9.9-2.1 1.5-3.5 1.5s-2.6-.6-3.5-1.5c-.4-.4-.8-1-1-1.5" />
<path d="m22 18-1.535 1.605a5 5 0 0 1-8-1.5" />
</svg>

Before

Width:  |  Height:  |  Size: 547 B

After

Width:  |  Height:  |  Size: 481 B

+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -15,4 +16,4 @@
"brands",
"design"
]
}
}
+2 -1
View File
@@ -31,6 +31,7 @@
"design"
],
"aliases": [
"gantt-square",
"square-gantt"
]
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -14,4 +15,4 @@
"brands",
"development"
]
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -14,4 +15,4 @@
"brands",
"development"
]
}
}
+21
View File
@@ -0,0 +1,21 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"heating",
"warmth",
"comfort",
"fire",
"stove",
"electric",
"electronics",
"amenities"
],
"categories": [
"home",
"devices",
"travel"
]
}
+22
View File
@@ -0,0 +1,22 @@
<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="M11 8c2-3-2-3 0-6" />
<path d="M15.5 8c2-3-2-3 0-6" />
<path d="M6 10h.01" />
<path d="M6 14h.01" />
<path d="M10 16v-4" />
<path d="M14 16v-4" />
<path d="M18 16v-4" />
<path d="M20 6a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3" />
<path d="M5 20v2" />
<path d="M19 20v2" />
</svg>

After

Width:  |  Height:  |  Size: 534 B

+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -15,4 +16,4 @@
"social",
"photography"
]
}
}
+1 -1
View File
@@ -30,4 +30,4 @@
"aliases": [
"square-kanban-dashed"
]
}
}
+1 -1
View File
@@ -29,4 +29,4 @@
"aliases": [
"square-kanban"
]
}
}
+24
View File
@@ -0,0 +1,24 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"ocavue"
],
"tags": [
"items",
"collapse",
"expand",
"details",
"disclosure",
"show",
"hide",
"toggle",
"accordion",
"more",
"less",
"fold",
"unfold"
],
"categories": [
"text"
]
}
+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="m3 10 2.5-2.5L3 5" />
<path d="m3 19 2.5-2.5L3 14" />
<path d="M10 6h11" />
<path d="M10 12h11" />
<path d="M10 18h11" />
</svg>

After

Width:  |  Height:  |  Size: 349 B

+37
View File
@@ -0,0 +1,37 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"pencil",
"notepad",
"notes",
"noted",
"stationery",
"sketchbook",
"organizer",
"organiser",
"planner",
"diary",
"journal",
"writing",
"write",
"written",
"reading",
"high school",
"university",
"college",
"academy",
"student",
"study",
"research",
"homework",
"eraser",
"rubber"
],
"categories": [
"text",
"social"
]
}
+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="M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4" />
<path d="M2 6h4" />
<path d="M2 10h4" />
<path d="M2 14h4" />
<path d="M2 18h4" />
<path d="M18.4 2.6a2.17 2.17 0 0 1 3 3L16 11l-4 1 1-4Z" />
</svg>

After

Width:  |  Height:  |  Size: 438 B

+34
View File
@@ -0,0 +1,34 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"notepad",
"notes",
"people",
"family",
"friends",
"acquaintances",
"contacts",
"details",
"addresses",
"phone numbers",
"directory",
"listing",
"networking",
"alphabetical",
"a-z",
"organizer",
"organiser",
"planner",
"diary",
"stationery"
],
"categories": [
"account",
"connectivity",
"communication",
"social"
]
}
+21
View File
@@ -0,0 +1,21 @@
<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="M2 6h4" />
<path d="M2 10h4" />
<path d="M2 14h4" />
<path d="M2 18h4" />
<rect width="16" height="20" x="4" y="2" rx="2" />
<path d="M15 2v20" />
<path d="M15 7h5" />
<path d="M15 12h5" />
<path d="M15 17h5" />
</svg>

After

Width:  |  Height:  |  Size: 447 B

+37
View File
@@ -0,0 +1,37 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"notepad",
"notes",
"pages",
"paper",
"stationery",
"sketchbook",
"organizer",
"organiser",
"planner",
"diary",
"journal",
"writing",
"write",
"written",
"reading",
"high school",
"university",
"college",
"academy",
"student",
"study",
"research",
"homework",
"lines",
"opened"
],
"categories": [
"text",
"social"
]
}
+20
View File
@@ -0,0 +1,20 @@
<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="M2 6h4" />
<path d="M2 10h4" />
<path d="M2 14h4" />
<path d="M2 18h4" />
<rect width="16" height="20" x="4" y="2" rx="2" />
<path d="M9.5 8h5" />
<path d="M9.5 12H16" />
<path d="M9.5 16H14" />
</svg>

After

Width:  |  Height:  |  Size: 428 B

+40
View File
@@ -0,0 +1,40 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"notepad",
"notes",
"stationery",
"sketchbook",
"moleskine",
"closure",
"strap",
"band",
"elastic",
"organizer",
"organiser",
"planner",
"diary",
"journal",
"writing",
"written",
"writer",
"reading",
"high school",
"university",
"college",
"academy",
"student",
"study",
"homework",
"research"
],
"categories": [
"text",
"communication",
"social",
"design"
]
}
+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="M2 6h4" />
<path d="M2 10h4" />
<path d="M2 14h4" />
<path d="M2 18h4" />
<rect width="16" height="20" x="4" y="2" rx="2" />
<path d="M16 2v20" />
</svg>

After

Width:  |  Height:  |  Size: 376 B

+25
View File
@@ -0,0 +1,25 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"notebook",
"notes",
"pages",
"paper",
"stationery",
"diary",
"journal",
"writing",
"write",
"written",
"draft",
"template",
"lines"
],
"categories": [
"text",
"social"
]
}
+25
View File
@@ -0,0 +1,25 @@
<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="M8 2v4" />
<path d="M12 2v4" />
<path d="M16 2v4" />
<path d="M16 4h2a2 2 0 0 1 2 2v2" />
<path d="M20 12v2" />
<path d="M20 18v2a2 2 0 0 1-2 2h-1" />
<path d="M13 22h-2" />
<path d="M7 22H6a2 2 0 0 1-2-2v-2" />
<path d="M4 14v-2" />
<path d="M4 8V6a2 2 0 0 1 2-2h2" />
<path d="M8 10h6" />
<path d="M8 14h8" />
<path d="M8 18h5" />
</svg>

After

Width:  |  Height:  |  Size: 576 B

+37
View File
@@ -0,0 +1,37 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"notebook",
"notes",
"pages",
"paper",
"stationery",
"sketchbook",
"organizer",
"organiser",
"planner",
"diary",
"journal",
"writing",
"write",
"written",
"reading",
"high school",
"university",
"college",
"academy",
"student",
"study",
"homework",
"research",
"lines",
"opened"
],
"categories": [
"text",
"social"
]
}
+19
View File
@@ -0,0 +1,19 @@
<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="M8 2v4" />
<path d="M12 2v4" />
<path d="M16 2v4" />
<rect width="16" height="18" x="4" y="4" rx="2" />
<path d="M8 10h6" />
<path d="M8 14h8" />
<path d="M8 18h5" />
</svg>

After

Width:  |  Height:  |  Size: 398 B

+4 -2
View File
@@ -8,9 +8,11 @@
"fill",
"paint",
"bucket",
"design"
"color",
"colour"
],
"categories": [
"design"
"design",
"tools"
]
}
+16
View File
@@ -0,0 +1,16 @@
{
"$schema": "../icon.schema.json",
"tags": [
"brush",
"color",
"colour",
"decoration",
"diy"
],
"categories": [
"text",
"design",
"home",
"tools"
]
}
+15
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 width="16" height="6" x="2" y="2" rx="2" />
<path d="M10 16v-2a2 2 0 0 1 2-2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2" />
<rect width="4" height="6" x="8" y="16" rx="1" />
</svg>

After

Width:  |  Height:  |  Size: 386 B

+7 -2
View File
@@ -8,11 +8,16 @@
"brush",
"paintbrush",
"design",
"color"
"color",
"colour",
"decoration",
"diy"
],
"categories": [
"text",
"design",
"photography"
"photography",
"home",
"tools"
]
}
+7 -2
View File
@@ -7,11 +7,16 @@
"brush",
"paintbrush",
"design",
"color"
"color",
"colour",
"decoration",
"diy"
],
"categories": [
"text",
"design",
"photography"
"photography",
"home",
"tools"
]
}
+8 -2
View File
@@ -5,8 +5,14 @@
"csandman"
],
"tags": [
"color",
"theme"
"colors",
"colours",
"theme",
"scheme",
"paint",
"watercolor",
"watercolour",
"artist"
],
"categories": [
"text",
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -13,4 +14,4 @@
"brands",
"development"
]
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"ashygee",
@@ -17,4 +18,4 @@
"brands",
"development"
]
}
}
@@ -19,5 +19,8 @@
"shapes",
"development",
"maths"
],
"aliases": [
"square-slash"
]
}

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 302 B

@@ -27,6 +27,7 @@
],
"aliases": [
"pen-box",
"edit"
"edit",
"pen-square"
]
}
}
@@ -9,6 +9,6 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" />
<path d="M18.5 2.5a2.12 2.12 0 0 1 3 3L12 15l-4 1 1-4Z" />
<path d="M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" />
<path d="M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z" />
</svg>

Before

Width:  |  Height:  |  Size: 343 B

After

Width:  |  Height:  |  Size: 349 B

+26
View File
@@ -0,0 +1,26 @@
{
"$schema": "../icon.schema.json",
"tags": [
"colors",
"colours",
"swatches",
"pantone",
"shades",
"tint",
"hue",
"saturation",
"brightness",
"theme",
"scheme",
"palette",
"samples",
"textile",
"carpet"
],
"categories": [
"design",
"home",
"furniture",
"photography"
]
}
+16
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"
>
<path d="M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2Z" />
<path d="M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7" />
<path d="M 7 17h0.01" />
<path d="m11 8 2.3-2.3a2.4 2.4 0 0 1 3.404.004L18.6 7.6a2.4 2.4 0 0 1 .026 3.434L9.9 19.8" />
</svg>

After

Width:  |  Height:  |  Size: 459 B

+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"bdbch",
"csandman",
@@ -15,4 +16,4 @@
"brands",
"development"
]
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"ahtohbi4",
"johnletey"
@@ -14,4 +15,4 @@
"account",
"gaming"
]
}
}
+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -15,4 +16,4 @@
"social",
"account"
]
}
}
+24
View File
@@ -0,0 +1,24 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"safe",
"lockbox",
"deposit",
"locker",
"coffer",
"strongbox",
"safety",
"secure",
"storage",
"valuables",
"bank"
],
"categories": [
"security",
"travel",
"home"
]
}
+22
View File
@@ -0,0 +1,22 @@
<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 width="18" height="18" x="3" y="3" rx="2" />
<circle cx="7.5" cy="7.5" r=".5" />
<path d="m7.9 7.9 2.7 2.7" />
<circle cx="16.5" cy="7.5" r=".5" />
<path d="m13.4 10.6 2.7-2.7" />
<circle cx="7.5" cy="16.5" r=".5" />
<path d="m7.9 16.1 2.7-2.7" />
<circle cx="16.5" cy="16.5" r=".5" />
<path d="m13.4 13.4 2.7 2.7" />
<circle cx="12" cy="12" r="2" />
</svg>

After

Width:  |  Height:  |  Size: 585 B

+21
View File
@@ -0,0 +1,21 @@
{
"$schema": "../icon.schema.json",
"contributors": [
"danielbayley"
],
"tags": [
"tumble dryer",
"amenities",
"electronics",
"cycle",
"clothes",
"rinse",
"spin",
"drum"
],
"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="M3 6h3" />
<path d="M17 6h.01" />
<rect width="18" height="20" x="3" y="2" rx="2" />
<circle cx="12" cy="13" r="5" />
<path d="M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5" />
</svg>

After

Width:  |  Height:  |  Size: 401 B

+2 -1
View File
@@ -1,5 +1,6 @@
{
"$schema": "../icon.schema.json",
"deprecated": true,
"contributors": [
"colebemis",
"csandman",
@@ -20,4 +21,4 @@
"text",
"brands"
]
}
}
@@ -1,8 +1,26 @@
export default ({ componentName, children }) => `
/* eslint-disable import/no-extraneous-dependencies */
import base64SVG from '@lucide/build-icons/utils/base64SVG.mjs';
export default ({ componentName, iconName, children, getSvg, deprecated }) => {
const svgContents = getSvg();
const svgBase64 = base64SVG(svgContents);
return `\
import { LucideIconData } from './types';
/* eslint-disable no-shadow-restricted-names */
const ${componentName}: LucideIconData = ${JSON.stringify(children)};
/**
* @component @name ${componentName}
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview ![img](data:image/svg+xml;base64,${svgBase64}) - https://lucide.dev/icons/${iconName}
* @see https://lucide.dev/guide/packages/lucide-vue-next - Documentation
*
* @param {Object} props - Lucide icons props and any valid SVG attribute
* @returns {FunctionalComponent} Vue component
* ${deprecated ? '@deprecated' : ''}
*/
const ${componentName}: LucideIconData = ${JSON.stringify(children)}; //eslint-disable-line no-shadow-restricted-names
export default ${componentName};
`;
`
};
@@ -1,7 +1,26 @@
export default ({ componentName, children }) => `
/* eslint-disable import/no-extraneous-dependencies */
import base64SVG from '@lucide/build-icons/utils/base64SVG.mjs';
export default ({ componentName, iconName, children, getSvg, deprecated }) => {
const svgContents = getSvg();
const svgBase64 = base64SVG(svgContents);
return `
import createLucideIcon from '../createLucideIcon';
/**
* @component @name ${componentName}
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview ![img](data:image/svg+xml;base64,${svgBase64}) - https://lucide.dev/icons/${iconName}
* @see https://lucide.dev/guide/packages/lucide-preact - Documentation
*
* @param {Object} props - Lucide icons props and any valid SVG attribute
* @returns {JSX.Element} JSX Element
* ${deprecated ? '@deprecated' : ''}
*/
const ${componentName} = createLucideIcon('${componentName}', ${JSON.stringify(children)});
export default ${componentName};
`;
};
@@ -1,7 +1,26 @@
export default ({ componentName, children }) => `
/* eslint-disable import/no-extraneous-dependencies */
import base64SVG from '@lucide/build-icons/utils/base64SVG.mjs';
export default ({ componentName, iconName, children, getSvg, deprecated }) => {
const svgContents = getSvg();
const svgBase64 = base64SVG(svgContents);
return `
import createLucideIcon from '../createLucideIcon';
/**
* @component @name ${componentName}
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview ![img](data:image/svg+xml;base64,${svgBase64}) - https://lucide.dev/icons/${iconName}
* @see https://lucide.dev/guide/packages/lucide-react-native - Documentation
*
* @param {Object} props - Lucide icons props and any valid SVG attribute
* @returns {JSX.Element} JSX Element
* ${deprecated ? '@deprecated' : ''}
*/
const ${componentName} = createLucideIcon('${componentName}', ${JSON.stringify(children)});
export default ${componentName};
`;
};
@@ -1,16 +1,9 @@
export default ({ componentName, iconName, children, getSvg }) => {
/* eslint-disable import/no-extraneous-dependencies */
import base64SVG from '@lucide/build-icons/utils/base64SVG.mjs';
export default ({ componentName, iconName, children, getSvg, deprecated }) => {
const svgContents = getSvg();
const svgBase64 = Buffer.from(
svgContents
.replace('\n', '')
.replace(
'stroke="currentColor"',
'stroke="#000" style="background-color: #fff; border-radius: 2px"',
),
).toString('base64');
// declarationFileContent += `\
const svgBase64 = base64SVG(svgContents);
return `
import createLucideIcon from '../createLucideIcon';
@@ -24,7 +17,7 @@ import createLucideIcon from '../createLucideIcon';
*
* @param {Object} props - Lucide icons props and any valid SVG attribute
* @returns {JSX.Element} JSX Element
*
* ${deprecated ? '@deprecated' : ''}
*/
const ${componentName} = createLucideIcon('${componentName}', ${JSON.stringify(children)});
@@ -1,11 +1,11 @@
import path from 'path';
// eslint-disable-next-line import/no-extraneous-dependencies
import getAliases from '@lucide/build-icons/utils/getAliases.mjs';
import getIconMetaData from '@lucide/build-icons/utils/getIconMetaData.mjs';
const ICONS_DIR = path.resolve(process.cwd(), '../../icons');
export default async function getAliasesEntryNames() {
const metaJsonFiles = await getAliases(ICONS_DIR);
const metaJsonFiles = await getIconMetaData(ICONS_DIR);
const iconWithAliases = Object.values(metaJsonFiles).filter(({ aliases }) => aliases != null);
@@ -35,8 +35,9 @@ export const toKebabCase = (string: string) =>
const createLucideIcon = (iconName: string, iconNode: IconNode): LucideIcon => {
const Component = forwardRef<SVGSVGElement, LucideProps>(
({ color = 'currentColor', size = 24, strokeWidth = 2, absoluteStrokeWidth, className = '', children, ...rest }, ref) =>
createElement(
({ color = 'currentColor', size = 24, strokeWidth = 2, absoluteStrokeWidth, className = '', children, ...rest }, ref) =>{
return createElement(
'svg',
{
ref,
@@ -53,6 +54,7 @@ const createLucideIcon = (iconName: string, iconNode: IconNode): LucideIcon => {
...(Array.isArray(children) ? children : [children]),
]
)
}
);
Component.displayName = `${iconName}`;
@@ -1,12 +1,31 @@
export default ({ componentName, children }) => `
/* eslint-disable import/no-extraneous-dependencies */
import base64SVG from '@lucide/build-icons/utils/base64SVG.mjs';
export default ({ componentName, iconName, children, getSvg, deprecated }) => {
const svgContents = getSvg();
const svgBase64 = base64SVG(svgContents);
return `
import Icon from '../Icon';
import type { IconNode, LucideProps } from '../types';
const iconNode: IconNode = ${JSON.stringify(children)};
/**
* @component @name ${componentName}
* @description Lucide SVG icon component, renders SVG Element with children.
*
* @preview ![img](data:image/svg+xml;base64,${svgBase64}) - https://lucide.dev/icons/${iconName}
* @see https://lucide.dev/guide/packages/lucide-solid - Documentation
*
* @param {Object} props - Lucide icons props and any valid SVG attribute
* @returns {JSX.Element} JSX Element
* ${deprecated ? '@deprecated' : ''}
*/
const ${componentName} = (props: LucideProps) => (
<Icon {...props} name="${componentName}" iconNode={iconNode} />
)
export default ${componentName};
`;
};

Some files were not shown because too many files have changed in this diff Show More