rstudio / shinydashboard

Shiny Dashboarding framework
https://rstudio.github.io/shinydashboard/
Other
893 stars 298 forks source link

Some color is no use in dropdownMenu taskItem #323

Open tytony opened 5 years ago

tytony commented 5 years ago

The documentation of "taskItem" shows that we can use color which is listed in ?validColors for the bar, but I found that only red, yellow, aqua, blue, light-blue and green are effective. If I use other colors, the bar will become blue. I'm not sure is it a bug of taskItem.

roman-tremmel commented 4 years ago

The same here.

sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C                    LC_TIME=German_Germany.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] shinyjs_1.0              readxl_1.3.1             shinyWidgets_0.4.9       shinydashboardPlus_0.7.0
 [5] shinydashboard_0.7.1     DT_0.8                   forcats_0.4.0            stringr_1.4.0           
 [9] dplyr_0.8.3              purrr_0.3.2              readr_1.3.1              tidyr_0.8.3             
[13] tibble_2.1.3             ggplot2_3.2.1            tidyverse_1.2.1          shinyauthr_0.0.99       
[17] shiny_1.3.2             

loaded via a namespace (and not attached):
 [1] tidyselect_0.2.5 haven_2.1.1      lattice_0.20-38  sodium_1.1       colorspace_1.4-1 generics_0.0.2  
 [7] vctrs_0.2.0      htmltools_0.3.6  yaml_2.2.0       utf8_1.1.4       rlang_0.4.0      later_0.8.0     
[13] pillar_1.4.2     glue_1.3.1       withr_2.1.2      modelr_0.1.5     munsell_0.5.0    gtable_0.3.0    
[19] cellranger_1.1.0 rvest_0.3.4      htmlwidgets_1.3  crosstalk_1.0.0  httpuv_1.5.1     fansi_0.4.0     
[25] broom_0.5.2      Rcpp_1.0.2       xtable_1.8-4     promises_1.0.1   scales_1.0.0     backports_1.1.4 
[31] jsonlite_1.6     mime_0.7         hms_0.5.1        packrat_0.5.0    digest_0.6.20    stringi_1.4.3   
[37] grid_3.6.1       cli_1.1.0        tools_3.6.1      magrittr_1.5     lazyeval_0.2.2   crayon_1.3.4    
[43] pkgconfig_2.0.2  zeallot_0.1.0    rsconnect_0.8.15 xml2_1.2.2       lubridate_1.7.4  assertthat_0.2.1
[49] httr_1.4.1       rstudioapi_0.10  R6_2.4.0         nlme_3.1-141     compiler_3.6.1  
>