Skip to content

Adhere to using full color format for hex codes #8214

Closed

Description

@eokoneyo

Is your feature request related to a problem? Please describe.
This is a specific ask relating to the consumption of colors.backgroundBasePlain in light mode in the amsterdam theme, the resolved value is #FFF unlike in borealis where the full color code is specified, this shorthand value is unfortunately not compatible with color expectation of the code editor in use within Kibana and in turn triggers a rendering error, I feel it would much easier for us to change this on our side than reaching out to the monaco team.

See;

Breaks in light color mode for Amsterdam
Image

works in light color mode for Borealis
Image

Describe the solution you'd like
let's specify colors in the full format incase there are also instances like this in the wild.

Describe alternatives you've considered
using a different color for the background, but that doesn't quite go along with the guidance that's already been provided

Desired timeline
soon, as this unfortunately holds up elastic/kibana#202782

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. weronikaolejniczak commented on Dec 11, 2024

    @weronikaolejniczak
    Contributor

    @eokoneyo thanks for reporting this! It's crazy how such a small thing breaks a whole functionality 😅 We're introducing the change on #8211, it's our priority to get it merged and released soon.

  2. tsullivan commented on Dec 16, 2024

    @tsullivan
    Member

    @weronikaolejniczak @mgadewoll since this issue is holding up @elastic/appex-sharedux from signing off on Borealis integration testing, how sure are we that #8211 will resolve the issue? I have taken a look at the PR, and I'm not seeing the particular code change to: "specify colors in the full format."

    I also see a line in a unit test that returns a white background color in the short format: https://github.com/elastic/eui/pull/8211/files#diff-ac5a9d1ad4c59be06bac1e1a0bddcfe5b91cb9e75fe040179e95960577cae5bbR31

  3. mgadewoll commented on Dec 16, 2024

    @mgadewoll
    Contributor

    @tsullivan You're right, we actually missed parts 🙈 The other updates were targeted on Borealis.
    We're adding the update in this PR and it will be added to Kibana shortly with this weeks current release upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions