I've many tables in InDesign. The table cells are shaded alternating. There is a border in darker color.
Is it possible to set a base color for a whole table once and color the cells and borders based on this color automatically? Or do I have to create a cell style / table style for each used color individually?
Can you confirm the version of your software and operating system?
A screenshot would help understand your query better.
If you use alternating colouring of the cells, a base colour would not make sense, but you could adjust the alternating colours.
I find that adding colours to the Table style, then cell styles... sometimes does not return the result I was expecting.
I use InDesign 16,1 x64 on Windows 10.
Something like this with different shades/transparencies of the base color:
I would set this table up using nested styles:
Once set up, you can format the entire table with a single click.
Wow. Works fine for one table. But to color each table in another color, I do need to create n cell styles (one for each color) and therefore n table styles (one for each header style), don't I?
Is it possible to set a base color for a whole table once and color the cells and borders based on this color automatically?
My apologies, I missed that part of the question. To clarify, InDesign does not allow you to set a base color for a table.
You would need a swatch for each table color, a separate cell style for each table header (I don't see the body cells as needing anything different), and a separate table style for each color to nest the individual header cell styles and to control the alternating color.
As a note, scripting and plug-ins can solve all sorts of dilemnas that InDesign can't handle natively. I'll add a scripting tag to your post to see if that helps.
Thanks. Thats much more than I excpected 🙂
Even the cell styles are a big help