Skip to content

Commit 69149a2

Browse files
committed
fix: code
1 parent 7be1850 commit 69149a2

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

example/storybook-nativewind/src/extra-components/nativewind/Progress.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function Graph({ data }: { data: any }) {
2020
rounded="$md"
2121
sx={{
2222
_dark: {
23-
bg: '$backgroundDark950',
23+
bg: '$backgroundDark800',
2424
},
2525
}}
2626
mb="$8"
@@ -33,6 +33,10 @@ export function Graph({ data }: { data: any }) {
3333
<VStack>
3434
<Text
3535
sx={{
36+
color: '$text900',
37+
_dark: {
38+
color: '$text50',
39+
},
3640
_web: { whiteSpace: 'nowrap' },
3741
w: 130,
3842
fontSize: '$sm',
@@ -54,6 +58,10 @@ export function Graph({ data }: { data: any }) {
5458
fontSize="$xs"
5559
flex={1}
5660
sx={{
61+
color: '$text900',
62+
_dark: {
63+
color: '$text50',
64+
},
5765
_web: {
5866
whiteSpace: 'nowrap',
5967
},

example/storybook-nativewind/src/home/performance/benchmarks/index.stories.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Graph } from '../../../extra-components/nativewind/Progress';
1010

1111
# Performance Benchmarks
1212

13-
`gluestack-ui` harnesses the power of [`NativeWind`](https://www.nativewind.dev/v4/overview), a universal and highly performant styling library, to style the components.
13+
`gluestack-ui` harnesses the power of [NativeWind](https://www.nativewind.dev/v4/overview), a universal and highly performant styling library, to style the components.
1414

1515
# React Native
1616

@@ -77,4 +77,4 @@ Creating a layout with HStack, VStack, Image, and Text to display a list of 28 i
7777

7878
We are working on dedicated benchmarks for the web. Stay tuned for more updates!
7979

80-
In the meantime, we've built the landing page for version 2 using gluestack-ui v2, achieving a Lighthouse score of 85+.
80+
In the meantime, we've built the landing page for version 2 using `gluestack-ui v2`, achieving a Lighthouse score of 85+.

0 commit comments

Comments
 (0)