Components on a drupal site are provided in various ways by modules and themes.
Modules may introduce markup, styles, and javascript that may be customized by a site's theme.
Module components should expose css variables for themes to override, making it easy.
Here's the new docs on how to make your module components compatible with the Default Admin theme: https://www.drupal.org/docs/core-modules-and-themes/core-themes/default…