Skip to content

Commit f9fbe2d

Browse files
committed
chore(docs): updated config definition
1 parent b4a981e commit f9fbe2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/app/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
2-
import { styles } from './lib/tokens';
2+
import { styles } from './jacaranda.config';
33

44
export const Button = (props) => {
55
return (<TouchableOpacity style={buttonStyles({ intent: props.intent, size: props.size })}>

packages/app/lib/tokens.ts renamed to packages/app/jacaranda.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { createTokens } from "jacaranda";
1+
import { defineTokens } from "jacaranda";
22

3-
export const { styles } = createTokens({
3+
export const { styles } = defineTokens({
44
colors: {
55
primary50: '#ecfeff',
66
primary100: '#cffafe',

0 commit comments

Comments
 (0)