Finish cleaning up theme stuff

This commit is contained in:
2025-03-04 23:58:53 -06:00
parent 4775917db0
commit 4e93893319
14 changed files with 49 additions and 90 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { StyleSheet, ViewProps, Platform, DimensionValue } from 'react-native';
import { ThemedView } from '@/components/theme';
import ThemedView from '@/components/theme/default/ThemedView';
import { Colors } from '@/constants/Colors';
import { useColorScheme } from '@/hooks/useColorScheme';
@@ -23,7 +23,7 @@ const ThemedCard: React.FC<ThemedCardProps> = ({
...restProps
}) => {
const scheme = useColorScheme() ?? 'dark';
return (
<ThemedView
style={[
@@ -37,7 +37,7 @@ const ThemedCard: React.FC<ThemedCardProps> = ({
...Platform.select({
ios: {
shadowColor: Colors[scheme].text,
shadowOffset: { width: 0, height: elevation/2 },
shadowOffset: { width: 0, height: elevation / 2 },
shadowOpacity: 0.1,
shadowRadius: elevation,
},