Skip to content

Conversation

@ES-Alexander
Copy link
Collaborator

@ES-Alexander ES-Alexander commented Dec 8, 2024

Diagrams switched from hardcoded colours to now using the following colour variables:

  • --v-water-base
  • --v-detail-base
  • --v-attention-base
  • --v-positive-base
  • --v-neutral-base
  • --v-negative-base
  • --v-outline-base

which can be overwritten using theme styling.

Example:

Screenshot 2024-12-09 at 4 28 50 am

Fixes #2787


Our style guides are inconsistent, so might need a follow-up PR to adjust the BR_COLORs if they're not completely correct.

@ES-Alexander ES-Alexander added the docs-needed Change needs to be documented label Dec 9, 2024
@ES-Alexander ES-Alexander marked this pull request as ready for review December 11, 2024 06:13
@patrickelectric patrickelectric merged commit b98cd01 into bluerobotics:master Dec 11, 2024
@ES-Alexander ES-Alexander deleted the themeable-diagram-colours branch December 11, 2024 23:43
@ES-Alexander ES-Alexander added docs-complete Change documentation has been completed and removed docs-needed Change needs to be documented labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-complete Change documentation has been completed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

core: frontend: explanatory diagrams: use themeable colours

2 participants