cssreactjsantdcustom-theme

What does "gx-" prefix stands for in ant design


I am working on a reactjs app and was looking for editing the font size of some specific text and found the class gx-fs-sm. That should suffice what I need, but I am still trying to understand what the prefix "gx-" stands for. Is it something that can be changed or is much more for not colliding with other frameworks or custom classes that you may already be using ?

Looking over the documentation I did not get to the answer in the time I had and therefore this question. If you have other resource/article that explain succinctly the logic behind, please do share!


Solution

  • As per @LGSon comment, after more digging I found out that the gx- prefix is not an antd design class. The app is build on top of Wieldy custom theme and the class is added by it. The prefix is declared in /src/styles/global/variables.less.

    (Note: While I believe this is trivial for frontend devs, still it is an answer to my question)