First pass improving the PluginHeader

Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
Charles de Dreuille
2026-03-21 10:14:44 +00:00
parent d36a6828d9
commit 49ffe8ae6b
8 changed files with 418 additions and 254 deletions
+31 -23
View File
@@ -183,21 +183,6 @@
font-weight: var(--bui-font-weight-regular);
}
.bui-PluginHeaderToolbarWrapper {
padding: 0;
height: 32px;
border: none;
background: none;
}
.bui-PluginHeaderTabsWrapper {
margin: 0;
padding: 0;
margin-left: -8px;
border: none;
background: none;
}
.bui-Input {
border-radius: var(--bui-radius-3);
}
@@ -228,14 +213,6 @@
--bui-border-success: #53db83;
--bui-ring: rgba(0, 0, 0, 0.2);
.bui-HeaderToolbarWrapper {
border: 1px solid var(--bui-border-2);
}
.bui-HeaderTabsWrapper {
border: 1px solid var(--bui-border-2);
}
}
[data-theme-mode='dark'][data-theme-name='spotify'] {
@@ -266,3 +243,34 @@
--bui-ring: rgba(255, 255, 255, 0.2);
}
/*
* Plugin header (@backstage/ui) and story shell header — kept at the bottom of
* this file for easier scanning alongside other component overrides above.
*/
[data-theme-name='spotify'] {
.bui-PluginHeaderToolbar {
padding: 0;
height: 32px;
border: none;
background: none;
margin-bottom: var(--bui-space-2);
}
.bui-PluginHeaderTabsWrapper {
margin: 0;
padding: 0;
border: none;
background: none;
}
}
[data-theme-mode='light'][data-theme-name='spotify'] {
.bui-HeaderToolbarWrapper {
border: 1px solid var(--bui-border-2);
}
.bui-HeaderTabsWrapper {
border: 1px solid var(--bui-border-2);
}
}