Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions devicon.json
Original file line number Diff line number Diff line change
Expand Up @@ -3146,6 +3146,36 @@
"color": "#008cba",
"aliases": []
},
{
"name": "framermotion",
"altnames": [
"framer-motion",
"framer"
],
"tags": [
"library",
"open-source",
"react",
"animation"
],
"versions": {
"svg": [
"original",
"original-wordmark"
],
"font": [
"original",
"original-wordmark"
]
},
"color": "#000",
"aliases": [
{
"base": "original",
"alias": "original-wordmark"
}
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea behind aliases works like:

  • By default an icon is an original version.
  • Here is a flowchart about the possible bases and aliases:
flowchart LR;
original --> original-wordmark --> plain-wordmark
original-wordmark --> line-wordmark
original --> plain
original --> line
Loading
  • Remember that the base is always an existent icon.
  • In this case we have original and original-wordmark, both working as plain icons, solid colors and one path. Therefore, we can from the base: original make an alias: plain, same goes to base: original-wordmark to alias: plain-wordmark.
  • Here is an example of complex aliases: new icon: p5js (original) #1465
Suggested change
"aliases": [
{
"base": "original",
"alias": "original-wordmark"
}
]
"aliases": [
{
"base": "original",
"alias": "plain"
},
{
"base": "original-wordmark",
"alias": "plain-wordmark"
}
]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice chart! 🚀 We should probably save that in the Wiki.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you soo much for explaining. ♥

},
{
"name": "fsharp",
"altnames": [
Expand Down
1 change: 1 addition & 0 deletions icons/framermotion/framermotion-original-wordmark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/framermotion/framermotion-original.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.