Skip to content

Artisan Kit 1.1.0

Compare
Choose a tag to compare
@thommcgrath thommcgrath released this 29 Oct 13:44
· 12 commits to master since this release

Updated for Xojo 2018r3 and dark mode

Added 3 new methods:

  • IsDarkMode: A simple wrapper for REALbasic.IsDarkMode when available (2018r3 and newer) or returns False when not available (2018r2 and earlier)
  • ColorLuminance: Calculates the relative luminance of a color. Useful for calculating contrast between colors.
  • ColorIsBright: Uses brightness and luminance to determine if a color appears "light" on the screen.