-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(cxl-lumo-styles): style all links #417
Conversation
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this not destroy state colors, like :visited?
I did a grep for a :visited beforehand. Unless styles are outside aybolit, this was my best guess. |
I cannot be told to fix |
Certainly, but CU task title seems to talk about only MD hero dark background? This rule would override everything everywhere, or am I missing something? Regardless, ultimate boss to slay here I think is to figure out how to use Vaadin contrast tokens to have a single rule do the right thing automatically both on light and dark backgrounds. @conversionxl/web feel free to correct me if I'm wrong? |
f4affbe
to
6a2eb1c
Compare
When digging into the issue, the closest shadow root is You're right, color could be a concern depending on the background color. I thought CXL red would look good, on white or black backgrounds, and text underline wouldn't be needed. Should I put the fire out, and only fix this issue, or try to solve These days I feel I'll be shot either way. |
Global style is lumo, right? Does it need changing or another override with the same styles but in
This component has no "dark" theme indicator, so general light/dark-aware styles would not work anyway.
Well, it depends. How other components solve it? Are In general task is to fix an issue in this place. So put out a fire. But you can suggest better solution. If proposed solution is quick, doesn't destroy other components and no time-consuming refactoring is needed - let's go for it. If "fixing a link color" gonna take us hours just fix this one specific item and that's it. |
6a2eb1c
to
ede8683
Compare
Updated to only target |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Color is fine, now we need underline on hover
ede8683
to
403bc1f
Compare
https://app.clickup.com/t/86b0kry6y