diff --git a/docs/apps/334-target-app/problem/app.py b/docs/apps/334-target-app/problem/app.py index 0e76f9b..3108c15 100644 --- a/docs/apps/334-target-app/problem/app.py +++ b/docs/apps/334-target-app/problem/app.py @@ -12,7 +12,7 @@ theme = app_theme ) -with ui.sidebar(): +with ui.sidebar(class_="bg-primary-subtle"): ui.input_select( "account", "Account", diff --git a/docs/exercises/express-310-element-themes/problem/app-solution.py b/docs/exercises/express-310-element-themes/problem/app-solution.py index 3108c15..27254eb 100644 --- a/docs/exercises/express-310-element-themes/problem/app-solution.py +++ b/docs/exercises/express-310-element-themes/problem/app-solution.py @@ -9,7 +9,7 @@ ui.page_opts( title="Model scoring dashboard", - theme = app_theme + # theme = app_theme ) with ui.sidebar(class_="bg-primary-subtle"): diff --git a/docs/exercises/express-310-element-themes/problem/app.py b/docs/exercises/express-310-element-themes/problem/app.py index 0e76f9b..4924ee4 100644 --- a/docs/exercises/express-310-element-themes/problem/app.py +++ b/docs/exercises/express-310-element-themes/problem/app.py @@ -9,7 +9,7 @@ ui.page_opts( title="Model scoring dashboard", - theme = app_theme + # theme = app_theme ) with ui.sidebar(): diff --git a/docs/ui-themes-slides.qmd b/docs/ui-themes-slides.qmd index e3ee2f6..612464a 100644 --- a/docs/ui-themes-slides.qmd +++ b/docs/ui-themes-slides.qmd @@ -194,7 +194,7 @@ Assign styles to: ## Adding CSS to a Shiny app -{{< yourview '315-css' >}} +{{< yourview '335-css' >}} ## To link an external style sheet @@ -229,7 +229,7 @@ ui.card_header( ) ``` -# Bootstrap classes +## Bootstrap classes ::: {.callout-tip} Bootstrap provides many predefined CSS classes. These are collections or coordinated style rules, ready to use pass to an element's `class_` parameter.