"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useStyles = void 0;
var _reactNative = require("react-native");
var _reactNativePaper = require("react-native-paper");
var _reactNativeSafeAreaContext = require("react-native-safe-area-context");
const useStyles = ({
  dark
} = {}) => {
  const theme = (0, _reactNativePaper.useTheme)();
  const {
    bottom
  } = (0, _reactNativeSafeAreaContext.useSafeAreaInsets)();
  const styles = _reactNative.StyleSheet.create({
    container: {
      backgroundColor: dark ? '#191919' : theme.colors.background,
      paddingBottom: bottom
    }
  });
  return {
    theme,
    styles
  };
};
exports.useStyles = useStyles;
//# sourceMappingURL=styles.js.map