Skip to content

[BUG] Dump payload in dark mode #2

@willemvb

Description

@willemvb

Describe the bug

See spatie/ray#686
The Dump payload doesn't seem to render well in dark mode.

Not 100% sure, but I guess it's related to these styles: https://github.com/octoper/go-ray/blob/main/payloads/DumpPayload.go#L12-L19

To Reproduce

  • Switch to dark mode
  • Render an array
  • Notice the light text on light background

Expected behavior

  • Light text on dark background

Additional context

Instead of the inline styles, you might use the code CSS class we use in Ray to render code blocks to have a variable background.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions