ThemeMetrics — @gj-kit/expo-ui
A public interface from @gj-kit/expo-ui/theme. The signature below is taken directly from the 0.8.1 release declaration.
Verified import example
Section titled “Verified import example”import { ThemeMetrics } from '@gj-kit/expo-ui/theme';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Component dimension tokens — the map adopted in §0 (A). It converges what used to * be scattered module literals: the predecessor's buttonSizes (36/44/52), the input * minHeight of 48, the icon sizes, and the * EMPTY_STATE_MAX_FONT_SIZE_MULTIPLIER constant. */interface ThemeMetrics { readonly control: { readonly sm: number; readonly md: number; readonly lg: number; }; readonly input: number; readonly icon: { readonly sm: number; readonly md: number; readonly lg: number; }; readonly maxFontScale: number;}This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-ui - Version:
0.8.1 - Public entry:
./theme - Source: GitHub