@amaui/style
Version:
CSS in JS styling solution
236 lines (235 loc) • 5.6 kB
TypeScript
import { TValue, IMethodResponse, IOptionsAmauiStyle, IOptionsAmauiTheme, TMode } from './interfaces';
export interface IOptions {
element?: Element;
name?: string;
mode?: TMode;
amaui_style?: IOptionsAmauiStyle;
amaui_theme?: IOptionsAmauiTheme;
override?: boolean;
}
export declare const FONT_FAMILY: {
primary: string;
secondary: string;
mono: string;
};
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
export declare const normalize: {
html: {
lineHeight: string;
'-webkit-text-size-adjust': string;
};
main: {
display: string;
};
h1: {
fontSize: string;
};
hr: {
boxSizing: string;
height: string;
overflow: string;
};
pre: {
fontFamily: string;
fontSize: string;
};
a: {
backgroundColor: string;
};
'abbr[title]': {
borderBottom: string;
textDecoration: {
value: string;
fallbacks: string[];
};
};
'b, strong': {
fontWeight: string;
};
'code, kbd, samp': {
fontFamily: string;
fontSize: string;
};
small: {
fontSize: string;
};
'sub, sup': {
fontSize: string;
lineHeight: string;
position: string;
verticalAlign: string;
};
sub: {
bottom: string;
};
sup: {
top: string;
};
img: {
borderStyle: string;
};
'button, input, optgroup, select, textarea': {
fontFamily: string;
fontSize: string;
lineHeight: string;
margin: string;
};
'button, input': {
overflow: string;
};
'button, select': {
textTransform: string;
};
'button, [type="button"], [type="reset"], [type="submit"]': {
'-webkit-appearance': string;
};
'button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner': {
borderStyle: string;
padding: string;
};
'button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring': {
outline: string;
};
fieldset: {
padding: string;
};
legend: {
boxSizing: string;
color: string;
display: string;
maxWidth: string;
padding: string;
whiteSpace: string;
};
progress: {
verticalAlign: string;
};
textarea: {
overflow: string;
};
'[type="checkbox"], [type="radio"]': {
boxSizing: string;
padding: string;
};
'[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button': {
height: string;
};
'[type="search"]': {
'-webkit-appearance': string;
outlineOffset: string;
};
'[type="search"]::-webkit-search-decoration': {
'-webkit-appearance': string;
};
'::-webkit-file-upload-button': {
'-webkit-appearance': string;
font: string;
};
details: {
display: string;
};
summary: {
display: string;
};
template: {
display: string;
};
'[hidden]': {
display: string;
};
};
export declare const resetDefault: {
'*': {
margin: string;
padding: string;
border: string;
outline: string;
fontSize: string;
background: string;
boxSizing: string;
touchAction: string;
'-webkit-tap-highlight-color': string;
'-webkit-focus-ring-color': string;
'&[contenteditable]': {
userSelect: string;
};
'&[contenteditable]:empty:before': {
display: string;
content: string;
color: string;
fontStyle: string;
fontFamily: string;
fontSize: string;
fontWeight: string;
opacity: string;
};
};
body: {
fontSize: string;
fontFamily: string;
fontWeight: string;
fontStyle: string;
position: string;
overflowX: string;
backgroundColor: string;
wordBreak: string;
'& .amaui-hidden': {
width: string;
height: string;
opacity: string;
overflow: string;
visibility: string;
userSelect: string;
pointerEvents: string;
};
};
'img, embed, object, video': {
maxWidth: string;
height: string;
};
a: {
textDecoration: string;
cursor: string;
};
form: {
width: string;
};
span: {
wordWrap: string;
};
hr: {
height: string;
background: string;
width: string;
margin: string;
};
'pre, code, kbd, samp': {
fontFamily: string;
};
code: {
'& span': {
whiteSpace: string;
};
};
':focus': {
outline: string;
};
'::-webkit-scrollbar': {
width: string;
height: string;
};
'::-webkit-scrollbar-track, ::-webkit-scrollbar-corner': {
background: string;
};
'::-webkit-scrollbar-thumb': {
borderRadius: string;
border: string;
backgroundClip: string;
backgroundColor: string;
'&:hover': {
backgroundColor: string;
};
};
};
declare function reset(value_: TValue, options_?: IOptions): IMethodResponse;
export default reset;