Skip to content

Commit

Permalink
Added verified category
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaydek Michels-Gualtieri committed Apr 4, 2020
1 parent c50d17e commit 229071b
Showing 1 changed file with 64 additions and 40 deletions.
104 changes: 64 additions & 40 deletions src/App/helpers/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,30 +74,31 @@ const categories = {
["west", "east", "north", "south"],
],
emotions: [
"emoji",
"emotions",
["negative", "positive"],
["sad", "happy"],
"happy",
"negative",
"positive",
"sad",
],

// FIXME
formatting: [
["format", "formatting"],

"wysiwyg",
["column", "row"],
["horizontal", "vertical"],
// DEPRECATE
["italic", "bold"],
["justify", "align"],
"align",
"column",
"format",
"formatting",
"justify",
"row",
],

// TODO: Add a space category -- globe, globe-alt,
// sparkles, etc.
darkMode: [
"dark mode",
"day",
"light mode",
"moon",
"night",
"sky",
"start",
"sun",
],
photography: [
Expand Down Expand Up @@ -206,7 +207,7 @@ const categories = {
shopping: [
"buy",
"cart",
"checkout",
// "checkout",
"price tag",
"shopping cart",
],
Expand All @@ -226,26 +227,29 @@ const categories = {
"currency",
"exchange rate",
"money",
]
],
"password": [
"password",
],
world: [
"earth",
"globe",
"planet",
"world",
],
verified: [
"check",
"verified",
"verify",
],
}

// TODO:
//
// registerIcon({
// name: "...",
// tags: "...",
// })

// "file",

// "bill",
// "cent"
// "coin",
// "credit",
// "currency",
// "debit",
// "dollar",
// "exchange rate",
// "money",

const originalIcons = [
{
name: "adjustments",
Expand Down Expand Up @@ -434,6 +438,7 @@ const originalIcons = [
name: "badge-check",
tags: createTags(
...categories.new,
...categories.verified,
"badge-check",
"badge",
"check",
Expand Down Expand Up @@ -578,6 +583,7 @@ const originalIcons = [
{
name: "check-circle",
tags: createTags(
...categories.verified,
"check-circle",
"check",
"circle",
Expand All @@ -587,7 +593,10 @@ const originalIcons = [
},
{
name: "check",
tags: createTags("check"),
tags: createTags(
...categories.verified,
"check",
),
solid: Hero.CheckSolidSm,
outline: Hero.CheckOutlineMd,
},
Expand Down Expand Up @@ -679,7 +688,11 @@ const originalIcons = [
},
{
name: "clock",
tags: createTags("clock"),
tags: createTags(
"clock",

"time",
),
solid: Hero.ClockSolidSm,
outline: Hero.ClockOutlineMd,
},
Expand Down Expand Up @@ -935,8 +948,6 @@ const originalIcons = [
"emoji-happy",
"emoji",
"happy",

"feedback",
),
solid: Hero.EmojiHappySolidSm,
outline: Hero.EmojiHappyOutlineMd,
Expand All @@ -949,8 +960,6 @@ const originalIcons = [
"emoji-sad",
"emoji",
"sad",

"feedback",
),
solid: Hero.EmojiSadSolidSm,
outline: Hero.EmojiSadOutlineMd,
Expand Down Expand Up @@ -985,7 +994,12 @@ const originalIcons = [
},
{
name: "eye",
tags: createTags("eye"),
tags: createTags(
...categories.password,
"eye",

"reveal",
),
solid: Hero.EyeSolidSm,
outline: Hero.EyeOutlineMd,
},
Expand Down Expand Up @@ -1013,6 +1027,7 @@ const originalIcons = [
{
name: "globe-alt",
tags: createTags(
...categories.world,
"globe-alt",
"globe",
"alt",
Expand All @@ -1022,7 +1037,10 @@ const originalIcons = [
},
{
name: "globe",
tags: createTags("globe"),
tags: createTags(
...categories.world,
"globe",
),
solid: Hero.GlobeSolidSm,
outline: Hero.GlobeOutlineMd,
},
Expand Down Expand Up @@ -1126,19 +1144,25 @@ const originalIcons = [
{
name: "lock-closed",
tags: createTags(
...categories.password,
"lock-closed",
"lock",
"closed",

"secure",
),
solid: Hero.LockClosedSolidSm,
outline: Hero.LockClosedOutlineMd,
},
{
name: "lock-open",
tags: createTags(
...categories.password,
"lock-open",
"lock",
"open",

"secure",
),
solid: Hero.LockOpenSolidSm,
outline: Hero.LockOpenOutlineMd,
Expand All @@ -1148,6 +1172,8 @@ const originalIcons = [
tags: createTags(
...categories.new,
"logout",

"sign out",
),
solid: Hero.LogoutSolidSm,
outline: Hero.LogoutOutlineMd,
Expand Down Expand Up @@ -1453,14 +1479,13 @@ const originalIcons = [
{
name: "shield-check",
tags: createTags(
...categories.verified,
"shield-check",
"shield",
"check",

"authority",
"badge",
"protect",
"protection",
"secure",
"security",
),
Expand All @@ -1476,8 +1501,6 @@ const originalIcons = [

"authority",
"badge",
"protect",
"protection",
"secure",
"security",
),
Expand Down Expand Up @@ -1606,6 +1629,7 @@ const originalIcons = [
{
name: "translate",
tags: createTags(
...categories.world,
"translate",

"alphabet",
Expand Down

0 comments on commit 229071b

Please sign in to comment.