Hi Elorm, thanks for the patch! Generally LGTM, one question!
@media (forced-colors: none) {Why is it necessary to introduce the `forced-colors:none` case here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
@media (forced-colors: none) {Why is it necessary to introduce the `forced-colors:none` case here?
The `@media (forced-colors: none)` wrapper ensures these styles are only applied when high contrast mode is not active. Without it, these rules would also apply in forced-colors mode and conflict with the `@media (forced-colors: active)` block at the bottom of the file
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Sorry for my late answer here, I had it as a draft but forgot to send it out!
@media (forced-colors: none) {Sylvester Elorm CochWhy is it necessary to introduce the `forced-colors:none` case here?
The `@media (forced-colors: none)` wrapper ensures these styles are only applied when high contrast mode is not active. Without it, these rules would also apply in forced-colors mode and conflict with the `@media (forced-colors: active)` block at the bottom of the file
It's the same for the whole file though (i.e. everything is applying unless it is overridden, no?). I think my question is: instead of adding the (forced-colors:none) case can we overwrite the rules in the `forced-colors` case?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
@media (forced-colors: none) {Sylvester Elorm CochWhy is it necessary to introduce the `forced-colors:none` case here?
Kim-Anh TranThe `@media (forced-colors: none)` wrapper ensures these styles are only applied when high contrast mode is not active. Without it, these rules would also apply in forced-colors mode and conflict with the `@media (forced-colors: active)` block at the bottom of the file
It's the same for the whole file though (i.e. everything is applying unless it is overridden, no?). I think my question is: instead of adding the (forced-colors:none) case can we overwrite the rules in the `forced-colors` case?
Thanks. I've updated this. The main reason was `.keybinds-list-item.keybinds-editing` in non-forced-colors mode will get repainted over the wrapper even with a more specific override.
So this newest patch structures things a bit different so we just target at the wrapper level instead.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |