frontend client for gemstone. decentralised workplace app

feat: stubs for settings screen

serenity 736202bb 33fa8dfd

Changed files
+83
src
+32
src/components/Settings/LatticeSettings.tsx
···
+
import { Text } from "@/components/primitives/Text";
+
import { useFacet } from "@/lib/facet";
+
import { useCurrentPalette } from "@/providers/ThemeProvider";
+
import { View } from "react-native";
+
+
export const LatticeSettings = () => {
+
const { semantic } = useCurrentPalette();
+
const { atoms, typography } = useFacet();
+
+
return (
+
<View
+
style={{
+
borderWidth: 1,
+
borderColor: semantic.borderVariant,
+
borderRadius: atoms.radii.lg,
+
padding: 8,
+
}}
+
>
+
<Text
+
style={[
+
typography.weights.byName.medium,
+
typography.sizes.lg,
+
{
+
paddingLeft: 8,
+
},
+
]}
+
>
+
Lattices
+
</Text>
+
</View>
+
);
+
};
+32
src/components/Settings/ShardSettings.tsx
···
+
import { Text } from "@/components/primitives/Text";
+
import { useFacet } from "@/lib/facet";
+
import { useCurrentPalette } from "@/providers/ThemeProvider";
+
import { View } from "react-native";
+
+
export const ShardSettings = () => {
+
const { semantic } = useCurrentPalette();
+
const { atoms, typography } = useFacet();
+
+
return (
+
<View
+
style={{
+
borderWidth: 1,
+
borderColor: semantic.borderVariant,
+
borderRadius: atoms.radii.lg,
+
padding: 8,
+
}}
+
>
+
<Text
+
style={[
+
typography.weights.byName.medium,
+
typography.sizes.lg,
+
{
+
paddingLeft: 8,
+
},
+
]}
+
>
+
Shards
+
</Text>
+
</View>
+
);
+
};
+19
src/components/Settings/index.tsx
···
+
import { LatticeSettings } from "@/components/Settings/LatticeSettings";
+
import { ShardSettings } from "@/components/Settings/ShardSettings";
+
import { View } from "react-native";
+
+
export const Settings = () => {
+
return (
+
<View
+
style={{
+
flex: 1,
+
flexDirection: "column",
+
padding: 32,
+
gap: 16,
+
}}
+
>
+
<ShardSettings />
+
<LatticeSettings />
+
</View>
+
);
+
};