In my current setup, I have two main projects with different base font sizes - one at 14px and the other at 10px. Both of these projects utilize Tailwind CSS. The issue arises when using classes like text-base and text-sm for font sizes within each project, as they are dependent on rem units which in turn rely on the root font size.
Additionally, I have developed an npm package using Rollup, Tailwind, and React, which is being used in both of my main projects. In this npm package, I specifically want the base font size to be set at 16px only for its UI components. However, when viewing the final output, the code inside the npm package ends up inheriting the base font size from the main project it's being used in.
So my query is whether there exists a solution to setting separate base font sizes for the npm package and the main project individually?