-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support more files, and arrays in theme #43
Support more files, and arrays in theme #43
Conversation
ghost: '#FFF', | ||
ink: '#000', | ||
}; | ||
|
||
/* DEFAULT THEME */ | ||
// TODO: All theme files need to be imported here or else they error out. | ||
// Creation of the themes shouldn't be restricted to a particular file | ||
|
||
export const light = { |
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.
Have you tried moving this actual object creation to a separate file?
Basically what I was trying to accomplish was to have a theme file for the default theme and one for the Amsterdam theme in their respective theme folders, similar to like the manifest SASS index.scss
files.
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.
Should be no problem. Just moved all of Amsterdam in b2cd915
I'm guessing any problems you saw previously were due to that comment bug, which is now fixed.
type EuiFontSize = { | ||
[mapType in EuiFontScale]: { | ||
fontSize: string; | ||
lineHeight: string; | ||
}; | ||
}; |
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.
🙏
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.
👍 Sweet. I'll go ahead and merge and continue to clean up. Thank you!
Not sure if you want to actually merge this or just use it as a reference, but this helps with:
getOwnPropertyDescriptor
)reduce