UNPKG

xframelib

Version:

积累的前端开发基础库,来源于项目和服务于项目。

111 lines (110 loc) 2.19 kB
export type Style = Partial<CSSStyleDeclaration>; export interface WindowStyle { window: Style; titlebar: Style; content: Style; button: Style; buttonHover: Style; buttonActive: Style; } export declare enum EnumWindowStyle { StyleBlack = 0, StyleWhite = 1, StyleMetal = 2, StyleGrayblue = 3 } export declare const StyleBlack: { window: { color: string; boxShadow: string; backgroundColor: string; }; titlebar: { backgroundColor: string; }; content: {}; button: { color: string; }; buttonHover: { backgroundColor: string; }; buttonActive: { color: string; backgroundColor: string; }; }; export declare const StyleWhite: { window: { color: string; boxShadow: string; backgroundColor: string; }; titlebar: { backgroundColor: string; }; content: {}; button: { color: string; }; buttonHover: { backgroundColor: string; }; buttonActive: { color: string; backgroundColor: string; }; }; export declare const StyleMetal: { window: { color: string; boxShadow: string; background: string; }; titlebar: { background: string; }; content: {}; button: { color: string; }; buttonHover: { backgroundColor: string; }; buttonActive: { color: string; backgroundColor: string; }; }; /** * 地球的窗体样式-浅灰蓝色 */ export declare const StyleGrayblue: { window: { color: string; fontSize: string; boxShadow: string; backgroundColor: string; borderRadius: string; }; titlebar: { backgroundColor: string; border: string; borderRadius: string; fontSize: string; fontWeight: number; color: string; }; content: {}; button: { color: string; fontSize: string; }; buttonHover: { backgroundColor: string; }; buttonActive: { color: string; backgroundColor: string; }; };