chore(icons): update icon names to match naming guidelines no. 7 to 9 (#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 <karsa@sztaki.hu>
This commit is contained in:
Karsa
2024-03-08 16:55:46 +01:00
committed by GitHub
parent d8773827fb
commit 6fbd5ee06a
221 changed files with 513 additions and 726 deletions

15
.cspell/custom-words.txt Normal file
View File

@@ -0,0 +1,15 @@
# Custom words
fullscreen
gamepad
gantt
kanban
pilcrow
squircle
strikethrough
touchpad
ungroup
# Brands
codepen
codesandbox
dribbble

View File

@@ -1,5 +1,5 @@
{
"$schema": "../category.schema.json",
"title": "Coding & development",
"icon": "code-2"
"icon": "code-xml"
}

View File

@@ -1,5 +1,5 @@
{
"$schema": "../category.schema.json",
"title": "Multimedia",
"icon": "play-circle"
"icon": "circle-play"
}

View File

@@ -1,5 +1,5 @@
{
"$schema": "../category.schema.json",
"title": "Notifications",
"icon": "alert-triangle"
"icon": "triangle-alert"
}

10
cspell.json Normal file
View File

@@ -0,0 +1,10 @@
{
"dictionaries": ["en-us", "custom-words"],
"dictionaryDefinitions": [
{
"name": "custom-words",
"path": "./.cspell/custom-words.txt",
"addWords": true
}
]
}

View File

@@ -13,5 +13,8 @@
"categories": [
"notifications",
"shapes"
],
"aliases": [
"alert-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 332 B

After

Width:  |  Height:  |  Size: 332 B

View File

@@ -17,5 +17,8 @@
"navigation",
"shapes",
"gaming"
],
"aliases": [
"arrow-down-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 296 B

View File

@@ -19,5 +19,8 @@
"navigation",
"shapes",
"gaming"
],
"aliases": [
"arrow-left-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 297 B

After

Width:  |  Height:  |  Size: 297 B

View File

@@ -13,5 +13,8 @@
"arrows",
"navigation",
"maps"
],
"aliases": [
"arrow-down-left-from-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 300 B

After

Width:  |  Height:  |  Size: 300 B

View File

@@ -13,5 +13,8 @@
"arrows",
"navigation",
"maps"
],
"aliases": [
"arrow-down-right-from-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 303 B

After

Width:  |  Height:  |  Size: 303 B

View File

@@ -17,5 +17,8 @@
"navigation",
"maps",
"development"
],
"aliases": [
"arrow-up-left-from-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 296 B

View File

@@ -13,5 +13,8 @@
"arrows",
"navigation",
"maps"
],
"aliases": [
"arrow-up-right-from-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 299 B

View File

@@ -19,5 +19,8 @@
"navigation",
"shapes",
"gaming"
],
"aliases": [
"arrow-right-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 297 B

After

Width:  |  Height:  |  Size: 297 B

View File

@@ -16,5 +16,8 @@
"navigation",
"shapes",
"gaming"
],
"aliases": [
"arrow-up-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 298 B

After

Width:  |  Height:  |  Size: 298 B

View File

@@ -15,5 +15,8 @@
"categories": [
"notifications",
"shapes"
],
"aliases": [
"check-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 288 B

View File

@@ -14,5 +14,8 @@
"categories": [
"notifications",
"shapes"
],
"aliases": [
"check-circle-2"
]
}

View File

Before

Width:  |  Height:  |  Size: 273 B

After

Width:  |  Height:  |  Size: 273 B

View File

@@ -12,5 +12,8 @@
"arrows",
"navigation",
"shapes"
],
"aliases": [
"chevron-down-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 274 B

View File

@@ -15,5 +15,8 @@
"arrows",
"navigation",
"shapes"
],
"aliases": [
"chevron-left-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 274 B

View File

@@ -14,5 +14,8 @@
"arrows",
"navigation",
"shapes"
],
"aliases": [
"chevron-right-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 273 B

After

Width:  |  Height:  |  Size: 273 B

View File

@@ -13,5 +13,8 @@
"arrows",
"navigation",
"shapes"
],
"aliases": [
"chevron-up-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 273 B

After

Width:  |  Height:  |  Size: 273 B

View File

@@ -13,5 +13,8 @@
"categories": [
"maths",
"shapes"
],
"aliases": [
"divide-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 370 B

After

Width:  |  Height:  |  Size: 370 B

View File

@@ -17,5 +17,8 @@
"transportation",
"sports",
"science"
],
"aliases": [
"gauge-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 319 B

After

Width:  |  Height:  |  Size: 319 B

View File

@@ -15,5 +15,8 @@
"text",
"shapes",
"notifications"
],
"aliases": [
"help-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 322 B

After

Width:  |  Height:  |  Size: 322 B

View File

@@ -21,5 +21,8 @@
"categories": [
"maths",
"shapes"
],
"aliases": [
"minus-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 267 B

View File

@@ -13,5 +13,8 @@
"categories": [
"transportation",
"maps"
],
"aliases": [
"parking-circle-off"
]
}

View File

Before

Width:  |  Height:  |  Size: 337 B

After

Width:  |  Height:  |  Size: 337 B

View File

@@ -11,5 +11,8 @@
"categories": [
"transportation",
"maps"
],
"aliases": [
"parking-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 285 B

After

Width:  |  Height:  |  Size: 285 B

View File

@@ -12,5 +12,8 @@
"categories": [
"multimedia",
"shapes"
],
"aliases": [
"pause-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 328 B

View File

@@ -20,5 +20,8 @@
"shopping",
"maths",
"shapes"
],
"aliases": [
"percent-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 319 B

After

Width:  |  Height:  |  Size: 319 B

View File

@@ -11,5 +11,8 @@
"categories": [
"shapes",
"multimedia"
],
"aliases": [
"play-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 289 B

After

Width:  |  Height:  |  Size: 289 B

View File

@@ -33,5 +33,8 @@
"shapes",
"cursors",
"gaming"
],
"aliases": [
"plus-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 290 B

After

Width:  |  Height:  |  Size: 290 B

View File

@@ -19,5 +19,8 @@
],
"categories": [
"connectivity"
],
"aliases": [
"power-circle"
]
}

View File

@@ -10,6 +10,6 @@
stroke-linejoin="round"
>
<circle cx="12" cy="12" r="10" />
<path d="M12 12V6" />
<path d="M8 7.5A6.1 6.1 0 0 0 12 18a6 6 0 0 0 4-10.5" />
<path d="M12 12V7" />
<path d="M16 9a5 5 0 1 1-8 0" />
</svg>

Before

Width:  |  Height:  |  Size: 327 B

After

Width:  |  Height:  |  Size: 303 B

View File

@@ -11,5 +11,8 @@
"categories": [
"multimedia",
"shapes"
],
"aliases": [
"stop-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 288 B

View File

@@ -24,5 +24,8 @@
"maths",
"shapes",
"development"
],
"aliases": [
"x-circle"
]
}

View File

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 293 B

View File

@@ -12,5 +12,8 @@
"categories": [
"arrows",
"files"
],
"aliases": [
"download-cloud"
]
}

View File

Before

Width:  |  Height:  |  Size: 333 B

After

Width:  |  Height:  |  Size: 333 B

View File

@@ -12,5 +12,8 @@
"categories": [
"arrows",
"files"
],
"aliases": [
"upload-cloud"
]
}

View File

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 334 B

View File

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

View File

Before

Width:  |  Height:  |  Size: 294 B

After

Width:  |  Height:  |  Size: 294 B

View File

@@ -17,5 +17,8 @@
"connectivity",
"communication",
"social"
],
"aliases": [
"contact-2"
]
}

