# Bug BNE-76 - Inconsistent contrast for type colors when switching themes

Project: Stream BlockNote extensions
Status: closed
URL: https://community.openproject.org/work_packages/BNE-76

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Documents, Modules and project features / Text editor / BlockNoteJS / OpenProject Extensions |
| Target versions | 17.5.0 |
| Observed in versions | 17.4.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.4.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Ihor Dubas |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Open a page using the editor with `op-blocknote-extensions`
    
2.  Ensure there are inline chips (e.g. work package references) visible
    
3.  Switch between light and dark themes and high contrast and regular contrast
    
4.  Observe the chip colors
    

### What is the buggy behavior?

Type colors for chips do not adapt correctly when switching between light and dark themes.

### What is the expected behavior?

Type colors should adapt correctly to the active theme.
