-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
Responsive custom social icon #2905
Comments
This has to be done manually, since it involves a lot of changes that I can't see how to make it automated. You can check how it was done for example when we added Tabler icons to our repository. But let me walk you through the steps.
Lines 22 to 24 in cc0cb3c
But we set it to al-folio/_sass/_variables.scss Lines 43 to 44 in cc0cb3c
|
I created my own font file instead of pulling from an external source like Fontawesome, can it be in ttf file format or does it have to be scss? Edit: Hold on actually I saw the icon I wanted to use among the Tabler icons. Would you mind guiding me through how to use those Tabler icons for social media icons? |
We currently only use Tabler icons in one place, the light/dark theme switch. We do it like this: al-folio/_includes/header.liquid Line 132 in ec7d7c3
Just use a line similar to this referrent to the icon of your choice. |
Have you checked that your feature request isn't already filed?
Description & Motivation
Currently, the custom social icon only supports png, jpg, and svg. I'm trying to use an icon not defined in Academicons or Font Awesome, and created my own ttf/woff file. It would be nice to support custom icons responsive to light/dark theme and hover effects like the existing icons, given the user's own ttf/woff file.
Pitch
No response
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: