Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add zIndex prop #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

theetrain
Copy link

@theetrain theetrain commented Sep 15, 2022

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