Skip to content

feat: add zIndex prop#7

Open
theetrain wants to merge 1 commit into
saibotsivad:masterfrom
theetrain:feat/z-index
Open

feat: add zIndex prop#7
theetrain wants to merge 1 commit into
saibotsivad:masterfrom
theetrain:feat/z-index

Conversation

@theetrain

@theetrain theetrain commented Sep 15, 2022

Copy link
Copy Markdown

Closes #6

  • Feature: Adds zIndex prop.
  • Misc: set eslint config as root; any formatting changes in this PR were refined by eslint
  • Tests: add tests for zIndex styles based on prop value

Let me know if you need any formatting changes or other requests. My original plan was going to use --z-index, but I couldn't figure out how to derive custom styles. In retrospect, it should still be possible like in this REPL "computed style props".

It's up to you whichever you prefer.

Set zIndex via Svelte props
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.

Request: add --z-index style prop

1 participant