Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/styles.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Design tokens that used to live in the legacy theming header's shadow root
// (themes/nc-ionos-theme, IONOS/src/style.scss), removed in nc-ionos-theme#67
// without being relocated. simplenavigation is now their only consumer, so it
// owns them. Values restored from a5e6ec2; --color-shadow-header and the
// --ion-color-* palette still come from nc_theming at :root.
:root {
--ion-shadow-header: 0 2px 8px 0 var(--color-shadow-header);
--ion-shadow: 0 4px 8px rgb(0 0 0 / 12%);
--ion-context-menu-title-background: light-dark(
var(--ion-color-blue-b2),
var(--ion-color-cool-grey-c7)
);
}

// Hide NC's default header-start (logo + appmenu) immediately via CSS so it
// never flashes before simplenavigation JS inserts #simplenavigation-logo.
// JS also hides it on DOMContentLoaded as a belt-and-suspenders measure.
Expand Down
Loading