1 | import { MaybeThunk, MaybeArray, Falsy, Directive, CSSRules, CSSAtKeyframes, CSSProperties, Context } from 'twind';
|
2 | export * from 'twind';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | interface CSSFactory<T, I, R> {
|
12 | (strings: TemplateStringsArray, ...interpolations: readonly MaybeThunk<MaybeArray<I | string | number | Falsy>>[]): Directive<R>;
|
13 | (tokens: MaybeThunk<MaybeArray<T | Falsy>>): Directive<R>;
|
14 | (...tokens: readonly MaybeThunk<T | Falsy>[]): Directive<R>;
|
15 | }
|
16 | declare const css: CSSFactory<CSSRules, CSSRules, CSSRules>;
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 | declare const keyframes: CSSFactory<CSSAtKeyframes, CSSAtKeyframes | CSSProperties, string>;
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 | interface Animation {
|
62 | (value: string | CSSRules | ((context: Context) => string)): CSSFactory<CSSAtKeyframes, CSSAtKeyframes | CSSProperties, CSSRules>;
|
63 | (value: string | CSSRules | ((context: Context) => string), waypoints: CSSAtKeyframes | Directive<string>): Directive<CSSRules>;
|
64 | }
|
65 | declare const animation: Animation;
|
66 | interface Screen {
|
67 | (size: string): Directive<string>;
|
68 | (size: string, css: Directive<CSSRules> | MaybeArray<CSSRules | Falsy>): Directive<CSSRules>;
|
69 | }
|
70 | declare const screen: Screen;
|
71 |
|
72 | export { Animation, CSSFactory, Screen, animation, css, keyframes, screen };
|
73 | //# sourceMappingURL=css.d.ts.map
|
74 |
|
\ | No newline at end of file |