Skip to content

ThemeTypography — @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.

import { ThemeTypography } from '@gj-kit/expo-ui/theme';
interface ThemeTypography {
readonly caption: TypeRole;
readonly label: TypeRole;
readonly button: TypeRole;
readonly body: TypeRole;
readonly title: TypeRole;
readonly heading: TypeRole;
/**
* The role reserved for navigation tab labels in underline Tabs. The 16px/'600'
* pair inherited from the predecessor matches no other role, so it was promoted
* to a role of its own (an adversarial-review finding). Same principle as the
* §0 decision to keep tab-only color tokens (tabActive/tabInactive).
*/
readonly tab: TypeRole;
/** The app's custom font family. Falls back to the system font when omitted. */
readonly fontFamily?: string | undefined;
}

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.

  • Package: @gj-kit/expo-ui
  • Version: 0.8.1
  • Public entry: ./theme
  • Source: GitHub