kapom-report - v0.1.2
    Preparing search index...

    Interface Theme

    A ready-made colour scheme for a report. A theme drives the fills of every table surface (header, group band, subtotal/summary foot, grand total, nested master-detail, zebra) plus the text colour that sits on each fill. Everything else (per-node style.header/style.footer/ style.zebra, TextStyle.color, box/divider colours) still overrides the theme — precedence is always per-node override > theme > built-in default.

    Only primary + bandFill are required; the rest derive:

    • onPrimary/onBand default to black or white by luminance (readable on the fill).
    • zebraFill omitted = no zebra (the default look). Keep primary dark and bandFill light so the auto-picked text stays readable.
    interface Theme {
        bandFill: RGB;
        onBand?: RGB;
        onPrimary?: RGB;
        primary: RGB;
        zebraFill?: RGB;
    }
    Index
    bandFill: RGB

    light tint — group band, column-group super-header sits on the header fill, nested tints

    onBand?: RGB

    text on bandFill — omit to auto-pick

    onPrimary?: RGB

    text on primary — omit to auto-pick black/white by luminance

    primary: RGB

    strong brand fill — column header, subtotal/summary foot, grand total

    zebraFill?: RGB

    alternating body-row fill — omit = no zebra