Skip to content

Conversation

@acstll
Copy link
Contributor

@acstll acstll commented Jul 6, 2025

Summary

Implements https://github.com/elastic/eui-private/issues/195

Important

This PR targets a feature branch!

Changes

  • Added new shadow tokens f48fbfc
  • Defined shadow tokens for Amsterdam, based on values from original mixins bbea477
    • in Amsterdam nothing should have changed
    • added a flat token to keep euiShadowFlat unchanged
    • in Borealis, flat falls back to xs
  • Updated mixins to use the new tokens
  • Added a docs page to Theming / Tokens / Shadows
  • Added tokens as JSON, Borealis-only
  • Added tokens as SCSS and update mixins
  • Deprecated because undocumented and/or no longer needed
    • euiSlightShadowHover
    • euiShadowFlat
    • EuiShadowOptions.color
    • EuiShadowCustomColor
  • Added unit test to ensure overrides in theme.modify work as expected
  • Updated VRT

Why are we making this change?

Screenshots

Impact to users

QA

Remove or strikethrough items that do not apply to your PR.

General checklist

  • Browser QA
    • Checked in both light and dark modes
    • Checked in both MacOS and Windows high contrast modes
    • Checked in mobile
    • Checked in Chrome, Safari, Edge, and Firefox
    • Checked for accessibility including keyboard-only and screenreader modes
  • Docs site QA
  • Code quality checklist
  • Release checklist
    • A changelog entry exists and is marked appropriately.
    • If applicable, added the breaking change issue label (and filled out the breaking change checklist)
  • Designer checklist
    • If applicable, file an issue to update EUI's Figma library with any corresponding UI changes. (This is an internal repo, if you are external to Elastic, ask a maintainer to submit this request)

@acstll acstll self-assigned this Jul 6, 2025
@acstll acstll added the skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) label Jul 6, 2025
@acstll acstll force-pushed the borealis-shadow-tokens branch from 5df7d06 to fe0380c Compare July 17, 2025 10:20
@acstll
Copy link
Contributor Author

acstll commented Jul 17, 2025

I completely messed up this one (by rebasing onto main)… :this-is-fine: — I will start fresh and close this

@acstll acstll force-pushed the eui-theme/borealis-v2-poc branch from 78264e6 to 01bb199 Compare July 17, 2025 13:27
@acstll acstll force-pushed the borealis-shadow-tokens branch from fe0380c to 2a5c170 Compare July 17, 2025 13:34
@elasticmachine
Copy link
Collaborator

💔 Build Failed

Failed CI Steps

History

cc @acstll

@acstll
Copy link
Contributor Author

acstll commented Jul 17, 2025

Closing in favor of #8880 (sorry)

@acstll acstll closed this Jul 17, 2025
@acstll acstll deleted the borealis-shadow-tokens branch July 17, 2025 13:53
@elasticmachine
Copy link
Collaborator

💔 Build Failed

Failed CI Steps

History

cc @acstll

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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants