theme-vir
Version:
Create an entire web theme.
20 lines (19 loc) • 821 B
TypeScript
import { type PartialWithUndefined } from '@augment-vir/common';
import { type BookPage } from 'element-book';
import { type BuildLowLevelColorThemeOptions, type ColorPaletteVars } from './build-color-theme.js';
/**
* Create multiple element-book pages to showcase a bunch of color CSS variables.
*
* @category Color Theme
* @see `createColorThemeBookPages` for creating full color theme pages.
*/
export declare function createColorPaletteBookPages({ colors, parent, title, includeContrast, includeTheme, useVerticalTheme, options, }: {
title: string;
colors: Readonly<ColorPaletteVars>;
} & PartialWithUndefined<{
parent: Readonly<BookPage>;
includeContrast: boolean;
includeTheme: boolean;
useVerticalTheme: boolean;
options: Readonly<BuildLowLevelColorThemeOptions>;
}>): BookPage[];