diff --git a/src/view/screens/Debug.tsx b/src/view/screens/Debug.tsx
index e6285d4b9b..90bc6e5601 100644
--- a/src/view/screens/Debug.tsx
+++ b/src/view/screens/Debug.tsx
@@ -1,9 +1,12 @@
import React from 'react'
+import {View, Text as RNText} from 'react-native'
import {CenteredView, ScrollView} from '#/view/com/util/Views'
import {useSetColorMode} from '#/state/shell'
import {
useBreakpoints,
+ useStyle,
+ useStyles,
Box,
Text,
Button,
@@ -15,14 +18,32 @@ import {
H6,
} from '#/view/nova'
+function ThemeSelector() {
+ const setColorMode = useSetColorMode()
+
+ return (
+
+
+
+
+
+ )
+}
+
function BreakpointDebugger() {
const breakpoints = useBreakpoints()
return (
-
- Breakpoints
-
+
+ Breakpoint Debugger
+
{JSON.stringify(breakpoints, null, 2)}
@@ -30,83 +51,108 @@ function BreakpointDebugger() {
)
}
-export function DebugScreen() {
- const setColorMode = useSetColorMode()
+function Hooks() {
+ const outer = useStyle({
+ pa: 'm',
+ bg: 'l2',
+ })
+ const {heading} = useStyles({
+ heading: {
+ fontSize: 'l',
+ fontWeight: '900',
+ gtTablet: {
+ fontSize: 'xl',
+ },
+ },
+ })
+ return (
+
+ Hooks
+
+ )
+}
+
+export function DebugScreen() {
return (
-
-
-
-
-
-
+
-
- Heading 1
- Heading 2
- Heading 3
- Heading 4
- Heading 5
- Heading 6
-
+
+
+ Typography
+
-
-
- H1 Size Text
-
- H2 Size Text
- H3 Size Text
- H4 Size Text
- H5 Size Text
- H6 Size Text
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ Heading 1
+ Heading 2
+ Heading 3
+ Heading 4
+ Heading 5
+ Heading 6
+
+ H1 Size Text
+
+ H2 Size Text
+ H3 Size Text
+ H4 Size Text
+ H5 Size Text
+ H6 Size Text
-
-
+
+
+ Grid
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Breakpoint styles
+
+
+
+
+
+
+
+