You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define a custom theme using the monaco.editor.defineTheme function.
Apply the theme to the editor using monaco.editor.setTheme.
Attempt to change the rename input style (e.g., text color) through the colors property in the theme definition.
Actual (Problematic) Behavior
Despite defining the input.foreground color in the theme, the rename input box's text color does not change. The text color remains the default, ignoring the theme setting.
Expected Behavior
The text color of the rename input box should change to match the input.foreground color specified in the custom theme.
Additional Context
To work around this issue, I had to apply a custom CSS rule directly:
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Link
Monaco Editor Playground - Example 1
Monaco Editor Playground - Example 2
Monaco Editor Playground Code
Reproduction Steps
monaco.editor.defineTheme
function.monaco.editor.setTheme
.colors
property in the theme definition.Actual (Problematic) Behavior
Despite defining the input.foreground color in the theme, the rename input box's text color does not change. The text color remains the default, ignoring the theme setting.
Expected Behavior
The text color of the rename input box should change to match the input.foreground color specified in the custom theme.
Additional Context
To work around this issue, I had to apply a custom CSS rule directly:
The text was updated successfully, but these errors were encountered: