8000 Inherit text color from icon color · Issue #19 · gfxholo/iconic · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Inherit text color from icon color #19

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

Open
hmnijp opened this issue Jul 13, 2024 · 3 comments
Open

Inherit text color from icon color #19

hmnijp opened this issue Jul 13, 2024 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@hmnijp < 8000 /div>
Copy link
hmnijp commented Jul 13, 2024

Many people like me use themes or css that colour the folder names (like rainbow folders in anuppucin theme github ). Previously I used iconize and there the colour of the icon inherited the colour of the text. Is it possible to add the same option?

Usually it works like this... but it can also change dynamically.

.nav-folder .nav-folder-title[data-path*="_TODO"] {
  --prefix-color: var(--mint);
}

2024-07-13 13-54-25

If you get lazy doing this, thanks anyway for a handy and quick alternative to iconize ! )

@gfxholo
Copy link
Owner
gfxholo commented Jul 13, 2024

Heck, I am lazy! I can spend hours of my own energy if it makes a 5 second chore easier

Yeah this is totally possible. It's a planned feature along with colored backgrounds for list items. It'll probably be a setting you can choose for the entire vault at once.

@gfxholo gfxholo added the enhancement New feature or request label Jul 13, 2024
@gfxholo gfxholo added this to the 1.3.0 milestone Jul 13, 2024
@hmnijp
Copy link
Author
hmnijp commented Jul 13, 2024

oh yeea, the reverse (inheriting the text colour from the colour of the selected icon) was also in demand! )
Because then you could throw out the css snippet with the definition of these colours, and give this task to a plugin)

@gfxholo
Copy link
Owner
gfxholo commented Aug 6, 2024

Yeee, for a plugin like this it makes more sense to focus on icons first and just change the text accordingly. I might redesign the icon picker to show a text preview once we cross that bridge.

I'm pulling this feature closer for 1.2.0 :]

@gfxholo gfxholo modified the milestones: 1.3.0, 1.2.0 Aug 6, 2024
@gfxholo gfxholo changed the title text color inheritance Inherit text color from icon color Aug 6, 2024
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

2 participants
0