[SCSS] Fix transparent variable values#8966
Merged
mgadewoll merged 2 commits intoelastic:mainfrom Aug 25, 2025
Merged
Conversation
- string syntax is not valid
Collaborator
💚 Build Succeededcc @mgadewoll |
Collaborator
💚 Build Succeeded
cc @mgadewoll |
acstll
approved these changes
Aug 25, 2025
Contributor
acstll
left a comment
There was a problem hiding this comment.
🟢 Working as expected (thanks for providing the codesandbox!)
mgadewoll
added a commit
to elastic/kibana
that referenced
this pull request
Aug 27, 2025
- `@elastic/eui`: `v106.3.0` ⏩ `v106.4.0` - `@elastic/eui-theme-borealis`: `v3.3.1` ⏩ `v3.3.2` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Package updates ## [`v106.4.0`](https://github.com/elastic/eui/releases/v106.4.0) - Added prop `focusTrapProps` on `EuiModal` ([#8945](elastic/eui#8945)) **Bug fixes** - Fixed the syntax of the SCSS variable `$euiColorTransparent` to ensure a valid value ([#8966](elastic/eui#8966)) - Fixed `restrictWidth` not applying to `EuiPageHeaderContent` when only `children` are used as content ([#8965](elastic/eui#8965)) **Accessibility** - Fixed an issue where pressing Shift + Tab on the last tabbable element inside `EuiInputPopover` popover would close the popover unexpectedly ([#8950](elastic/eui#8950)) ### `@elastic/eui-theme-borealis` ## [`v3.3.2`](https://github.com/elastic/eui/releases/v3.3.2) **Bug fixes** - Fixed the syntax of the SCSS variable `$euiColorTransparent` to ensure a valid value ([#8966](elastic/eui#8966))
arup-chauhan
pushed a commit
to arup-chauhan/eui
that referenced
this pull request
Aug 29, 2025
kowalczyk-krzysztof
pushed a commit
to kowalczyk-krzysztof/kibana
that referenced
this pull request
Aug 30, 2025
- `@elastic/eui`: `v106.3.0` ⏩ `v106.4.0` - `@elastic/eui-theme-borealis`: `v3.3.1` ⏩ `v3.3.2` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Package updates ## [`v106.4.0`](https://github.com/elastic/eui/releases/v106.4.0) - Added prop `focusTrapProps` on `EuiModal` ([elastic#8945](elastic/eui#8945)) **Bug fixes** - Fixed the syntax of the SCSS variable `$euiColorTransparent` to ensure a valid value ([elastic#8966](elastic/eui#8966)) - Fixed `restrictWidth` not applying to `EuiPageHeaderContent` when only `children` are used as content ([elastic#8965](elastic/eui#8965)) **Accessibility** - Fixed an issue where pressing Shift + Tab on the last tabbable element inside `EuiInputPopover` popover would close the popover unexpectedly ([elastic#8950](elastic/eui#8950)) ### `@elastic/eui-theme-borealis` ## [`v3.3.2`](https://github.com/elastic/eui/releases/v3.3.2) **Bug fixes** - Fixed the syntax of the SCSS variable `$euiColorTransparent` to ensure a valid value ([elastic#8966](elastic/eui#8966))
qn895
pushed a commit
to qn895/kibana
that referenced
this pull request
Sep 2, 2025
- `@elastic/eui`: `v106.3.0` ⏩ `v106.4.0` - `@elastic/eui-theme-borealis`: `v3.3.1` ⏩ `v3.3.2` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) ## Package updates ## [`v106.4.0`](https://github.com/elastic/eui/releases/v106.4.0) - Added prop `focusTrapProps` on `EuiModal` ([elastic#8945](elastic/eui#8945)) **Bug fixes** - Fixed the syntax of the SCSS variable `$euiColorTransparent` to ensure a valid value ([elastic#8966](elastic/eui#8966)) - Fixed `restrictWidth` not applying to `EuiPageHeaderContent` when only `children` are used as content ([elastic#8965](elastic/eui#8965)) **Accessibility** - Fixed an issue where pressing Shift + Tab on the last tabbable element inside `EuiInputPopover` popover would close the popover unexpectedly ([elastic#8950](elastic/eui#8950)) ### `@elastic/eui-theme-borealis` ## [`v3.3.2`](https://github.com/elastic/eui/releases/v3.3.2) **Bug fixes** - Fixed the syntax of the SCSS variable `$euiColorTransparent` to ensure a valid value ([elastic#8966](elastic/eui#8966))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes invalid
transparentvalues in SCSS. The usage of strings'transparent'is not correct and leads to invalid css output.Affected SCSS variables:
$euiColorTransparent.Why are we making this change?
Fixing incorrect SCSS variables to prevent broken style output.
Screenshots
Impact to users
🟢 There are no updates needed on consumer side
QA
🔗 Testing codesandbox
$euiColorTransparentreturns valid stylespackage.jsonentires tolatestto switch back to the previous broken stateGeneral checklist
Checked in both light and dark modesChecked in both MacOS and Windows high contrast modesChecked in mobileChecked for accessibility including keyboard-only and screenreader modesAdded documentationProps have proper autodocs (using@defaultif default values are missing) and playground togglesChecked Code Sandbox works for any docs examplesAdded or updated jest and cypress testsUpdated visual regression testsIf applicable, added the breaking change issue label (and filled out the breaking change 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)