We are building a custom Drupal 8 module, but we want control over the admin styling of it. For example style the default links above our table, convert the word -MISSING- to a proper icon, etc.
All can be easily done with CSS and Twig, but the problem is how do you overwrite it? We want to keep using the default seven admin template. So all CSS and Twig has to be inside the module I guess. Otherwise a new user that installs our module don't get the new templates.
Update We think the hook_thme method was the way to go, but still no succes to overwrite the classy/seven block:
function ejb_project_theme() {
$theme['block'] = [
'template' => 'block',
];
$theme['block__ejb_project'] = [
'template' => 'block',
];
$theme['block--ejb_project'] = [
'template' => 'block',
];
$theme['page--block'] = [
'template' => 'block',
];
return $theme;
}