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

Add missing foundation colours and deprecate duplicate colour variable #3071

Closed
wants to merge 2 commits into from

Conversation

davidrapson
Copy link
Contributor

Fixes #3031

Adds missing status colours to the foundations documentation. In the process realised that $cads-language__warning-colour is a duplicate of $cads-language__error-colour. I've removed internal references to the duplicate variable and document it as deprecated.

We could simply remove the variable and require applications to replace the reference or leave it for a little while and replace it more gradually. There's no way to add a deprecation warning to a plain variable.

Adds missing status colours to the foundations documentation

Fixes #3031
The `$cads-language__warning-colour` variable is a duplicate of
`$cads-language__error-colour` and is used interchangeably.

Remove internal references to the duplicate variable and document it as
deprecated.
@mrdaniellewis
Copy link

I've also noticed the callout backgrounds are not specified. It looks like they are a 10% mix with white, but seeing this note on Tailwind, it might be better to specify them explicitly.

@mrdaniellewis
Copy link

Also the success background is implemented differently and is a 10% opacity of the foreground rather than a 10% mix of white?

@davidrapson davidrapson closed this Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Foundation colours does not contain the red colour used in error messages
2 participants