forked from a-ghorbani/pocketpal-ai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dark mode theming in bottom sheet components (a-ghorbani#97)
* fix: restore theme context in bottom sheet components * chore: build:android:release assembleRelease --> bundleRelease
- Loading branch information
1 parent
8244a68
commit 89dea86
Showing
3 changed files
with
48 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import {StyleSheet} from 'react-native'; | ||
import {Theme} from '../../../utils/types'; | ||
|
||
export const createStyles = (theme: Theme) => | ||
StyleSheet.create({ | ||
// ... existing styles ... | ||
bottomSheetHandle: { | ||
backgroundColor: theme.colors.onSurface, | ||
opacity: 0.5, | ||
}, | ||
bottomSheetBackground: { | ||
backgroundColor: theme.colors.background, | ||
}, | ||
}); |