/** * The night band: an inverse surface for sections and the closing CTA. * * Inside `[data-surface="inverse"]` the colour tokens are redeclared with the * theme's own dark values, so every block nested in the band (cards, code, * charts) recolours from tokens exactly as it does in dark mode. The values are * the validated theme colours themselves, written as literals: aliasing the * root variables would be cyclic, because the band redeclares those variables. * * The derived variables that `:root` computes once (`--ak-tint`, `--ak-ring`, * `--ak-fill`) are recomputed here too, since an inherited custom property * carries the root's light result, not its formula. * * This sheet is emitted only on pages that use the band, and it names no * feature marker (see `verify.ts`). */ import type { ResolvedTheme } from '../theme/load-theme.js'; /** True when any node on the page sits on the night band. */ export declare function usesInverseSurface(nodes: readonly { type: string; props: Record; }[]): boolean; export declare function inverseSurfaceCss(theme: ResolvedTheme): string; //# sourceMappingURL=surface-styles.d.ts.map