Skip to content

page_sidebar() overrides sidebar(bg =) #804

@gadenbuie

Description

@gadenbuie

These rules for .bslib-page-sidebar override the bg argument of sidebar()

.bslib-page-sidebar {
--bslib-page-sidebar-title-color: var(--bs-body-color);
--bslib-page-sidebar-title-bg: var(--bs-body-bg);
> .bslib-sidebar-layout {
@include bslib-sidebar-layout;
}
}

so the following code

page_sidebar(
  sidebar = sidebar(
    bg = "#1E1E1E",
    lorem::ipsum(1)
  ),
  lorem::ipsum(3, 2)
)

results in this app (the text in the sidebar is white).

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions