-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In theme.css we define base styles for the component library using :root. When this library is installed into a project, these styles will apply to the :root of that project.
To Reproduce
This library uses a base font-size of 14px. We'll use the steps below to show that gets applied to the entire web app.
- Create a new web app, or use a pre-existing one where you can install this library.
- Note the value of
1remin the web app. This can be done by setting the font-size of some text to1remand inspecting it using dev tools. This will probably be16pxas that is the default for most apps. (See screenshot on where to find the pixel value for the font-size for the text). If for some reason this value is14pxthis example to reproduce this issue will not work. - Install this library into the project
- Inspect the same text, and note that the font-size is now
14px.
Expected behaviour
It would be expected that installing this library would not affect any styling outside of the components in this library.
Desktop (please complete the following information):
- OS: MacOS
- Browser Chrome
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working