Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be3ccc8ece | ||
|
|
e56b09d400 | ||
|
|
7e936c8803 | ||
|
|
c9ffa4033f | ||
|
|
32a6187d69 | ||
|
|
2bf20db4bf | ||
|
|
4473df5ad5 | ||
|
|
bc5efd7f0d | ||
|
|
05f209cb04 | ||
|
|
ef89510a47 | ||
|
|
b72cea6399 | ||
|
|
d2152b3cdd | ||
|
|
ea43df6431 | ||
|
|
4042a366e8 | ||
|
|
5e0ba7e897 | ||
|
|
6b4f575992 | ||
|
|
92784de9c5 | ||
|
|
314ee3b255 | ||
|
|
ee7add11bf |
@@ -7,4 +7,5 @@ node_modules
|
||||
.eslintrc.js
|
||||
docs/images
|
||||
docs/guide/basics/examples
|
||||
docs/guide/advanced/examples
|
||||
packages/lucide-react/dynamicIconImports.js
|
||||
|
||||
@@ -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,8 +2,8 @@ name: Linting
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- icons/**
|
||||
branches:
|
||||
- '**'
|
||||
|
||||
jobs:
|
||||
linting:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -35,5 +35,16 @@
|
||||
"destination": "/icons",
|
||||
"permanent": false
|
||||
}
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
"source": "/assets/:path*",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "cache-control: public, max-age=31536000, immutable"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -47,6 +47,10 @@
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"description": "A JSON Schema for icons defined by Lucide Icons."
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
],
|
||||
"tags": [
|
||||
"camera",
|
||||
"photo"
|
||||
"photo",
|
||||
"pictures",
|
||||
"shutter",
|
||||
"exposure"
|
||||
],
|
||||
"categories": [
|
||||
"photography"
|
||||
|
||||
@@ -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 |
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -6,7 +6,8 @@
|
||||
"tags": [
|
||||
"draw",
|
||||
"paint",
|
||||
"color"
|
||||
"color",
|
||||
"artist"
|
||||
],
|
||||
"categories": [
|
||||
"text",
|
||||
|
||||
@@ -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 |
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"ericfennis"
|
||||
@@ -11,4 +12,4 @@
|
||||
"brands",
|
||||
"development"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 |
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"ahtohbi4",
|
||||
"karsa-mistmere"
|
||||
@@ -13,4 +14,4 @@
|
||||
"social",
|
||||
"design"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"csandman",
|
||||
@@ -14,4 +15,4 @@
|
||||
"social",
|
||||
"brands"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 |
@@ -4,10 +4,12 @@
|
||||
"karsa-mistmere"
|
||||
],
|
||||
"tags": [
|
||||
"edit",
|
||||
"signature"
|
||||
],
|
||||
"categories": [
|
||||
"files"
|
||||
],
|
||||
"aliases": [
|
||||
"file-edit"
|
||||
]
|
||||
}
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"contributors": [
|
||||
"danielbayley"
|
||||
"danielbayley",
|
||||
"jguddas"
|
||||
],
|
||||
"tags": [
|
||||
"directory",
|
||||
@@ -16,4 +17,4 @@
|
||||
"files",
|
||||
"arrows"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 |
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"csandman",
|
||||
@@ -15,4 +16,4 @@
|
||||
"brands",
|
||||
"design"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
"design"
|
||||
],
|
||||
"aliases": [
|
||||
"gantt-square",
|
||||
"square-gantt"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"csandman",
|
||||
@@ -14,4 +15,4 @@
|
||||
"brands",
|
||||
"development"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"csandman",
|
||||
@@ -14,4 +15,4 @@
|
||||
"brands",
|
||||
"development"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"contributors": [
|
||||
"danielbayley"
|
||||
],
|
||||
"tags": [
|
||||
"heating",
|
||||
"warmth",
|
||||
"comfort",
|
||||
"fire",
|
||||
"stove",
|
||||
"electric",
|
||||
"electronics",
|
||||
"amenities"
|
||||
],
|
||||
"categories": [
|
||||
"home",
|
||||
"devices",
|
||||
"travel"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"csandman",
|
||||
@@ -15,4 +16,4 @@
|
||||
"social",
|
||||
"photography"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,4 +30,4 @@
|
||||
"aliases": [
|
||||
"square-kanban-dashed"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
"aliases": [
|
||||
"square-kanban"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -8,9 +8,11 @@
|
||||
"fill",
|
||||
"paint",
|
||||
"bucket",
|
||||
"design"
|
||||
"color",
|
||||
"colour"
|
||||
],
|
||||
"categories": [
|
||||
"design"
|
||||
"design",
|
||||
"tools"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"tags": [
|
||||
"brush",
|
||||
"color",
|
||||
"colour",
|
||||
"decoration",
|
||||
"diy"
|
||||
],
|
||||
"categories": [
|
||||
"text",
|
||||
"design",
|
||||
"home",
|
||||
"tools"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -8,11 +8,16 @@
|
||||
"brush",
|
||||
"paintbrush",
|
||||
"design",
|
||||
"color"
|
||||
"color",
|
||||
"colour",
|
||||
"decoration",
|
||||
"diy"
|
||||
],
|
||||
"categories": [
|
||||
"text",
|
||||
"design",
|
||||
"photography"
|
||||
"photography",
|
||||
"home",
|
||||
"tools"
|
||||
]
|
||||
}
|
||||
@@ -7,11 +7,16 @@
|
||||
"brush",
|
||||
"paintbrush",
|
||||
"design",
|
||||
"color"
|
||||
"color",
|
||||
"colour",
|
||||
"decoration",
|
||||
"diy"
|
||||
],
|
||||
"categories": [
|
||||
"text",
|
||||
"design",
|
||||
"photography"
|
||||
"photography",
|
||||
"home",
|
||||
"tools"
|
||||
]
|
||||
}
|
||||
@@ -5,8 +5,14 @@
|
||||
"csandman"
|
||||
],
|
||||
"tags": [
|
||||
"color",
|
||||
"theme"
|
||||
"colors",
|
||||
"colours",
|
||||
"theme",
|
||||
"scheme",
|
||||
"paint",
|
||||
"watercolor",
|
||||
"watercolour",
|
||||
"artist"
|
||||
],
|
||||
"categories": [
|
||||
"text",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"csandman",
|
||||
@@ -13,4 +14,4 @@
|
||||
"brands",
|
||||
"development"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 |
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"bdbch",
|
||||
"csandman",
|
||||
@@ -15,4 +16,4 @@
|
||||
"brands",
|
||||
"development"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"ahtohbi4",
|
||||
"johnletey"
|
||||
@@ -14,4 +15,4 @@
|
||||
"account",
|
||||
"gaming"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"deprecated": true,
|
||||
"contributors": [
|
||||
"colebemis",
|
||||
"csandman",
|
||||
@@ -15,4 +16,4 @@
|
||||
"social",
|
||||
"account"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "../icon.schema.json",
|
||||
"contributors": [
|
||||
"danielbayley"
|
||||
],
|
||||
"tags": [
|
||||
"tumble dryer",
|
||||
"amenities",
|
||||
"electronics",
|
||||
"cycle",
|
||||
"clothes",
|
||||
"rinse",
|
||||
"spin",
|
||||
"drum"
|
||||
],
|
||||
"categories": [
|
||||
"home",
|
||||
"devices",
|
||||
"travel"
|
||||
]
|
||||
}
|
||||
@@ -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 |
@@ -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  - 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  - 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  - 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  - 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};
|
||||
`;
|
||||
};
|
||||
|
||||