Skip to content

Commit fd9749b

Browse files
authored
Sprinkles: Fix examples in readme (#155)
1 parent ae532f5 commit fd9749b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/sprinkles/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export const className = atoms({
2121
desktop: 'row'
2222
},
2323
background: {
24-
lightMode: 'blue50',
25-
darkMode: 'gray700'
24+
lightMode: 'blue-50',
25+
darkMode: 'gray-700'
2626
}
2727
});
2828
```
@@ -127,6 +127,9 @@ const colors = {
127127
'blue-50': '#eff6ff',
128128
'blue-100': '#dbeafe',
129129
'blue-200': '#bfdbfe',
130+
'gray-700': '#374151',
131+
'gray-800': '#1f2937',
132+
'gray-900': '#111827',
130133
// etc.
131134
};
132135

@@ -169,8 +172,8 @@ export const container = atoms({
169172
desktop: 'row',
170173
},
171174
background: {
172-
lightMode: 'blue50',
173-
darkMode: 'gray700',
175+
lightMode: 'blue-50',
176+
darkMode: 'gray-700',
174177
}
175178
});
176179
```

0 commit comments

Comments
 (0)