For example :
import { config as defaultConfig } from "@gluestack-ui/config";
import { createConfig } from "@gluestack-ui/themed";
const config = createConfig({
...defaultConfig,
tokens: {
...defaultConfig.tokens,
colors: {
...defaultConfig.tokens.colors,
info800: "#540B8C",
info900: "#4A116D",
},
space: {
...defaultConfig.tokens.space,
"212": 212, //layoutPadding
"234": 234, //qrBoxInner
"372": 372, //imgWidth
"508": 508, //boxSize
"544": 544,
authcard: 544,
"622": 622,
containerWidth: 1016,
},
borderWidths: {
...defaultConfig.tokens.borderWidths,
"20": 20,
"50": 50,
},
opacity: {
...defaultConfig.tokens.opacity,
},
fonts: {
...defaultConfig.tokens.fonts,
body: "Manrope-Regular",
heading: "Manrope-Bold",
},
},
components: {
...defaultConfig.components,
},
});
export { config };