Initial setup for Amsterdam theme#2633
Conversation
Yes. It's fine to expose.
I did not see this. You might have missed a commit. |
|
I would suggest adding a new check mark onto https://github.com/elastic/eui/blob/master/.github/pull_request_template.md to reference that changes were checked against the new theme. |
|
Ah! Yea, I'll add a check mark. Weird! I had a strange push issue. I pushed, but it didn't like my |
|
The colors guideline page is not correctly pulling in the colors for the Amsterdam theme. You will want to look at this file to ensure the right colors file is being imported. |
That file should give you what you need. You'll want to import the new theme at the top using the sass loader, and then trigger it here. https://github.com/elastic/eui/blob/master/src-docs/src/views/guidelines/colors.js#L155-L156 A similar check should be done on this page here. https://github.com/elastic/eui/blob/master/src-docs/src/views/guidelines/sass.js |
cchaos
left a comment
There was a problem hiding this comment.
✅ The scss imports are working
✅ The theme switcher is working
✅ The css and json files get compiled during build
✖️ The colors and sass guideline pages aren't pulling in the amsterdam colors
Q: What is the wiki/theme-development.md file supposed to contain? It is currently an empty page.
|
Ah! 🤦🏻♂️ That file ( |
e7ebf98 to
53cb0ec
Compare
Co-Authored-By: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-Authored-By: Caroline Horn <549577+cchaos@users.noreply.github.com>
|
@cchaos These items have been taken care of now. Thanks again for the help! Let me know if there's anything else. |
cchaos
left a comment
There was a problem hiding this comment.
Thanks for making those changes! Still had one comment about the PR checklist but other than that, LGTM 👍
…n/eui into amsterdam/initial-setup

Summary
Additions needed to support the new "Amsterdam" theme. Changes are made in both the source and in the documentation.
Additions include:
Amsterdam: LightandAmsterdam: Darkas options in the theme selectorCONTRIBUTING.mdregarding how to help contribute to AmsterdamQuestion
Should we even expose the new theme in the documentation? Or do we want to hide it behind a flag of some sort?
Checklist
- [ ] Checked in mobile- [ ] Props have proper autodocs- [ ] Added or updated jest tests- [ ] Checked for accessibility including keyboard-only and screenreader modes