|
1 | 1 | ## API Report File for "@storm-stack/themes"
|
2 | 2 |
|
3 |
| -> Do not edit this file. It is a report generated by |
4 |
| -> [API Extractor](https://api-extractor.com/). |
| 3 | +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). |
5 | 4 |
|
6 | 5 | ```ts
|
7 |
| -// @public |
8 |
| -function cuid(): string |
9 |
| -export { cuid } |
10 |
| -export { cuid as cuid_alias_1 } |
11 | 6 |
|
12 |
| -// @public |
13 |
| -interface DeconstructedSnowflake { |
14 |
| - binary: string |
15 |
| - sequence: number |
16 |
| - shard_id: number |
17 |
| - snowflake: SnowflakeResolvable |
18 |
| - timestamp: number |
19 |
| -} |
20 |
| -export { DeconstructedSnowflake } |
21 |
| -export { DeconstructedSnowflake as DeconstructedSnowflake_alias_1 } |
| 7 | +import { ThemeBuilder } from '@tamagui/theme-builder'; |
22 | 8 |
|
23 |
| -// @public |
24 |
| -function deconstructSnowflake( |
25 |
| - snowflake: SnowflakeResolvable |
26 |
| -): DeconstructedSnowflake |
27 |
| -export { deconstructSnowflake } |
28 |
| -export { deconstructSnowflake as deconstructSnowflake_alias_1 } |
29 |
| - |
30 |
| -// @public |
31 |
| -function hash(input: string | object): string |
32 |
| -export { hash } |
33 |
| -export { hash as hash_alias_1 } |
34 |
| - |
35 |
| -// @public |
36 |
| -interface ISnowflakeGeneratorOptions { |
37 |
| - epoch: number |
38 |
| - shardId: number |
39 |
| - timestamp: number | Date |
40 |
| -} |
41 |
| -export { ISnowflakeGeneratorOptions } |
42 |
| -export { ISnowflakeGeneratorOptions as ISnowflakeGeneratorOptions_alias_1 } |
43 |
| - |
44 |
| -// @public |
45 |
| -function isValidSnowflake(snowflake: string): boolean |
46 |
| -export { isValidSnowflake } |
47 |
| -export { isValidSnowflake as isValidSnowflake_alias_1 } |
48 |
| - |
49 |
| -// @public |
50 |
| -const randomInteger: (maximum: number, minimum?: number) => number |
51 |
| -export { randomInteger } |
52 |
| -export { randomInteger as randomInteger_alias_1 } |
53 |
| - |
54 |
| -// @public |
55 |
| -const randomLetter: (random?: () => number) => string | undefined |
56 |
| -export { randomLetter } |
57 |
| -export { randomLetter as randomLetter_alias_1 } |
58 |
| - |
59 |
| -// @public |
60 |
| -function snowflake({ |
61 |
| - shardId, |
62 |
| - epoch, |
63 |
| - timestamp |
64 |
| -}?: ISnowflakeGeneratorOptions): string |
65 |
| -export { snowflake } |
66 |
| -export { snowflake as snowflake_alias_1 } |
67 |
| - |
68 |
| -// @public |
69 |
| -type SnowflakeResolvable = string |
70 |
| -export { SnowflakeResolvable } |
71 |
| -export { SnowflakeResolvable as SnowflakeResolvable_alias_1 } |
| 9 | +// @public (undocumented) |
| 10 | +const createThemeBuilder: () => ThemeBuilder<Omit<{ |
| 11 | +palettes: { |
| 12 | +readonly dark: readonly ["#000", "#111", "#222", "#999", "#ccc", "#eee", "#fff"]; |
| 13 | +readonly light: readonly ["#fff", "#eee", "#ccc", "#999", "#222", "#111", "#000"]; |
| 14 | +}; |
| 15 | +} & { |
| 16 | +templates: { |
| 17 | +readonly base: { |
| 18 | +readonly background: 0; |
| 19 | +readonly color: 0; |
| 20 | +}; |
| 21 | +}; |
| 22 | +}, "themes"> & { |
| 23 | +themes: { |
| 24 | +readonly light: { |
| 25 | +readonly template: "base"; |
| 26 | +readonly palette: "light"; |
| 27 | +}; |
| 28 | +readonly dark: { |
| 29 | +readonly template: "base"; |
| 30 | +readonly palette: "dark"; |
| 31 | +}; |
| 32 | +}; |
| 33 | +} & { |
| 34 | +themes: { |
| 35 | +light_subtle: { |
| 36 | +subtle: { |
| 37 | +mask: string; |
| 38 | +}; |
| 39 | +} & { |
| 40 | +parent: "light"; |
| 41 | +}; |
| 42 | +dark_subtle: { |
| 43 | +subtle: { |
| 44 | +mask: string; |
| 45 | +}; |
| 46 | +} & { |
| 47 | +parent: "dark"; |
| 48 | +}; |
| 49 | +}; |
| 50 | +}>; |
| 51 | +export { createThemeBuilder } |
| 52 | +export { createThemeBuilder as createThemeBuilder_alias_1 } |
72 | 53 |
|
73 | 54 | // @public (undocumented)
|
74 |
| -const uuid: { |
75 |
| - ( |
76 |
| - value: string | any[] | ArrayLike<number>, |
77 |
| - namespace: string | any[] | ArrayLike<number>, |
78 |
| - buf: { |
79 |
| - [x: string]: number | undefined |
80 |
| - }, |
81 |
| - offset: number |
82 |
| - ): |
83 |
| - | string |
84 |
| - | { |
85 |
| - [x: string]: number | undefined |
86 |
| - } |
87 |
| - name: string |
88 |
| - DNS: string |
89 |
| - URL: string |
90 |
| -} |
91 |
| -export { uuid } |
92 |
| -export { uuid as uuid_alias_1 } |
| 55 | +const theme: ThemeBuilder<Omit<{ |
| 56 | +palettes: { |
| 57 | +readonly dark: readonly ["#000", "#111", "#222", "#999", "#ccc", "#eee", "#fff"]; |
| 58 | +readonly light: readonly ["#fff", "#eee", "#ccc", "#999", "#222", "#111", "#000"]; |
| 59 | +}; |
| 60 | +} & { |
| 61 | +templates: { |
| 62 | +readonly base: { |
| 63 | +readonly background: 0; |
| 64 | +readonly color: 0; |
| 65 | +}; |
| 66 | +}; |
| 67 | +}, "themes"> & { |
| 68 | +themes: { |
| 69 | +readonly light: { |
| 70 | +readonly template: "base"; |
| 71 | +readonly palette: "light"; |
| 72 | +}; |
| 73 | +readonly dark: { |
| 74 | +readonly template: "base"; |
| 75 | +readonly palette: "dark"; |
| 76 | +}; |
| 77 | +}; |
| 78 | +} & { |
| 79 | +themes: { |
| 80 | +light_subtle: { |
| 81 | +subtle: { |
| 82 | +mask: string; |
| 83 | +}; |
| 84 | +} & { |
| 85 | +parent: "light"; |
| 86 | +}; |
| 87 | +dark_subtle: { |
| 88 | +subtle: { |
| 89 | +mask: string; |
| 90 | +}; |
| 91 | +} & { |
| 92 | +parent: "dark"; |
| 93 | +}; |
| 94 | +}; |
| 95 | +}>; |
| 96 | +export { theme } |
| 97 | +export { theme as theme_alias_1 } |
93 | 98 |
|
94 | 99 | // (No @packageDocumentation comment for this package)
|
| 100 | + |
95 | 101 | ```
|
0 commit comments