//gluestack style configimport { createConfig } from "@gluestack-style/react"export const config = createConfig({aliases: {bg: "backgroundColor",p: "padding",m: "margin",/* ... */},tokens: {colors: {rose50: "#fff1f2",rose100: "#ffe4e6",/* ... */},fonts: {/* ... */},space: {"0": 0,"0.5": 2,/* ... */},fontSizes: {/* ... */},},globalStyle: {/* ... */},} as const)// Get the type of Configtype ConfigType = typeof config// Extend the internal styled configdeclare module "@gluestack-style/react" {interface ICustomConfig extends ConfigType {}}
import { createConfig } from "@gluestack-style/react"export const config = createConfig({aliases: {bg: "backgroundColor",p: "padding",m: "margin",/* ... */},tokens: {colors: {rose50: "#fff1f2",rose100: "#ffe4e6",/* ... */},fonts: {/* ... */},space: {"0": 0,"0.5": 2,/* ... */},fontSizes: {/* ... */},},globalStyle: {/* ... */},} as const)
// Get the type of Configtype ConfigType = typeof config
// Extend the internal styled configdeclare module "@gluestack-style/react" {interface ICustomConfig extends ConfigType {}}