Skip to content

Conversation

@acstll
Copy link
Contributor

@acstll acstll commented Jun 12, 2025

Summary

In #8769 there was the need to update the color token used for the selected outline in the Data Grid, to be border-strong-primary. In order to make this work in Amsterdam, the value for the token also had to be updated.

In this PR all border-strong-* tokens get an adequate value so they could actually useful beyond the change in the aforementioned PR.

Why are we making this change?

Because it's needed for #8769 and it made sense to make a separate PR.

Screenshots

The codesandbox used to generate and "test" the colors.

The border-strong color is the second in each block e.g. tint(accent, 0.1).

Light Dark
Capture-2025-06-12-231519 Capture-2025-06-12-231536

Impact to users

Minimal to none because these tokens didn't exist previously in Amsterdam, before Borealis.

QA

  • check color selection is appropriate
  • check there are no typos, etc.
  • check new token values are displayed correctly in the docs

@acstll acstll self-assigned this Jun 12, 2025
@acstll acstll added skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) visual refresh labels Jun 12, 2025
@acstll acstll marked this pull request as ready for review June 13, 2025 06:25
@acstll acstll requested a review from a team as a code owner June 13, 2025 06:25
borderStrongAccent: computed(
([borderBaseAccent]) => borderBaseAccent,
['colors.borderBaseAccent']
([accent]) => tint(accent, 0.1),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, looking at the previous usages for border colors in Amsterdam, I'd think we should use the colors without tint. Using the brand colors directly for:

primary
accent
accentSecondary
success
warning
danger

And for neutral and risk I think we could use the severity colors directly then as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I trust you blindly on this one, will update 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 9dd5924

@acstll acstll force-pushed the border-strong-ams branch from 05c202c to 9dd5924 Compare June 13, 2025 10:17
@acstll acstll requested a review from mgadewoll June 13, 2025 10:39
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @acstll

@acstll acstll requested a review from mgadewoll June 13, 2025 13:45
Copy link
Contributor

@mgadewoll mgadewoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Changes looking good, the output makes sense. Thanks for the update!

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @acstll

@acstll acstll merged commit 3b92b83 into elastic:main Jun 16, 2025
5 checks passed
@acstll acstll deleted the border-strong-ams branch June 16, 2025 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) visual refresh

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants