Skip to content

Table cell colors #361

@amyjko

Description

@amyjko

What's the problem?

Some authors would like to use colors on table cells, rows, and columns in order to highlight things.

What's the design idea?

This is complex from a themeing perspective, if we want to keep things accessible and simple. For example, we could allow for arbitrary colors to be set on cell backgrounds, but then we'd need to allow text color to be set arbitrarily, to ensure readability. So we could define some highlight color in the theme (or reuse the one we have) and then allow cells to be highlighted. Or we could allow arbitrary colors, then compute a color from that color for the text.

The other challenge is that color information needs to be communicated some other way to screen readers.

Who benefits?

Anyone who wants to compute information through color.

Metadata

Metadata

Assignees

Labels

featureSomething new Bookish could doreadingRelated to reading books.writingRelated to book authoring.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions