CodeBlock theme option #4378
-
CodeBlock require theme options like Dark, Light on any base Main theme ? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
The EuiCodeBlock or any other EUI components requires you to import a compiled CSS file our multiple SASS files. Currently, we support 4 themes. The EuiCodeBlock or any other EUI component adapts its colors and sizes according to the theme you're consuming:
|
Beta Was this translation helpful? Give feedback.
-
@miukimiu i think you didn't get my question! ( |
Beta Was this translation helpful? Give feedback.
-
@chetanmajithiya got it! The All the other components don't have this feature. But if it's something you think would make sense, you can open a feature request: https://github.com/elastic/eui/discussions/new. |
Beta Was this translation helpful? Give feedback.
-
We now have an open ticket #4385 for this discussion question, so I'll close this out. The option will be easiest to implement when we switch to using Emotion. |
Beta Was this translation helpful? Give feedback.
We now have an open ticket #4385 for this discussion question, so I'll close this out. The option will be easiest to implement when we switch to using Emotion.