From 135fffc037a800d18652a76fe2da2de0b70a63b3 Mon Sep 17 00:00:00 2001 From: huangkevin-apr Date: Sat, 10 Jan 2026 15:57:51 +0100 Subject: [PATCH] Fix WCAG AA Color Contrast Violations Signed-off-by: huangkevin-apr --- src/css/custom.css | 4 +++- src/partials/features-zigzag.tsx | 14 +++++++------- src/partials/question-blocks.tsx | 6 +++--- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/css/custom.css b/src/css/custom.css index 550a78828..7d04b90de 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -15,6 +15,7 @@ --github-alert-default-color: rgb(175, 184, 193); --github-alert-warning-color: rgb(154, 103, 0); --github-alert-note-color: rgb(9, 105, 218); + --docsearch-muted-color: #525860; } .footer { @@ -25,6 +26,7 @@ [data-theme='dark'] { --ifm-color-primary: #8D8DFF; --ifm-navbar-background-color: #33363A; + --docsearch-muted-color: var(--ifm-color-secondary-darkest); } .header-github-link:hover { @@ -363,4 +365,4 @@ article:has(.redoc-container) { /* Hide menu border on API viewer pages */ .redoc-container .menu-content { border-right: none !important; -} \ No newline at end of file +} diff --git a/src/partials/features-zigzag.tsx b/src/partials/features-zigzag.tsx index 993578d2d..90f771f23 100644 --- a/src/partials/features-zigzag.tsx +++ b/src/partials/features-zigzag.tsx @@ -91,11 +91,11 @@ function FeaturesZigZag() {
{/* Section header */}
-
+
Open source

Community driven feature flagging

-

+

OpenFeature is an open source CNCF incubating project under the Apache 2 license. Check out the project on{' '} GitHub and consider joining the{' '} OpenFeature community! @@ -126,11 +126,11 @@ function FeaturesZigZag() {

Avoid code-level lock-in

One SDK, any backend

-

+

OpenFeature is designed to work with any feature flag management tool or in-house solution. This enables you to switch between platforms or consolidate multiple platforms much more easily.

-
    +
    • @@ -172,11 +172,11 @@ function FeaturesZigZag() { Developed with the industry

Supports your favorite tools

-

+

OpenFeature has broad industry support, and many of the top open source and commercial tools have created officially-supported providers.

-
    +
    • @@ -217,7 +217,7 @@ function FeaturesZigZag() {
      Ultimate flexibility

      Speaks your language

      -

      +

      OpenFeature supports many of the top programming languages, with more on the way.

      diff --git a/src/partials/question-blocks.tsx b/src/partials/question-blocks.tsx index 0f06456d4..a5dfd9dc4 100644 --- a/src/partials/question-blocks.tsx +++ b/src/partials/question-blocks.tsx @@ -28,7 +28,7 @@ function QuestionBlocks() {

What's a Feature Flag?

-

+

Feature flags are a software development technique that allows teams to enable, disable or change the behavior of certain features or code paths in a product or service, without modifying the source code.

@@ -44,7 +44,7 @@ function QuestionBlocks() {

What's OpenFeature?

-

+

{siteConfig.customFields.description as string}

@@ -60,7 +60,7 @@ function QuestionBlocks() {

Why standardize?

-

+

Standardizing feature flags unifies tools and vendors behind a common interface, avoiding vendor lock-in at the code level. It provides a framework for building extensions and integrations that can be shared across the community.