Closed
Description
We should add this to primer-base
to better support custom elements, and potentially increase the selector specificity to override our d-*
utility classes. This will encourage custom elements and JS behaviors to toggle visibility with the hidden
attribute rather than toggling the d-none
utility class.
As more custom elements are extracted from github.com and designed to function separately from Primer, and as we consider other environments (such as React), we might even discuss deprecating d-none
entirely. 😬
/cc @muan
Activity