Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

feat: add layers variables #269

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/_layers.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:root {
--layer-popover: 5000;
--layer-modal: 10000;
--layer-tooltip: 90000;
}
1 change: 1 addition & 0 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
// Output
@import "core";
@import "themes";
@import "layers";
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const ALLOWED_CSS_VARS_PREFIX_WITHOUT_MAPPING = [
"--font-weight",
"--font-size",
"--font-line-height",
"--letter-spacing"
"--letter-spacing",
"--layer"
];

describe("props-to-allowed-vars", () => {
Expand Down
Loading