Skip to content

Beta label is almost invisible #209

Closed

Description

@fmvilas

Describe the bug

The "beta" label near the logo became black and it's almost invisible.

How to Reproduce

Have a look at https://studio.asyncapi.com

Captura de pantalla 2021-12-08 a las 18 42 53

Expected behavior

I was expecting it to be visible. I think it used to be cyan or white 🤔

Activity

  1. added
    bug
    good first issue
    on Dec 8, 2021
  2. magicmatatjahu commented on Dec 8, 2021

    @magicmatatjahu
    Member

    Right! Most likely some patch bump changed the styles, because it was always green 🤔

  3. mcturco commented on Dec 13, 2021

    @mcturco
    Contributor

    @fmvilas @magicmatatjahu it looks like the text-teal-500 class doesn't exist anymore in the default.min.css file (Is that file sourced from the react component?) Comparing the version on @magicmatatjahu's PR with the live version, it looks like a class was added in front of each class, .aui-root which I think is causing some of the styles to fail.

    Screen Shot 2021-12-13 at 11 00 05 AM

    It is interesting too that the text-pink-500 class loads from the tailwind.css source but the text-teal-500 class doesn't. I wonder why?

    (Also, my apologies if this is not my place to investigate, I am interested in learning how the CSS workflow is on our products which is why I am trying to figure out what the bug is here! I hope that is okay 😃 and forgive me if the solution has already been found)

  4. magicmatatjahu commented on Dec 16, 2021

    @magicmatatjahu
    Member

    @mcturco Hey, you are right, it's related to the react-component bump :) And you should not sorry for your investigation, you learn something so it's a + :) In the latest bump of the react-component we changed the scope of classes in component - atm all classes have prefix aui-root to not override another classes in the studio, we use another colors in the component and in the studio - teal-500 exist in the component but not in the studio so due to this colors were "broken"

    default.min.css file (Is that file sourced from the react component?

    Yes :)

    It is already fixed by #190

  5. mcturco commented on Dec 16, 2021

    @mcturco
    Contributor

    Awesome! Thanks for the breakdown @magicmatatjahu and glad the issue is resolved! 😄

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions