verstak
Version:
Verstak - Front-End Library
35 lines (34 loc) • 1.43 kB
TypeScript
import { BasicAbstractTheme } from "./theme/Styling.js";
import { ButtonStyling, DefaultButtonStyling } from "./theme/Button.s.js";
import { InputStyling, DefaultInputStyling } from "./theme/Input.s.js";
import { IconStyling, DefaultIconStyling } from "./theme/Icon.s.js";
import { ToggleStyling, DefaultToggleStyling } from "./theme/Toggle.s.js";
export { type ButtonStyling, type DefaultButtonStyling } from "./theme/Button.s.js";
export { type InputStyling, type DefaultInputStyling } from "./theme/Input.s.js";
export { type IconStyling, type DefaultIconStyling } from "./theme/Icon.s.js";
export { type ToggleStyling, type DefaultToggleStyling } from "./theme/Toggle.s.js";
export type AbstractTheme = BasicAbstractTheme & {
readonly button: ButtonStyling;
readonly input: InputStyling;
readonly icon: IconStyling;
readonly toggle: ToggleStyling;
};
export declare class Theme implements AbstractTheme {
private static readonly gCurrent;
static get current(): AbstractTheme;
static set current(value: AbstractTheme);
name: string;
fillColor: string;
textColor: string;
positiveColor: string;
negativeColor: string;
borderRadius: string;
outlineWidth: string;
outlineColor: string;
outlinePadding: string;
shadow: string;
button: DefaultButtonStyling;
input: DefaultInputStyling;
icon: DefaultIconStyling;
toggle: DefaultToggleStyling;
}