Skip to content

Implement Tailwind zIndex View modifier#258

Merged
jverkoey merged 1 commit into
mainfrom
claude/add-tailwind-zindex-modifier-011CUtywUuTdrHG3NChWwgvA
Nov 7, 2025
Merged

Implement Tailwind zIndex View modifier#258
jverkoey merged 1 commit into
mainfrom
claude/add-tailwind-zindex-modifier-011CUtywUuTdrHG3NChWwgvA

Conversation

@jverkoey

@jverkoey jverkoey commented Nov 7, 2025

Copy link
Copy Markdown
Collaborator

Add zIndex View modifier to control stack order of elements. Supports standard Tailwind z-index values (0, 10, 20, 30, 40, 50), negative values, auto value, and conditional application.

Features:

  • ZIndexValue struct with auto and numeric value support
  • Automatic rounding to nearest Tailwind class
  • Negative z-index support
  • Responsive breakpoint conditions
  • Integer literal expressible for convenient usage

Includes comprehensive test coverage for all use cases.

Part of #51

Add zIndex View modifier to control stack order of elements.
Supports standard Tailwind z-index values (0, 10, 20, 30, 40, 50),
negative values, auto value, and conditional application.

Features:
- ZIndexValue struct with auto and numeric value support
- Automatic rounding to nearest Tailwind class
- Negative z-index support
- Responsive breakpoint conditions
- Integer literal expressible for convenient usage

Includes comprehensive test coverage for all use cases.
@jverkoey jverkoey enabled auto-merge (squash) November 7, 2025 18:19
@jverkoey jverkoey merged commit 742d2fe into main Nov 7, 2025
2 checks passed
@jverkoey jverkoey deleted the claude/add-tailwind-zindex-modifier-011CUtywUuTdrHG3NChWwgvA branch November 7, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants