nice-ui
Version:
React design system, components, and utilities
16 lines (15 loc) • 507 B
TypeScript
import { StyleTheme } from './types';
import { Colors } from './color/Colors';
import { Fonts } from './font/Fonts';
export declare class Styles {
readonly theme: StyleTheme;
static readonly make: (theme?: StyleTheme, dark?: boolean) => Styles;
/**
* Whether it is the "light" theme (or "dark" theme).
*/
readonly light?: boolean;
readonly col: Colors;
readonly txt: Fonts;
constructor(theme: StyleTheme);
readonly g: (shade: number, opacity?: number) => string;
}