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

Possibility to specify the color? #27

Closed
jozilla opened this issue Jul 30, 2023 · 4 comments
Closed

Possibility to specify the color? #27

jozilla opened this issue Jul 30, 2023 · 4 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@jozilla
Copy link

jozilla commented Jul 30, 2023

Is it possible to specify the colour for the FontAwesome icon? It would also be cool if it would be possible to use the Bootstrap primary color by default or at least make that an option as well as custom colors (like "red").

@jozilla jozilla changed the title Possibility to specify the colour? Possibility to specify the color? Jul 30, 2023
@jozilla
Copy link
Author

jozilla commented Jul 30, 2023

I figured out it's possible by defining a span, but it would be great if it can be done in the shorthand code directly:

[{{< fa brands linkedin >}}]{style="color: red;"}

@cderv cderv added the enhancement New feature or request label Jul 31, 2023
@cscheid
Copy link
Contributor

cscheid commented Jul 31, 2023

it would be great if it can be done in the shorthand code directly

I don't think it's possible to do that across formats. (It would work for the predefined formats, but it wouldn't work for custom formats). The span solution makes it clear that the result will only work for HTML, so I think that's the only correct solution right now.

@cscheid cscheid added the wontfix This will not be worked on label Jul 31, 2023
@cscheid cscheid closed this as completed Jul 31, 2023
@jozilla
Copy link
Author

jozilla commented Aug 2, 2023

OK, that makes sense, thanks. The reason I asked was because this is a feature in the academicons extension.

@cscheid
Copy link
Contributor

cscheid commented Aug 11, 2023

@jozilla I see! The issue is that I believe they don't support other formats besides HTML, and we need to.

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

No branches or pull requests

3 participants