GeekyAnts / GeekyAnts/NativeBase

NativeBase: The contrast ratio of 1.9608066408453415:1 for primary.300 on rgba(0, 136, 204, 0.5) falls below the WCAG recommended absolute minimum contrast ratio of 3:1.

Open
#4,783 3 comments 1 reaction 0 assignees View on GitHub
bug stale triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

When using button with primary color && variant 'outline' onPress warning message at the terminal

### CodeSandbox/Snack link

react-native expo template

### Steps to reproduce

1. Use a button with primary color and variant 'outline'
2. Press it.
3. Observe warning message in the terminal.

### NativeBase Version

3.3.7

### Platform

- [ ] Android
- [ ] CRA
- [ ] Expo
- [X] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

When using button with primary color && variant 'outline' onPress warning message at the terminal

NativeBase: The contrast ratio of 1.9608066408453415:1 for primary.300 on rgba(0, 136, 204, 0.5)
falls below the WCAG recommended absolute minimum contrast ratio of 3:1.
https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.