-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Icon coloring for links #571
Labels
enhancement
New feature or request
Comments
To solve this issue for myself, I added the following CSS snippet: .iconize-icon-in-link {
color: var(--link-color);
} However, this feels like something that should be solved in the plugin, so I'll leave this issue open. 🙂 |
@ShaneNZ Maybe the icons could default to the link color unless a custom color is set, in which case they'd use that instead? |
I think that's a perfect solution!
…On Fri, 18 Oct 2024, 7:17 am Landon Schropp, ***@***.***> wrote:
@ShaneNZ <https://github.com/ShaneNZ> Maybe the icons could default to
the link color unless a custom color is set, in which case they'd use that
instead?
—
Reply to this email directly, view it on GitHub
<#571 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATIKVVYA7YOPRGZ5NTTGWLZ375KNAVCNFSM6AAAAABPCABOE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGIZDOOBSHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When an icon is included as part of a link to another page, it doesn't share the color of the link in edit mode.
Here's an example of what the icon looks like in the file tree:
And here's an example of the icon within the link:
And how it renders when the cursor isn't inside the link:
The icon color is also off for icons pasted directly into links:
To Reproduce
Steps to reproduce the behavior:
LiPizza
[[Pizza]]
Another way to reproduce this is to add an icon explicitly in a link.
[:LiPizza: Pizza](http://example.com)
Expected behavior
In my opinion, the icon should be inside the anchor. I'd expect it to match the link's color.
Additional context
Thanks for the great plugin!
The text was updated successfully, but these errors were encountered: