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

Document z-index layers #149

Open
szuperaz opened this issue Jul 11, 2022 · 0 comments
Open

Document z-index layers #149

szuperaz opened this issue Jul 11, 2022 · 0 comments
Labels
enhancement New feature or request theming-v2

Comments

@szuperaz
Copy link
Collaborator

The SDK uses z-index inside a few components. When an integrator created a custom template they sometimes have to set z-index too. Their settings have to be compatible with SDK z-index settings. This is hard at the moment, as we have no documentation about z-index usage.

To solve this issue we should create variables for z-index settings:

--layer-100: 100;

.elementX {
    z-index: var(--layer-100);
}

.elementY {
    z-index: var(--layer-100);
}

We should document those variables and list where they are used in the code -> our current CSS variable generation workflow doesn't support this out of the box, but can be updated to suit this use-case

@szuperaz szuperaz added enhancement New feature or request theming-v2 labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request theming-v2
Projects
None yet
Development

No branches or pull requests

1 participant