import React from 'react' import {View} from 'react-native' import {CenteredView, ScrollView} from '#/view/com/util/Views' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {useSetColorMode} from '#/state/shell' import * as tokens from '#/alf/tokens' import {atoms as a, useTheme, useBreakpoints, ThemeProvider as Alf} from '#/alf' import {Button, ButtonText} from '#/view/com/Button' import {Text, H1, H2, H3, H4, H5, H6} from '#/view/com/Typography' function ThemeSelector() { const setColorMode = useSetColorMode() return ( ) } function BreakpointDebugger() { const t = useTheme() const breakpoints = useBreakpoints() return (

Breakpoint Debugger

Current breakpoint: {!breakpoints.gtMobile && mobile} {breakpoints.gtMobile && !breakpoints.gtTablet && tablet} {breakpoints.gtTablet && desktop} {JSON.stringify(breakpoints, null, 2)}
) } function ThemedSection() { const t = useTheme() return (

theme.atoms.text

theme.atoms.text_contrast_700

theme.atoms.text_contrast_500

theme.bg theme.bg_contrast_100 theme.bg_contrast_200 theme.bg_contrast_300 theme.bg_positive theme.bg_negative ) } export function DebugScreen() { const t = useTheme() return (

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
atoms.text_xxl atoms.text_xl atoms.text_lg atoms.text_md atoms.text_sm atoms.text_xs atoms.text_xxs

Spacing

xxs (2px) xs (4px) sm (8px) md (12px) lg (18px) xl (24px) xxl (32px)
) }