Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
padding: 6px 0;
transition: opacity 0.3s ease, transform 0.3s ease;
flex-wrap: wrap;
// Opaque background so it doesn't blend with content when scrolling
background: var(--strapi-surface-0);
// Opaque background so it doesn't blend with content when scrolling.
background: var(--strapi-surface-1);
// Ensure background covers full width and hides content scrolling underneath
margin-left: -16px;
margin-right: -16px;
Expand Down Expand Up @@ -93,10 +93,7 @@
}

@include dark {
.switcher {
background: var(--strapi-surface-0);
}

// .switcher background comes from surface-1 (set above), which already adapts.
.button {
color: var(--strapi-neutral-400);

Expand Down
1 change: 0 additions & 1 deletion docusaurus/src/pages/home/home.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
padding-bottom: 96px;
top: calc(var(--ifm-navbar-height) * -1);
padding-top: var(--ifm-navbar-height);
background: var(--strapi-surface-0);
overflow-x: hidden;
}

Expand Down
1 change: 0 additions & 1 deletion docusaurus/src/scss/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ body::before {

/** V3: Smooth background transition */
body {
background: var(--strapi-surface-0);
transition: background var(--strapi-duration-slow) var(--strapi-ease);
}

Expand Down
4 changes: 2 additions & 2 deletions docusaurus/src/scss/_tokens-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:root {
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);

--ifm-background-color: var(--strapi-surface-0);
--ifm-background-color: var(--strapi-surface-1);
--ifm-color-content: var(--strapi-fg-1);
--ifm-font-color-base: var(--strapi-fg-1);

Expand Down Expand Up @@ -56,7 +56,7 @@
// subtle.
--docusaurus-highlighted-code-line-bg: var(--strapi-neutral-150);

--ifm-background-color: var(--strapi-surface-0);
--ifm-background-color: var(--strapi-surface-1);
--ifm-color-content: var(--strapi-fg-1);
--ifm-font-color-base: var(--strapi-fg-1);

Expand Down
1 change: 0 additions & 1 deletion docusaurus/src/scss/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ $selector-color-mode-toggle-wrapper: 'div[class*="ColorModeToggle"]';
--custom-navbar-search-button-width: 266px;

--ifm-navbar-padding-horizontal: var(--custom-navbar-items-gap);
min-height: 64px;
}
}

Expand Down
Loading
Loading