Skip to content

Commit

Permalink
feat: use BS v5
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelhay committed Jan 16, 2023
1 parent bc73c9b commit cb73ce9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inst/acorn/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ cols_aware <- c("Access" = "#2c3e50",
"Reserve" = "#e74c3c",
"Unknown" = "#969696")

acorn_theme <- bs_theme(version = 4, bootswatch = "flatly", "border-width" = "2px")
acorn_theme_la <- bs_theme(version = 4, bootswatch = "flatly", "border-width" = "2px", base_font = "Phetsarath OT")
acorn_theme_vn <- bs_theme(version = 4, bootswatch = "flatly", "border-width" = "2px", base_font = "Arial")
acorn_theme <- bs_theme(version = 5, bootswatch = "flatly", "border-width" = "2px")
acorn_theme_la <- bs_theme(version = 5, bootswatch = "flatly", "border-width" = "2px", base_font = "Phetsarath OT")
acorn_theme_vn <- bs_theme(version = 5, bootswatch = "flatly", "border-width" = "2px", base_font = "Arial")

hc_export_kind <- c("downloadJPEG", "downloadCSV")
hc_acorn_theme <- hc_theme_google() # mirror in startup.R, highchart_sir.R and highchart_sir_evolution.R
Expand Down Expand Up @@ -110,7 +110,7 @@ ui <- page(
shinyjs::useShinyjs(),
page_navbar(
theme = acorn_theme,
title = a(img(src = "logo_acorn.png", style = "height: 45px; position: relative;")),
title = a(img(src = "logo_acorn.png", style = "height: 58px; padding: 5px; position: relative;")),
id = "tabs",
selected = "welcome",
window_title = "ACORN | A Clinically Oriented antimicrobial Resistance Network",
Expand Down

0 comments on commit cb73ce9

Please sign in to comment.