You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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)
@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?
Activity
magicmatatjahu commentedon Dec 8, 2021
Right! Most likely some patch bump changed the styles, because it was always green 🤔
mcturco commentedon Dec 13, 2021
@fmvilas @magicmatatjahu it looks like the
text-teal-500class doesn't exist anymore in thedefault.min.cssfile (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-rootwhich I think is causing some of the styles to fail.It is interesting too that the
text-pink-500class loads from thetailwind.csssource but thetext-teal-500class 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)
magicmatatjahu commentedon Dec 16, 2021
@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-rootto not override another classes in the studio, we use another colors in the component and in the studio -teal-500exist in the component but not in the studio so due to this colors were "broken"Yes :)
It is already fixed by #190
mcturco commentedon Dec 16, 2021
Awesome! Thanks for the breakdown @magicmatatjahu and glad the issue is resolved! 😄