~/talk

Creating a Design System for Shiny and RMarkdown

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [design-collaboration]
slides:none on file

A reusable R package bundles CSS, JS and R wrappers so Shiny, Quarto and RMarkdown share one visual language: a primary_btn component (CSS rules for normal/hover/focus/disabled), JavaScript ripple effects, and accessible color-contrast rules. Code uses tagListAppendAttribute plus htmltools::htmlDependency and lives in inst/css+js so assets ship with the package. The uploaded design kit includes rendered output and the exact source so components are documented, reproducible and consistent across apps.

AI-written summary · about

  1. 0:00Introduction
  2. 1:32What is a design system
  3. 2:58Color and spacing rules
  4. 4:06Reusable Shiny components
  5. 5:10HTML vs Bootstrap buttons
  6. 6:18Custom button with CSS
  7. 7:26Custom classes and dependencies
  8. 8:27Button states and pseudo selectors
  9. 9:10JavaScript for interactivity
  10. 9:31Design kit walkthrough
  11. 10:33Micro interactions and UI kit
  12. 11:15Resources and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.