glamour icon indicating copy to clipboard operation
glamour copied to clipboard

Chroma color rendering different than other color rendering

Open stelcodes opened this issue 3 years ago • 0 comments

Hi there. I'm noticing that my Chroma colors don't quite match up with the other colors defined in my style.json when rendered. Here I have my code color and background matching with code_block, but the colors do not match.

Screen Shot 2021-10-07 at 3 36 01 PM

Relevant section of style.json:

  "code": {
    "color": "#a3be8c",
    "background_color": "#4c566a",
    "prefix": " ",
    "suffix": " "
  },
  "code_block": {
    "margin": 2,
    "chroma": {
      "text": {
        "color": "#a3be8c",
        "background_color": "#4c566a"
      }
  }

Whole style.json: https://gist.github.com/stelcodes/10f38fc192c812708323f10ce6be2c55

I'm using:

  • alacritty 0.9.0
  • glow version 1.4.1
  • MacOS 11.5.2

stelcodes avatar Oct 07 '21 22:10 stelcodes