View File

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 412 B

View File

@@ -20,5 +20,8 @@
"shopping",
"maths",
"shapes"
],
"aliases": [
"percent-diamond"
]
}

View File

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 443 B

View File

@@ -17,5 +17,8 @@
],
"categories": [
"food-beverage"
],
"aliases": [
"ice-cream-2"
]
}

View File

@@ -9,7 +9,7 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6Zm-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0" />
<path d="M12 17c5 0 8-2.69 8-6H4c0 3.31 3 6 8 6m-4 4h8m-4-3v3M5.14 11a3.5 3.5 0 1 1 6.71 0" />
<path d="M12.14 11a3.5 3.5 0 1 1 6.71 0" />
<path d="M15.5 6.5a3.5 3.5 0 1 0-7 0" />
</svg>

Before

Width:  |  Height:  |  Size: 395 B

After

Width:  |  Height:  |  Size: 394 B

View File

@@ -9,5 +9,8 @@
],
"categories": [
"food-beverage"
],
"aliases": [
"ice-cream"
]
}

View File

Before

Width:  |  Height:  |  Size: 349 B

After

Width:  |  Height:  |  Size: 349 B

View File

@@ -11,5 +11,8 @@
"categories": [
"text",
"development"
],
"aliases": [
"outdent"
]
}

