[GH-ISSUE #2217] [bug]: Text color from variables in body/json does not change to white and becomes impossible to read #759

Closed
opened 2026-03-16 17:03:21 +03:00 by kerem · 2 comments
Owner

Originally created by @n-alonso on GitHub (Mar 31, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2217

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

It looks like highlighting of variables in the body takes the font lettering from the json formatting as opposed to changing it to white like everywhere else, making it difficult to read.

Variables in any other place:
image
Variables in the json body:
image
I guess the style needs some tweaking.

Steps to reproduce

  1. Create a new REST request
  2. Navigate to the body of the request
  3. Select json
  4. Place a variable in the value of any json property

Environment

Production

Version

Local

Originally created by @n-alonso on GitHub (Mar 31, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2217 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior It looks like highlighting of variables in the body takes the font lettering from the json formatting as opposed to changing it to white like everywhere else, making it difficult to read. Variables in any other place: ![image](https://user-images.githubusercontent.com/63936366/161014200-98087a34-0954-4b86-884d-3afdb020af40.png) Variables in the json body: ![image](https://user-images.githubusercontent.com/63936366/161014264-24bd944d-a7f8-4fd3-aafc-08713798b9be.png) I guess the style needs some tweaking. ### Steps to reproduce 1. Create a new REST request 2. Navigate to the body of the request 3. Select json 4. Place a variable in the value of any json property ### Environment Production ### Version Local
kerem 2026-03-16 17:03:21 +03:00
Author
Owner

@liyasthomas commented on GitHub (Mar 31, 2022):

Thank you @n-alonso for reporting this behavior, I'm fixing this right away.

<!-- gh-comment-id:1084284157 --> @liyasthomas commented on GitHub (Mar 31, 2022): Thank you @n-alonso for reporting this behavior, I'm fixing this right away.
Author
Owner

@liyasthomas commented on GitHub (Mar 31, 2022):

The fix should be live in ~10 minutes. Do let us know if the issue still persists even after that.

<!-- gh-comment-id:1084300272 --> @liyasthomas commented on GitHub (Mar 31, 2022): The fix should be live in ~10 minutes. Do let us know if the issue still persists even after that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#759
No description provided.