Skip to content
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

Spike: Investigate theming in Monaco editor #11506

Open
andrew-ronaldson opened this issue Feb 6, 2025 · 0 comments
Open

Spike: Investigate theming in Monaco editor #11506

andrew-ronaldson opened this issue Feb 6, 2025 · 0 comments
Labels

Comments

@andrew-ronaldson
Copy link
Collaborator

andrew-ronaldson commented Feb 6, 2025

Related to patternfly/chatbot#424
TLDR there is a code block and code editor message type in the ChatBot and we'd like to consolidate it by just shipping code editor.

The problem is with theming where if we use the inverse token to get a dark background in light theme it will be a white background on dark theme which isn't ideal. Preferably we would like to investigate the theming capability of the code editor so it can be more flexible for those that wish to choose their own preference.

Links
monaco-editor Docs https://www.npmjs.com/package/@monaco-editor/react
Stack overflow link https://stackoverflow.com/questions/44766624/custom-background-color-in-monaco-editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant