Skip to content

v1.0.6 - Add configuration for light/dark ring colors and thresholds

Compare
Choose a tag to compare
@faultyserver faultyserver released this 14 Sep 15:59
· 15 commits to main since this release

#11 Adds themeOptions as a prop to FocusRingScope, allowing consumers to change the brightness threshold that determines whether a light or dark focus ring is presented. It also adds var(--focus-light) and var(--focus-dark) to complement the existing var(--focus-primary), allowing consumers to control all 3 possible ring colors from their own CSS.

This release also restructures the repository into a more modern monorepo format.