Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use font awesome names for icons #9

Merged
merged 3 commits into from
Sep 20, 2023

Conversation

SjaakSchilperoort
Copy link
Member

No description provided.

@SjaakSchilperoort
Copy link
Member Author

Een saai maar secuur klusje, prima geschikt om de tijd te doden tijdens een lange vlucht ✈️

| 'add'
| 'add-user'
| 'advance'
| 'badge-check' // achievement
Copy link
Member Author

Choose a reason for hiding this comment

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

Ik heb de oorspronkelijke namen nog even laten staan als comment. Dat is wel handig als we ObsIdentify ook doen. Kan daarna weg.

Copy link
Collaborator

@jonathan-waarneming-nl jonathan-waarneming-nl left a comment

Choose a reason for hiding this comment

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

👍
Zal ik deze ook aanpassen en mergen?

src/lib/Icons.ts Outdated
'chevron-circle-right': { light: faChevronCircleRightLight, solid: faChevronCircleRightSolid },
camera: { light: faCameraLight, solid: faCameraSolid },
'play-circle': { light: faPlayCircleLight, solid: faPlayCircleSolid },
'chevron-circle-left': { light: faChevronCircleLeftLight, solid: faChevronCircleLeftSolid },
'qr-code': { light: faQrcodeLight, solid: faQrcodeSolid },
Copy link
Collaborator

Choose a reason for hiding this comment

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

Dit zou eigenlijk 'qrcode' moeten zijn

@SjaakSchilperoort
Copy link
Member Author

👍 Zal ik deze ook aanpassen en mergen?

Ja, lijkt me een goed idee.

@@ -146,7 +146,8 @@ import { faUserSlash as faUserSlashSolid } from '@fortawesome/pro-solid-svg-icon
import { faUsersSlash as faUsersSlashSolid } from '@fortawesome/pro-solid-svg-icons/faUsersSlash'
import { faVenus as faVenusSolid } from '@fortawesome/pro-solid-svg-icons/faVenus'

type IconName =
type IconName = Extract<
FontawesomeIconName,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ik heb de namen nog een extra constraint gegeven, waardoor we zeker zijn dat we dezelfde namen als fontawesome gebruiken. (hierdoor kwam ik er ook achter dat qr-code verkeerd geschreven was)

@jonathan-waarneming-nl jonathan-waarneming-nl merged commit b8fb2c8 into develop Sep 20, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants