Not getting text colored using bslib but works with shiny
Open
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 569
- Forks
- 72
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 5
Description
Describe the problem
library(shiny)
ui <- page_fluid(
tags$style(HTML("
@import url('https://fonts.googleapis.com/css2?family=Henny+Penny&family=Nosifer&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nosifer&display=swap');
.irs--shiny, .irs-min, .irs--shiny, .irs-max, .irs-single, .irs-to, .irs-from, .irs-grid-text, .js-irs-0 {
font-family: 'Nosifer', sans-serif;
color: red;}"
)),
sliderInput("a", "a", 10, 100, 50)
)
server <- function(input, output, session) {
}
shinyApp(ui, server)```
page_fluid:

pageFluid

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example using page_fluid, fluidPage, tags$style, and sliderInput, then compare the generated HTML and applied styles. Trace how page_fluid handles the inline CSS and verify that the font and red color apply there while preserving the existing fluidPage behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100