Skip to content

Commit f9231f3

Browse files
authored
Merge pull request #2318 from gluestack/fix/v2-docs
Fix/v2 docs
2 parents 8ca819e + e0bb6a5 commit f9231f3

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

example/storybook-nativewind/src/components/FormControl/index.nw.stories.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ Form Action Buttons can also be utilized in conjunction with FormControl.
780780
</FormControl>
781781
<FormControl>
782782
<Button action='negative' className='ml-4'>
783-
<ButtonText className="text-white">
783+
<ButtonText className="text-white group-hover/button:text-white group-active/button:text-white">
784784
Delete
785785
</ButtonText>
786786
</Button>

example/storybook-nativewind/src/components/Toast/index.nw.stories.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,7 @@ The Examples section provides visual representations of the different variants o
440440
<HStack space="md">
441441
<Icon
442442
as={HelpCircleIcon}
443-
className="stroke-typography-0"
444-
size="lg"
443+
className="stroke-error-500 mt-0.5"
445444
/>
446445
<VStack space="xs">
447446
<ToastTitle className="font-semibold text-error-500">Error!</ToastTitle>
@@ -710,7 +709,7 @@ The Examples section provides visual representations of the different variants o
710709
<Icon
711710
as={Send}
712711
size="xl"
713-
className="fill-blue-500 stroke-none"
712+
className="fill-typography-100 stroke-none"
714713
/>
715714
<Divider
716715
orientation="vertical"

example/storybook-nativewind/src/core-components/nativewind/gluestack-ui-provider/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export const config = {
205205
'--color-error-400': '230 53 53',
206206
'--color-error-500': '239 68 68',
207207
'--color-error-600': '248 113 113',
208-
'--color-error-700': '230 53 52',
208+
'--color-error-700': '252 165 165',
209209
'--color-error-800': '254 202 202',
210210
'--color-error-900': '254 226 226',
211211
'--color-error-950': '254 233 233',

example/storybook-nativewind/src/core-components/nativewind/toast/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const toastStyle = tva({
3131
base: 'p-4 m-1 rounded-md gap-1 web:pointer-events-auto shadow-hard-5 border-outline-100',
3232
variants: {
3333
action: {
34-
error: 'bg-error-700',
34+
error: 'bg-error-800',
3535
warning: 'bg-warning-700',
3636
success: 'bg-success-700',
3737
info: 'bg-info-700',

example/storybook-nativewind/src/extra-components/nativewind/Demos/AccordionDemo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const AccordionDemo = () => {
1717
const accRef = React.useRef(null);
1818
return (
1919
<ScrollView contentContainerStyle={{ maxHeight: 50 }}>
20-
<Accordion mt="$5">
20+
<Accordion className="border border-outline-200">
2121
<AccordionItem value="a">
2222
<AccordionHeader>
2323
<AccordionTrigger>

img/gluestack-banner.png

-514 KB
Loading

0 commit comments

Comments
 (0)