1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

docs: adjust primary color scale, fix search dropdown a11y issues

This changes the darker end of the primary color scale to make it even
darker. This means that at the lower end of the scale, white text also
gets enough contrast to be accessible.

For the record: these variables do not seem to be in use anywhere else
in the code base (based on a text search), so it shouldn't affect any
other bits or pieces.
This commit is contained in:
Thomas Heartman 2022-02-14 11:43:05 +01:00
parent 30682070e7
commit 63cd0d229e

View File

@ -42,9 +42,9 @@ html[data-theme='dark'] {
--ifm-color-primary-lighter: #c9c9ff;
--ifm-color-primary-light: #c2c0ff;
--ifm-color-primary: #bab8ff;
--ifm-color-primary-dark: #b2afff;
--ifm-color-primary-darker: #aba7ff;
--ifm-color-primary-darkest: #a39eff;
--ifm-color-primary-dark: #a09de4;
--ifm-color-primary-darker: #8582c9;
--ifm-color-primary-darkest: #6b67ae;
--unleash-color-purple: var(--ifm-color-primary);
--unleash-color-gray: #333;
@ -57,8 +57,9 @@ html[data-theme='dark'] {
--ifm-color-secondary-contrast-background
);
--unleash-img-background-color: #fff;
--docsearch-primary-color: var(--ifm-color-primary-darkest);
}
main img {