rstudio / rstudio/bslib

run_with_themer() style depends on browser

Open
#954 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
SCSS
Stars
569
Forks
72
Avg merge
1d 2h
Merged PRs (30d)
5

Description

I have tried bslib::run_with_themer() in chrome, firefox and safari.

The bootstrap and shiny themes are examples where they are very similar, but not identical.

bootstrap

shiny

The cosmo theme is an example where they are wildly different.

cosmo

The chrome version is the closest to reality because that's what I see in all browsers if I actually run the app with a theme (bs_theme(preset = "cosmo")).

R version 4.3.0 (2023-04-21)
Platform: aarch64-apple-darwin20.0.0 (64-bit)
Running under: macOS Ventura 13.6.2
bslib_0.6.1.9000

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the run_with_themer() entry point and compare its Bootstrap, Shiny, and Cosmo previews in Chrome, Firefox, and Safari against an app using bs_theme(preset = "cosmo"). Trace the browser-specific styling difference and confirm that the themer preview matches the rendered themed app consistently across browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, r, scss
Domain
design, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.