Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output brand colours as variables #469

Open
richardgaunt opened this issue Feb 10, 2025 · 0 comments
Open

Output brand colours as variables #469

richardgaunt opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
State: QA The issue is in QA Type: Feature Issue is a new feature request
Milestone

Comments

@richardgaunt
Copy link
Collaborator

User story

As a developer
I want output brand colours as variables
So that I can override and reuse these colours

Description

At the moment brand colours are not being outputted as variables.

This means in all the places where we use brand colours we can only return a hex value rather than a variable.

We want to be able to override variables and update colours when we extend CivicTheme and so it would make sense that we add this functionality.

Acceptance criteria

Given I am a developer
When I want to use a brand colour
Then I can use the ct-color-light and ct-color-dark to access brand colours

@richardgaunt richardgaunt added the Type: Feature Issue is a new feature request label Feb 10, 2025
richardgaunt added a commit that referenced this issue Feb 10, 2025
Co-authored-by: Alan <alan.cole@salsa.digital>
@github-project-automation github-project-automation bot moved this to Todo in UI Kit Feb 10, 2025
@fionamorrison23 fionamorrison23 moved this from Todo to In Progress in UI Kit Feb 11, 2025
@fionamorrison23 fionamorrison23 added this to the 1.10 milestone Feb 11, 2025
@fionamorrison23 fionamorrison23 added the State: QA The issue is in QA label Feb 11, 2025
@daniel-grynenko daniel-grynenko moved this from In Progress to Done in UI Kit Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
State: QA The issue is in QA Type: Feature Issue is a new feature request
Projects
Status: Done
Development

No branches or pull requests

3 participants