Skip to content

Error message text color is too subtle with Bootstrap 5 #4000

@cpsievert

Description

@cpsievert

In #3914, the text color of error messages changed from red to --bs-danger-text-emphasis, which I think was designed to be put on a danger bg, and IMO is too close to black for error messages. Perhaps --bs-danger would be better @gadenbuie?

library(shiny)
library(bslib)

ui <- page_fixed(
  textOutput("foo")
)

server <- function(input, output, session) {
  output$foo <- renderText({1+"a"})
}

shinyApp(ui, server)
Screenshot 2024-03-19 at 5 29 40 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions