react-profile-crop
Version:
A flexible, customizable React component for cropping profile pictures with real-time preview.
12 lines (10 loc) • 308 B
text/typescript
import { ThemeOptions } from "../types";
export const getDefaultTheme = (): ThemeOptions => ({
backgroundColor: "#f3f2ef",
overlayColor: "rgba(0, 0, 0, 0.6)",
borderColor: "#e0e0e0",
accentColor: "#0077B5",
textColor: "#333333",
buttonBackgroundColor: "#0077B5",
buttonTextColor: "white",
});