apache / apache/amoro

fix: low-contrast secondary text color in global theme token

Open Beginner friendly
#4,157 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.2k
Forks
395
Avg merge
4d 10h
Merged PRs (30d)
33

Description

## Description

The LESS variable `text-color-secondary` is set to `#c0c0ca`, which has poor contrast on light backgrounds (commonly white in Ant Design layouts). Because this token is used globally, secondary labels, helper text, and metadata can become hard to read for low-vision users and may fail WCAG AA contrast requirements.

**Severity**: `medium`
**File**: `amoro-web/vite.config.ts`

## Expected Behavior

The code should handle this case properly to avoid unexpected errors or degraded quality.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting amoro-web/vite.config.ts and locating the LESS variable text-color-secondary. Check the replacement color against the stated light-background contrast requirement and verify that the global secondary labels, helper text, and metadata remain readable and meet WCAG AA contrast expectations.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.