more styling for dark mode

This commit is contained in:
balzack 2023-09-29 19:05:30 -07:00
parent daf4732406
commit fd60909768
3 changed files with 5 additions and 8 deletions

View File

@ -44,8 +44,8 @@ const RegistryDrawer = createDrawerNavigator();
const Tab = createBottomTabNavigator(); const Tab = createBottomTabNavigator();
function ConversationStackScreen({ dmChannel, shareChannel, shareIntent, setShareIntent }) { function ConversationStackScreen({ dmChannel, shareChannel, shareIntent, setShareIntent }) {
const stackParams = { headerStyle: { backgroundColor: Colors.screenBase }, headerBackTitleVisible: false }; const stackParams = { headerStyle: { backgroundColor: Colors.screenBase }, headerBackTitleVisible: false, cardStyle: {backgroundColor: Colors.screenBase }};
const screenParams = { headerShown: true, headerTintColor: Colors.primary }; const screenParams = { headerShown: true, headerTintColor: Colors.primary };
const conversation = useContext(ConversationContext); const conversation = useContext(ConversationContext);
const [cardId, setCardId] = useState(); const [cardId, setCardId] = useState();

View File

@ -6,7 +6,6 @@ export const styles = StyleSheet.create({
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
backgroundColor: Colors.drawerBase,
height: '100%', height: '100%',
}, },
details: { details: {
@ -83,7 +82,6 @@ export const styles = StyleSheet.create({
borderColor: Colors.itemDivider, borderColor: Colors.itemDivider,
display: 'flex', display: 'flex',
flexDirection: 'row', flexDirection: 'row',
backgroundColor: Colors.drawerBase,
}, },
membersLabel: { membersLabel: {
paddingLeft: 16, paddingLeft: 16,
@ -95,7 +93,6 @@ export const styles = StyleSheet.create({
}, },
cards: { cards: {
width: '100%', width: '100%',
backgroundColor: Colors.drawerBase,
}, },
save: { save: {
padding: 8, padding: 8,
@ -154,7 +151,7 @@ export const styles = StyleSheet.create({
backgroundColor: 'rgba(52, 52, 52, 0.8)' backgroundColor: 'rgba(52, 52, 52, 0.8)'
}, },
editContainer: { editContainer: {
backgroundColor: Colors.drawerBase, backgroundColor: Colors.modalBaseBase,
padding: 16, padding: 16,
width: '80%', width: '80%',
maxWidth: 400, maxWidth: 400,

View File

@ -10,8 +10,8 @@ export const styles = StyleSheet.create({
alignItems: 'center', alignItems: 'center',
borderBottomWidth: 1, borderBottomWidth: 1,
borderColor: Colors.itemDivider, borderColor: Colors.itemDivider,
paddingLeft: 8, paddingLeft: 16,
paddingRight: 8, paddingRight: 16,
}, },
detail: { detail: {
paddingLeft: 12, paddingLeft: 12,