# Bug OP-17460 - Checked checkboxes in Primer components have wrong border color when choosing an accent color

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-17460

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system |
| Target versions | 16.2.1 |
| Observed in versions | 16.2.0 |
| Sprint | 16.2.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | OP Dev Dream Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Set a non-default accent color in the "Design" settings (e.g. red or green)

2.  Look at a primer component with checkboxes
    
    1.  a tree view component with checkboxes (e.g. the new one used at `/types/:id/projects/edit`)
    
    2.  or a simple form `types/:id/settings/edit`

### What is the buggy behavior?

The border of a checked checkbox is still blue-ish and does not match the accent at all.

<img class="image_resized op-uc-image op-uc-image_inline" style="width:478px;" src="/api/v3/attachments/713229/content">

### 

<img class="image_resized op-uc-image op-uc-image_inline" style="width:410px;" src="/api/v3/attachments/713233/content">

### What is the expected behavior?

The border of checkboxes should somehow match the chosen accent. E.g. old non-primerized checkboxes seem to match border color to accent color:

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/713234/content">

### 

In my opinion taking the accent color and darkening it might look nicer, or using a greyscale color (black-ish), because that's easy to combine with any other color.

But I don't care too much, as long as the colors do match somehow.
