{
// Semantic base colors
background: 'rgb(var(--background))',
foreground: 'rgb(var(--foreground))',
// Component-specific colors
primary: 'rgb(var(--primary))',
secondary: 'rgb(var(--secondary))',
accent: 'rgb(var(--accent))',
muted: 'rgb(var(--muted))',
// State colors
destructive: 'rgb(var(--destructive))',
// UI element colors
border: 'rgb(var(--border))',
input: 'rgb(var(--input))',
ring: 'rgb(var(--ring))',
}
npx gluestack-ui@alpha upgrade
// These imports work in both v3 and v4!
import { createButton } from '@gluestack-ui/core/button/creator';
import { createCard } from '@gluestack-ui/core/card/creator';
import { tva } from '@gluestack-ui/utils/nativewind-utils';
npm create gluestack@alpha
npx gluestack-ui@alpha upgrade
git clone https://github.com/gluestack/gluestack-ui
cd gluestack-ui/apps/kitchen-sink
npm install
npm run ios # or npm run android
npm create gluestack@alpha
npx gluestack-ui@alpha upgrade