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
I tried out the theme in ember-container-query, and think that Percy failed due to global styles from qunit-theme-ember overriding mine.
Before making qunit-theme-ember the default in v9, can we ensure that:
The library doesn't apply styles globally (e.g. set font-family in <body>), but only to the DOM elements for qunit and ember-qunit using ID or class selectors.
The CSS variables have a namespace (e.g. --qunit-theme-ember-color-brand) to avoid name collisions.
Nice to do: The qunit-theme-ember repo, which is already a monorepo, has a test Ember app with Percy (for continuous integration).
The text was updated successfully, but these errors were encountered:
Ditto this. Verified in a different visual regression suite (Get Snappy); the fonts from this theme is also being applied to text in my application, which then shows up as a diff in the snapshots.
@IgnaceMaes, it is like the crux is the namespace to make the style distinct and avoid collision.
This means refactoring the variables by prefixing the suggested namespace --qunit-theme-ember to the variables and reflecting it where they are applied will fix this issue. If there is clarity on the issue, I can take it up.
Hi. In case you might have missed my feedback in
ember-qunit
:I tried out the theme in
ember-container-query
, and think that Percy failed due to global styles fromqunit-theme-ember
overriding mine.Before making
qunit-theme-ember
the default inv9
, can we ensure that:font-family
in<body>
), but only to the DOM elements forqunit
andember-qunit
using ID or class selectors.--qunit-theme-ember-color-brand
) to avoid name collisions.qunit-theme-ember
repo, which is already a monorepo, has a test Ember app with Percy (for continuous integration).The text was updated successfully, but these errors were encountered: