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

Add contact icons from image files #42

Closed
MrGreensWorkshop opened this issue Jun 15, 2022 · 1 comment
Closed

Add contact icons from image files #42

MrGreensWorkshop opened this issue Jun 15, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@MrGreensWorkshop
Copy link
Owner

MrGreensWorkshop commented Jun 15, 2022

Is your feature request related to a problem? Please describe.

Although you want to add some icons, it's not always available in fontawesome. There is no way to add it.

Describe the solution you'd like

  • only black colored and transparent png or svg image files could be used.
  • works with adding paremeter to _data/const/contact.yml
your_new_contact:
  icon: "https://www.clker.com/cliparts/8/T/Y/I/3/E/black-spade-th.png"
  url: "https://www.example.com"

for local images

your_new_contact:
  icon: "/assets/img/default/new_icon.svg"
  url: "https://www.example.com"
  • icon path availibility for these 3
    • "/" (local)
    • "http://"
    • "https://"
default on hover
default color scheme Screen Shot 2022-06-15 at 14 12 15 Screen Shot 2022-06-15 at 14 13 02
dark color scheme Screen Shot 2022-06-15 at 14 13 10 Screen Shot 2022-06-15 at 14 13 17

Describe alternatives you've considered

upgrading fontawesome adds some new icons but you can't always find icon that you want.

Additional context

none

@MrGreensWorkshop MrGreensWorkshop added the enhancement New feature or request label Jun 15, 2022
@MrGreensWorkshop MrGreensWorkshop self-assigned this Jun 15, 2022
@MrGreensWorkshop
Copy link
Owner Author

MrGreensWorkshop commented Jun 15, 2022

done with #43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant