-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
[infra] Automatically get info for CSS variables #874
Changes from 5 commits
584a93e
9789053
c5619b4
6d96d74
16cbcdc
e60a659
c38de97
0e7bf70
44cc34e
9b6dc8d
90b0e56
53c7c57
9512a7c
fb39b6e
38f4ed8
fd5cb8c
cf17189
d4b6be3
c7f5385
40537cd
ab6b6d7
0c4a62a
2cd7c04
5d181f0
65252af
5b49e7c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * as Dialog from './index.parts'; | ||
export * from './popup/cssVars'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export type DialogPopupCssVars = { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The convention here is tha the type with |
||
/** | ||
* Indicates how many dialogs are nested within. | ||
* @type number | ||
* */ | ||
nestedDialogs: string; | ||
}; | ||
|
||
export const cssVars: DialogPopupCssVars = { | ||
nestedDialogs: '--nested-dialogs', | ||
}; |
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for manually defining it 🎉