Skip to content

Commit

Permalink
feat(tokens): z-zindex
Browse files Browse the repository at this point in the history
  • Loading branch information
AliMD committed Dec 29, 2022
1 parent 48f3745 commit 62926a7
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"Superfast",
"tnum",
"tsbuildinfo",
"vazirmatn"
"vazirmatn",
"zindex"
]
}
1 change: 1 addition & 0 deletions ui/demo-pwa/style/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@import url('tokens/state.css');
@import url('tokens/elevation.css');
@import url('tokens/spacing.css');
@import url('tokens/z-index.css');

@import url('safe-area.css');
@import url('root.css');
14 changes: 14 additions & 0 deletions ui/demo-pwa/style/tokens/z-index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
:root {
--md-sys-zindex-bottomness: -900;
--md-sys-zindex-below: -1;
--md-sys-zindex-default: 1;
--md-sys-zindex-above: 2;
--md-sys-zindex-dropdown: 100;
--md-sys-zindex-sticky: 200;
--md-sys-zindex-fixed: 300;
--md-sys-zindex-backdrop: 400;
--md-sys-zindex-modal: 500;
--md-sys-zindex-popover: 600;
--md-sys-zindex-tooltip: 700;
--md-sys-zindex-topness: 900;
}

0 comments on commit 62926a7

Please sign in to comment.