UNPKG

2.64 kBTypeScriptView Raw
1/// <reference types="react" />
2/// <reference types="@emotion/core" />
3import { ThemeProps } from '../types';
4/**
5 * BUTTON STYLES
6 */
7export declare const getButtonStyles: (props: ThemeProps) => {
8 background: any;
9 borderRadius: string;
10 boxShadow: string;
11 color: string;
12 cursor: string;
13 height: string;
14 lineHeight: string;
15 padding: import("react").ReactText;
16 transition: string;
17 transitionDuration: string;
18 verticalAlign: string;
19 width: string;
20 '&::-moz-focus-inner': {
21 border: number;
22 margin: number;
23 padding: number;
24 };
25 '&:hover': {
26 textDecoration: string;
27 };
28 alignItems: string;
29 borderWidth: number;
30 boxSizing: string;
31 display: string;
32 fontSize: string;
33 fontStyle: string;
34 fontWeight: string;
35 maxWidth: string;
36 outline: string;
37 textAlign: string;
38 textDecoration: string;
39 whiteSpace: string;
40} | {
41 background: any;
42 borderRadius: string;
43 boxShadow: string;
44 color: string;
45 cursor: string;
46 height: string;
47 lineHeight: string;
48 padding: import("react").ReactText;
49 transition: string;
50 transitionDuration: string;
51 verticalAlign: string;
52 width: string;
53 '&::-moz-focus-inner': {
54 border: number;
55 margin: number;
56 padding: number;
57 };
58 '&:hover': {
59 textDecoration: string;
60 };
61 alignItems: string;
62 borderWidth: number;
63 boxSizing: string;
64 display: string;
65 fontSize: string;
66 fontStyle: string;
67 fontWeight: string;
68 maxWidth: string;
69 outline: string;
70 textAlign: string;
71 textDecoration: string;
72 whiteSpace: string;
73} | {
74 pointerEvents: string;
75 background: any;
76 borderRadius: string;
77 boxShadow: string;
78 color: string;
79 cursor: string;
80 height: string;
81 lineHeight: string;
82 padding: import("react").ReactText;
83 transition: string;
84 transitionDuration: string;
85 verticalAlign: string;
86 width: string;
87 '&::-moz-focus-inner': {
88 border: number;
89 margin: number;
90 padding: number;
91 };
92 '&:hover': {
93 textDecoration: string;
94 };
95 alignItems: string;
96 borderWidth: number;
97 boxSizing: string;
98 display: string;
99 fontSize: string;
100 fontStyle: string;
101 fontWeight: string;
102 maxWidth: string;
103 outline: string;
104 textAlign: string;
105 textDecoration: string;
106 whiteSpace: string;
107};
108/**
109 * SPINNER STYLES
110 */
111export declare const getSpinnerStyles: () => {
112 display: string;
113 position: string;
114 left: string;
115 top: string;
116 transform: string;
117};