diff options
Diffstat (limited to 'src/view/screens/Storybook/index.tsx')
-rw-r--r-- | src/view/screens/Storybook/index.tsx | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/src/view/screens/Storybook/index.tsx b/src/view/screens/Storybook/index.tsx index 3a2e2f369..35a666601 100644 --- a/src/view/screens/Storybook/index.tsx +++ b/src/view/screens/Storybook/index.tsx @@ -1,22 +1,21 @@ import React from 'react' import {View} from 'react-native' -import {CenteredView, ScrollView} from '#/view/com/util/Views' -import {atoms as a, useTheme, ThemeProvider} from '#/alf' import {useSetThemePrefs} from '#/state/shell' -import {Button} from '#/components/Button' - -import {Theming} from './Theming' -import {Typography} from './Typography' -import {Spacing} from './Spacing' +import {CenteredView, ScrollView} from '#/view/com/util/Views' +import {atoms as a, ThemeProvider, useTheme} from '#/alf' +import {Button, ButtonText} from '#/components/Button' +import {Breakpoints} from './Breakpoints' import {Buttons} from './Buttons' -import {Links} from './Links' -import {Forms} from './Forms' import {Dialogs} from './Dialogs' -import {Breakpoints} from './Breakpoints' -import {Shadows} from './Shadows' +import {Forms} from './Forms' import {Icons} from './Icons' +import {Links} from './Links' import {Menus} from './Menus' +import {Shadows} from './Shadows' +import {Spacing} from './Spacing' +import {Theming} from './Theming' +import {Typography} from './Typography' export function Storybook() { const t = useTheme() @@ -33,7 +32,7 @@ export function Storybook() { size="small" label='Set theme to "system"' onPress={() => setColorMode('system')}> - System + <ButtonText>System</ButtonText> </Button> <Button variant="solid" @@ -41,7 +40,7 @@ export function Storybook() { size="small" label='Set theme to "light"' onPress={() => setColorMode('light')}> - Light + <ButtonText>Light</ButtonText> </Button> <Button variant="solid" @@ -52,7 +51,7 @@ export function Storybook() { setColorMode('dark') setDarkTheme('dim') }}> - Dim + <ButtonText>Dim</ButtonText> </Button> <Button variant="solid" @@ -63,7 +62,7 @@ export function Storybook() { setColorMode('dark') setDarkTheme('dark') }}> - Dark + <ButtonText>Dark</ButtonText> </Button> </View> |