Skip to content

v1.3.0

Latest

Choose a tag to compare

@ontech7 ontech7 released this 31 May 21:02

Changelog

  • Add dark-mode support to DialogProvider: customStyles now also accepts a { light, dark } theme, plus new darkStyles and colorScheme props. colorScheme defaults to light — drive it from useColorScheme() or your in-app theme toggle to enable dark
  • Fix the expo-blur blurReductionFactor prop name (was misspelled blurReducedFactor)
  • Add the DialogStyleTheme type
  • Rework shadcnStyle to match the shadcn/ui Dialog (default neutral tokens, p-6/gap-4 spacing, tracking-tight title, rounded-lg/rounded-md radii, shadow-lg/shadow-sm), shipped as a light + dark theme
  • Add a materialStyle preset (Material Design 3), also with a dark variant
  • The backdrop (blur + dim) now fades in/out with the open animation instead of appearing instantly
  • Add an overlayColor prop to set the scrim over the backdrop; the default scrim behind a blurred dialog is now a bit darker so the dialog stands out
  • DialogInput now defaults its cursorColor to the themed text color, so the caret stays visible in dark mode