Skip to contents

Creates a customized Bootstrap 5 theme using {bslib} with Artalytics branding. Configures colors, typography, spacing, and shadows for consistent styling across the browse interface.

Use this theme when running the standalone test app via [run_app()]. When embedded in `appPlatform`, the parent app's theme takes precedence.

The theme sets: - Primary color: Purple (#6366f1) for accents and interactive elements - Secondary color: Gold (#f59e0b) for highlights - Rounded corners and subtle shadows for card elements - Compact typography (0.9375rem base) for information density

Usage

modBrowse_theme()

Value

A [bslib::bs_theme()] object configured for Bootstrap 5 with Artalytics styling. Pass to `bslib::page_fluid()` or similar.

Examples

if (FALSE) { # \dontrun{
library(bslib)

ui <- page_fluid(
  theme = modBrowse_theme(),
  modBrowseUI("browse")
)
} # }