@tac-ui/tokens 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,31 @@
1
+ import { ThemeMode, TacTheme } from '@tac-ui/shared';
2
+ export { c as componentTokens, m as motionTokens, s as springConfigs, t as tacSpring } from '../motion-DrXQxG6N.js';
3
+
4
+ /**
5
+ * Native shadow objects for React Native (shadow style + elevation).
6
+ * React Native cannot use CSS box-shadow strings.
7
+ */
8
+
9
+ interface NativeShadow {
10
+ shadowColor: string;
11
+ shadowOffset: {
12
+ width: number;
13
+ height: number;
14
+ };
15
+ shadowOpacity: number;
16
+ shadowRadius: number;
17
+ elevation: number;
18
+ }
19
+ declare const nativeShadows: Record<ThemeMode, Record<string, NativeShadow>>;
20
+
21
+ /**
22
+ * Build a complete TacTheme object for React Native consumption.
23
+ * Same shape as web's buildTheme() but without CSS variable indirection.
24
+ */
25
+ declare function buildNativeTheme(mode: ThemeMode): TacTheme;
26
+ /** Pre-built light theme */
27
+ declare const lightTheme: TacTheme;
28
+ /** Pre-built dark theme */
29
+ declare const darkTheme: TacTheme;
30
+
31
+ export { type NativeShadow, buildNativeTheme, darkTheme, lightTheme, nativeShadows };