fix: color of included reference toggle and inline code in Duo chat
Description
gl-blue-700
needed to be overridden, and we were not properly targeting code
elements inside chat messages to set their colors.
Screenshots
In these videos you can see examples of the included reference
toggle and inline code. in the Before
video, both have fixed colors. In the After
video, both are responsive to theme colors.
Before | After |
---|---|
Screen_Recording_2024-10-22_at_15.33.56 | Screen_Recording_2024-10-22_at_15.31.08 |
To test
- Check out this branch
- Run the VSCode extension locally
- include a file and ask what it does
- You will see that the
included reference
toggle uses the subtle vscode UI foreground color and the inlinecode
blocks in the agent response use the theme preformatted text background/foreground colors.
What CHANGELOG entry will this MR create?
-
fix:
Bug fix fixes - a user-facing issue in production - included in changelog -
feature:
New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:
(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Related to gitlab#474922
Edited by Chad Lavimoniere