HTML and CSS for R Users
summary
Shows that a few literal HTML/CSS snippets unlock features in familiar R tools: span tags with style="color:#hex" lets ggtext color individual words in ggplot titles, GT tables accept a CSS overlay to add gradients and borders, and Shiny layouts use CSS grid for custom UI. Quarto themes change by dropping a .scss file and setting Quarto scss variables (primary/secondary colors, code-bg). Several working examples are built and demonstrated, including a styled table, colored plot title, and a small habit-tracker app.
AI-written summary · about
chapters (4)
related talks
23mStyling Shiny apps with Sass and Bootstrap 4
05mLeveraging CSS to Make Shiny Mobile-Responsive
19mshinyGovStyle- accessible gov design in RShiny
32mFall In Love With CSS
51mArt of CSS
47mCSS Rises from the Ashes: (Re)Make Friends with Your Stylesheet
57mDo It With Style: Rethinking CSS
05mLeveraging CSS to Make Shiny Mobile-Responsive
