1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/website/docs
Thomas Heartman 335374aa6d
docs(a11y): update syntax highlighting theme to fix contrast issues (#3341)
This PR changes the syntax highlighting theme we use in the docs. The
reason for the change is that the previous theme we used didn't have
sufficient color contrast between its comment strings and its
background.

## Options

I decided to use the Oceanic Next color theme that is included with
docusaurus. Looking through, the only other dark theme that also passed
AA contrast checks was VS Dark. The reason I picked Oceanic over VS Dark
is simply that I like it better.

For demonstration, here's what the Oceanic theme looks like:

![image](https://user-images.githubusercontent.com/17786332/225867069-f0d9c721-8927-4e70-984e-b9160992811b.png)

And here's the VS Dark theme:

![image](https://user-images.githubusercontent.com/17786332/225867089-6dac9cb2-6ebb-4b9e-ae5c-3be9956cbf60.png)


## Bonus change

The PR also includes a fix to render a pricing admonition correctly.
It's not related to the PR, but I noticed it rendered incorrectly while
I was working on it.
2023-03-17 12:19:13 +02:00
..
contributing Update overview.md, fix typo (#3039) 2023-02-03 16:04:11 +01:00
how-to docs: login history (#3261) 2023-03-08 19:08:50 +00:00
migrations
reference docs: clarify that we don't support multi-host db urls (#3312) 2023-03-17 10:13:08 +01:00
topics Source proxy and Edge docs from GitHub (#3122) 2023-02-16 13:36:28 +01:00
tutorials docs(a11y): update syntax highlighting theme to fix contrast issues (#3341) 2023-03-17 12:19:13 +02:00
about-the-docs.md Docs(fix): broken links (#2797) 2023-01-03 11:27:45 +01:00
client-specification.md