« first day (3572 days earlier)      last day (216 days later) » 

1:58 PM
Hi everyone! The rules seem to appreciate being straight to the point: I have downloaded a Bootswatch theme for R Shiny, and I have referred to the stylesheet correctly in my code with a tags$link. However, my radio buttons etc still don't look as nice as they do at the Bootswatch page, do I also need to copy their source code for my widgets and put somewhere? I know zero about CSS etc, I'm an R user.
 
2:53 PM
@SimonSimon that might be a bit too broad of a question for chat; it sounds like we would need to see more detail about your configuration. It could be that there's a separate stylesheet needed for the widgets, or as you mention you don't have the same markup that they do
Can you provide a demo from JSFiddle or CodePen for example?
 
3:10 PM
Yes, I realise I'm pushing my luck here :/ I've changed approach now and just use the built-in theme-function in R. I think it may be a compatibility thing between different Bootswatch versions...
In Shiny, I run: theme = bs_theme(version = 5, bootswatch = "pulse")
But my radio buttons etc still look "boring" compared to the nice ones far up to the right here: bootswatch.com/pulse
Maybe I'm wrong, but I think the whole point is that the radio buttons etc should automatically become "nice" when I change the theme? But then on the Bootswatch page it's also possible to copy the source code, so I'm thinking maybe I can manually put that CSS somewhere to get the nice buttons...
(Technically the source code is HTML I guess...)
 
3:58 PM
I found some other packages to do what I want...
I'll let you guys get back to posting XKCDs :D
 
4:54 PM
@SimonSimon you probably are missing the classes on the buttons
CSS applies styles based on selectors; those selectors tell the application (usually a browser) what elements to apply which CSS styles to
by matching them up with classes, IDs, element names, etc. in the markup
 
5:20 PM
Thanks, I will hopefully slowly get some minimal understanding of it! It's kind of a lot to take in coming from just manipulating data in R, to getting R, ggplot, Shiny, styling etc to work together to produce nice interactive graphics! :)
 

« first day (3572 days earlier)      last day (216 days later) »