View File

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 373 B

View File

@@ -11,5 +11,8 @@
"categories": [
"text",
"development"
],
"aliases": [
"indent"
]
}

View File

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 373 B

View File

@@ -17,5 +17,5 @@
<path d="M6 8h.01" />
<path d="M7 16h10" />
<path d="M8 12h.01" />
<rect x="2" y="4" width="20" height="16" rx="2" />
<rect width="20" height="16" x="2" y="4" rx="2" />
</svg>

Before

Width:  |  Height:  |  Size: 461 B

After

Width:  |  Height:  |  Size: 461 B

View File

@@ -10,5 +10,8 @@
],
"categories": [
"devices"
],
"aliases": [
"laptop-2"
]
}

View File

Before

Width:  |  Height:  |  Size: 310 B

After

Width:  |  Height:  |  Size: 310 B

View File

@@ -12,5 +12,8 @@
"categories": [
"multimedia",
"layout"
],
"aliases": [
"loader-2"
]
}

View File

Before

Width:  |  Height:  |  Size: 251 B

After

Width:  |  Height:  |  Size: 251 B

View File

@@ -13,5 +13,8 @@
],
"categories": [
"security"
],
"aliases": [
"unlock-keyhole"
]
}

View File

@@ -10,6 +10,6 @@
stroke-linejoin="round"
>
<circle cx="12" cy="16" r="1" />
<rect x="3" y="10" width="18" height="12" rx="2" />
<rect width="18" height="12" x="3" y="10" rx="2" />
<path d="M7 10V7a5 5 0 0 1 9.33-2.5" />
</svg>

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 339 B

View File

@@ -10,5 +10,8 @@
],
"categories": [
"security"
],
"aliases": [
"unlock"
]
}

View File

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 308 B

View File

@@ -9,6 +9,6 @@
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v5Z" />
<path d="M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2z" />
<path d="M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1" />
</svg>

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 348 B

View File

@@ -20,5 +20,8 @@
"categories": [
"devices",
"multimedia"
],
"aliases": [
"mic-2"
]
}

View File

Before

Width:  |  Height:  |  Size: 305 B

After

Width:  |  Height:  |  Size: 305 B

View File

@@ -13,5 +13,8 @@
"categories": [
"notifications",
"shapes"
],
"aliases": [
"alert-octagon"
]
}

View File

Before

Width:  |  Height:  |  Size: 390 B

After

Width:  |  Height:  |  Size: 390 B

View File

@@ -11,5 +11,8 @@
"categories": [
"multimedia",
"shapes"
],
"aliases": [
"pause-octagon"
]
}

View File

@@ -11,5 +11,5 @@
>
<path d="M10 15V9" />
<path d="M14 15V9" />
<path d="M7.714 2h8.572L22 7.714v8.572L16.286 22H7.714L2 16.286V7.714L7.714 2z" />
<path d="M7.714 2h8.572L22 7.714v8.572L16.286 22H7.714L2 16.286V7.714z" />
</svg>

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 333 B

View File

@@ -17,5 +17,8 @@
"maths",
"shapes",
"notifications"
],
"aliases": [
"x-octagon"
]
}

View File

Before

Width:  |  Height:  |  Size: 351 B

After

Width:  |  Height:  |  Size: 351 B

View File

@@ -11,5 +11,8 @@
],
"categories": [
"account"
],
"aliases": [
"sliders"
]
}

View File

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 583 B

View File

@@ -39,5 +39,8 @@
"science",
"multimedia",
"shapes"
],
"aliases": [
"activity-square"
]
}

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