-
Notifications
You must be signed in to change notification settings - Fork 839
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
feat: setup docusaurus EUI theme #7827
Conversation
@@ -0,0 +1,47 @@ | |||
import { css } from '@emotion/react'; |
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.
This is an example component override to show how to work with Emotion, Docusaurus and EUI. It shouldn't be considered final - the styles don't work great on mobile screens.
@@ -0,0 +1,68 @@ | |||
{ |
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.
This is based on docusaurus' base tsconfig to keep the theme 100% compatible with it
7da45ed
to
d58d07c
Compare
Preview staging links for this PR:
|
💚 Build Succeeded
History
cc @tkajtoch |
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.
🚢 🎉 The setup looks good to me. I ran it locally and didn't encounter any issues.
I will go ahead and merge this PR as it's the base for any further EUI+ work.
Summary
Resolves #7645.
This PR creates a new
docusaurus-theme
package that will be the upcoming EUI theme for Docusaurus. It moves all existing docusaurus component overrides that were inpackages/website/src/theme
to the new package and configures it following the other official docusaurus packages.