Skip to content

Spike: Investigate theming in Monaco editor #11506

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

Open
andrew-ronaldson opened this issue Feb 6, 2025 · 1 comment · May be fixed by #11785
Open

Spike: Investigate theming in Monaco editor #11506

andrew-ronaldson opened this issue Feb 6, 2025 · 1 comment · May be fixed by #11785

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

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the Stale label Apr 10, 2025
@rebeccaalpert rebeccaalpert moved this from Backlog to PR Review in PatternFly Issues Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: PR Review
1 participant