# Framework v3.1.7

Released on 2026-07-18.

## Framework Changes

- Added the `inverse` class: dark-mode token remapping scoped to any element's subtree (backgrounds, text, borders, and strokes follow via variable cascade; the element paints its own dark canvas). Works on any bit depth and color palette.
- `dark:`-prefixed utilities still key off `screen--dark-mode` and do not activate inside `inverse`; nesting `inverse` inside a dark-mode screen is a no-op, not a toggle back to light.

## Upgrade Notes

- None. Purely additive; existing markup renders identically.

## Documentation Changes

- Added an "Inverse" section to the Screen docs, next to Dark Mode.
