Skip to content

Commit

Permalink
chore(icons): update icon names to match naming guidelines no. 7 to 9 (
Browse files Browse the repository at this point in the history
…#1906)

* Update icon names to match naming guidelines no. 7 to 9
Update and extend rename icon helper script.

* Ran prettier

* Refactor rename scripts so that simplegit import doesn't cause other helper script usages to crash.

* Revert renaming key-square

* Revert renaming message-circle|square

* Fix square-dashed-kanban

* Optimize circle power

* pnpm rename square-dashed-bottom-scissors square-bottom-dashed-scissors

* Fix linting

* Fix file name linting issues via cspell configuration

* Rename unlock => lock-open

* Rename (square|circle)-check-2 => (square|circle)-check-small

* pnpm rename code-2 code-xml
pnpm rename contact-2 contact-round

* rename test-tube-2 test-tube-diagonal
rename mic-2 mic-vocal
rename loader-2 loader-circle
rename test-tube-2 test-tube-diagonal
rename school-2 university

* fix icons linting

* rename ice-cream => ice-cream-cone
rename ice-cream-2 => ice-cream-bowl
rename laptop-2 => laptop-abstract

* renamePattern "^(square|circle)-arrow-([a-z-]+)-from$" "\\1-arrow-out-\\2"

* rename wand-2 => wand-sparkles

* Update university.json tags.

* fix(icons): renamePattern '^(.+)-abstract$' '\1-minimal' --add-alias=false
feat(scripts): added yargs option parsing to renamePattern

* fix(packages): Remove protractor and puppeteer from lucide-angular, they are no longer in use but cause pnpm install to fail

* Lint fix, this is starting to get ridiculous.

* fix(packages): fix lucide-angular karma config.

* chore(icons): renamePattern '^(square|circle)-check$' '\1-check-big'
chore(icons): renamePattern '^(square|circle)-check-small$' '\1-check'

---------

Co-authored-by: Karsa <[email protected]>
  • Loading branch information
karsa-mistmere and Karsa authored Mar 8, 2024
1 parent d877382 commit 6fbd5ee
Show file tree
Hide file tree
Showing 221 changed files with 513 additions and 726 deletions.
15 changes: 15 additions & 0 deletions .cspell/custom-words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Custom words
fullscreen
gamepad
gantt
kanban
pilcrow
squircle
strikethrough
touchpad
ungroup

# Brands
codepen
codesandbox
dribbble
2 changes: 1 addition & 1 deletion categories/development.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "../category.schema.json",
"title": "Coding & development",
"icon": "code-2"
"icon": "code-xml"
}
2 changes: 1 addition & 1 deletion categories/multimedia.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "../category.schema.json",
"title": "Multimedia",
"icon": "play-circle"
"icon": "circle-play"
}
2 changes: 1 addition & 1 deletion categories/notifications.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "../category.schema.json",
"title": "Notifications",
"icon": "alert-triangle"
"icon": "triangle-alert"
}
10 changes: 10 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"dictionaries": ["en-us", "custom-words"],
"dictionaryDefinitions": [
{
"name": "custom-words",
"path": "./.cspell/custom-words.txt",
"addWords": true
}
]
}
3 changes: 3 additions & 0 deletions icons/alert-circle.json → icons/circle-alert.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"categories": [
"notifications",
"shapes"
],
"aliases": [
"alert-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/arrow-down-circle.json → icons/circle-arrow-down.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
"navigation",
"shapes",
"gaming"
],
"aliases": [
"arrow-down-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/arrow-left-circle.json → icons/circle-arrow-left.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"navigation",
"shapes",
"gaming"
],
"aliases": [
"arrow-left-circle"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"arrows",
"navigation",
"maps"
],
"aliases": [
"arrow-down-left-from-circle"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"arrows",
"navigation",
"maps"
],
"aliases": [
"arrow-down-right-from-circle"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
"navigation",
"maps",
"development"
],
"aliases": [
"arrow-up-left-from-circle"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"arrows",
"navigation",
"maps"
],
"aliases": [
"arrow-up-right-from-circle"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
"navigation",
"shapes",
"gaming"
],
"aliases": [
"arrow-right-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/arrow-up-circle.json → icons/circle-arrow-up.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@
"navigation",
"shapes",
"gaming"
],
"aliases": [
"arrow-up-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/check-square.json → icons/circle-check-big.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
"categories": [
"notifications",
"shapes"
],
"aliases": [
"check-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/check-circle-2.json → icons/circle-check.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"categories": [
"notifications",
"shapes"
],
"aliases": [
"check-circle-2"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"arrows",
"navigation",
"shapes"
],
"aliases": [
"chevron-down-circle"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
"arrows",
"navigation",
"shapes"
],
"aliases": [
"chevron-left-circle"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@
"arrows",
"navigation",
"shapes"
],
"aliases": [
"chevron-right-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/chevron-up-circle.json → icons/circle-chevron-up.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"arrows",
"navigation",
"shapes"
],
"aliases": [
"chevron-up-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/divide-circle.json → icons/circle-divide.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"categories": [
"maths",
"shapes"
],
"aliases": [
"divide-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/gauge-circle.json → icons/circle-gauge.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
"transportation",
"sports",
"science"
],
"aliases": [
"gauge-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/help-circle.json → icons/circle-help.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
"text",
"shapes",
"notifications"
],
"aliases": [
"help-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/minus-circle.json → icons/circle-minus.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"categories": [
"maths",
"shapes"
],
"aliases": [
"minus-circle"
]
}
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"categories": [
"transportation",
"maps"
],
"aliases": [
"parking-circle-off"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/parking-circle.json → icons/circle-parking.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"categories": [
"transportation",
"maps"
],
"aliases": [
"parking-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/pause-circle.json → icons/circle-pause.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"categories": [
"multimedia",
"shapes"
],
"aliases": [
"pause-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/percent-diamond.json → icons/circle-percent.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
"shopping",
"maths",
"shapes"
],
"aliases": [
"percent-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/play-circle.json → icons/circle-play.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"categories": [
"shapes",
"multimedia"
],
"aliases": [
"play-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/plus-circle.json → icons/circle-plus.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
"shapes",
"cursors",
"gaming"
],
"aliases": [
"plus-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/power-square.json → icons/circle-power.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@
],
"categories": [
"connectivity"
],
"aliases": [
"power-circle"
]
}
4 changes: 2 additions & 2 deletions icons/power-circle.svg → icons/circle-power.svg
3 changes: 3 additions & 0 deletions icons/stop-circle.json → icons/circle-stop.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"categories": [
"multimedia",
"shapes"
],
"aliases": [
"stop-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/x-circle.json → icons/circle-x.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,8 @@
"maths",
"shapes",
"development"
],
"aliases": [
"x-circle"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/download-cloud.json → icons/cloud-download.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"categories": [
"arrows",
"files"
],
"aliases": [
"download-cloud"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/upload-cloud.json → icons/cloud-upload.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"categories": [
"arrows",
"files"
],
"aliases": [
"upload-cloud"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/code-2.json → icons/code-xml.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
"categories": [
"text",
"development"
],
"aliases": [
"code-2"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/contact-2.json → icons/contact-round.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
"connectivity",
"communication",
"social"
],
"aliases": [
"contact-2"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/percent-circle.json → icons/diamond-percent.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,8 @@
"shopping",
"maths",
"shapes"
],
"aliases": [
"percent-diamond"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/ice-cream-2.json → icons/ice-cream-bowl.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
],
"categories": [
"food-beverage"
],
"aliases": [
"ice-cream-2"
]
}
2 changes: 1 addition & 1 deletion icons/ice-cream-2.svg → icons/ice-cream-bowl.svg
3 changes: 3 additions & 0 deletions icons/ice-cream.json → icons/ice-cream-cone.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
],
"categories": [
"food-beverage"
],
"aliases": [
"ice-cream"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/indent.json → icons/indent-decrease.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"categories": [
"text",
"development"
],
"aliases": [
"outdent"
]
}
File renamed without changes
3 changes: 3 additions & 0 deletions icons/outdent.json → icons/indent-increase.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@
"categories": [
"text",
"development"
],
"aliases": [
"indent"
]
}
File renamed without changes
Loading

0 comments on commit 6fbd5ee

Please sign in to comment.