Join GitHub today
Use WGAC compliant color for syntax highlighting #256
@vernondegoede It's definitely an improvement!
Didn't know about WGAC, nice.
My IDE is using more colors for php (is this what your comment is about @mattijsbliek ?), but I think this color combination strikes a nice balance between readability and the Mollie design colors. The php examples are simple, as in do not contain class or function definitions.
So it seems really good to me. My eyes are happy.
@mattijsbliek Design chose to make all requests (or code examples blue) and responses yellow. However, since the primary colour is not that readable, I checked what the closest WGAC compliant code was and made our syntax highlighting use that one.
Team Design will probably revamp this page in the future and introduce proper syntax highlighting. I believe this is fine until then.