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

Consider adding a way to color table cells #90

Open
shaunix opened this issue Mar 9, 2021 · 0 comments
Open

Consider adding a way to color table cells #90

shaunix opened this issue Mar 9, 2021 · 0 comments
Labels
Milestone

Comments

@shaunix
Copy link
Contributor

shaunix commented Mar 9, 2021

It's often useful to use background colors on table cells to help information stand out. For example, a feature comparison table can use a green background on "yes" cells. I don't want to go down the route of having authors specify exact color values, but yelp has a collection of named colors it could easily use (http://yelp.io/xsl/color).

This could be done with an attribute, or it could be done with style hints. For example:

<td style="green">yes</td>

Even if we do style hints, where tools are free to ignore them, there's precedent for having recommended hints in the spec. I'm leaning toward having some recommendation around this in the spec, because I think it's very generally useful.

@shaunix shaunix added this to the 1.2 milestone Mar 9, 2021
@shaunix shaunix modified the milestones: 1.2, 1.x Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant