-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: z-index tokens are defined (#482)
- Loading branch information
1 parent
01a5b55
commit edee744
Showing
8 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Meta } from '@storybook/addon-docs'; | ||
|
||
<Meta title="Design System/Z-index" /> | ||
|
||
# Z-index | ||
|
||
Z-index values define a set of variables to set z-order of elements. | ||
|
||
| Variable | Value | Description | | ||
|----|:----:|----| | ||
| `--bl-index-deep` | -1 | Deep z-index can be used to move an element behind everyting else | | ||
| `--bl-index-base` | 1 | Base z-index for just leveling up an element in z-stack | | ||
| `--bl-index-popover` | 100 | Z-index value for popover items | | ||
| `--bl-index-tooltip` | 200 | Tooltip-like elements can be used on top of popovers | | ||
| `--bl-index-sticky` | 300 | Z-index for sticky elements | | ||
| `--bl-index-overlay` | 400 | Z-index for overlay elements like backdrops | | ||
| `--bl-index-dialog` | 500 | Z-index for dialog and modals | | ||
| `--bl-index-notification` | 600 | Top z-index for showing toast or notification elements | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters