# Bug OP-14401 - Inconsistent green buttons / custom color settings are not applied to project create button

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.4.0 |
| Observed in versions | 13.3.0 |
| Sprint | 13.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.3.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 |  |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Problem:

The introduction of the Primer buttons in the application brought even more differences between the buttons in it:

  - Two types of green for buttons in the OP Theme.
  - There is no option to have two different colour of Primary buttons in Primer.
  - The current Primer buttons do not adapt to the theming that clients created.

### Screenshots:

<img class="op-uc-image op-uc-image_inline" style="width:511px;" src="/api/v3/attachments/92621/content"> <img class="op-uc-image op-uc-image_inline" style="width:516px;" src="/api/v3/attachments/92762/content">

### **Acceptance criteria**

  - Always the "Primer Green" for primary buttons. This decision is taken due to AA contrast ratio and the already implemented green chosen in the public website.
  - Replace the current "OpenProject Green" to "Primer Green" in all buttons (including the remaining SPOT buttons or OP buttons).
  - ~~In Administration -\> Design:~~ Tracked in <mention class="mention" data-id="53309" data-type="work_package" data-text="#53309">\#53309</mention>  
      - ~~Both "Primary" and "Accent" colour tokens will be combined and renamed to "Primary button". This will force that all primary buttons in the app follow a single colour as Primer requests.~~
      - ~~The colour token "Primary dark" is removed as primer already provides the calculation for hover and pressed for the buttons (like we already do for alternative colour on hover).~~
  - ~~For the migration of all those clients who are already using custom theming the current value for "Accent" will be the one used in "Primary button".~~

### Out of scope

  - Make Primer links follow custom themes
  - Tackle the very few remaining (on the home page) outlined buttons in the app in
