sentry-docs icon indicating copy to clipboard operation
sentry-docs copied to clipboard

some rust variables disappearing against code block background

Open imatwawana opened this issue 3 years ago • 0 comments

Core or SDK?

Platform/SDK

Which part? Which one?

Rust

Description

The word dependencies in the install code block on the page below is present, but not showing up against the dark background of the code snippet: https://docs.sentry.io/platforms/rust/#install

image image

This happens in:

  • Chrome version: 100.0.4896.88
  • Firefox version: 98.0 (20220304153049)
  • Safari version 15.4 (17613.1.17.1.13)

Suggested Solution

This is likely an issue with the syntax formatting that’s been set for a toml file in our repo, specifically when it's one word in square brackets. The library controlling this is likely picking a very dark colour that’s making it impossible to see the text on the dark background of the code block. This either needs to be changed in the library directly or overridden.

imatwawana avatar Apr 21 '22 15:04 imatwawana