function cssBanner
cssBanner(options: CssBannerOptions)

A Lume plugin that prepends a CSS comment banner to all .css files.

This is useful for adding copyright information, build details, or other metadata to the top of your generated CSS files.

Examples

// In your Lume _config.ts: import lume from "lume/mod.ts"; import { cssBanner, shuffle } from "hibana/mod.ts";

const site = lume();

site.use(cssBanner({ message: "===css jokes are always in style===", }));

export default site;

Parameters

options: CssBannerOptions

Configuration options for the CSS banner, including the message.

Return Type