Create settings for generate_shiny() or design_app(). Colours must be
opaque six-digit hex values. Text and accent colours must have at least 4.5:1
contrast against the page, panels and derived tints. Fonts come from each
reader's device and use fallbacks; no author-machine font files are needed.
Named fonts may be substituted on other platforms.
Usage
app_design(
accent = "#096B74",
background = "#EDF3F7",
surface = "#FFFFFF",
text = "#182F46",
font = "system",
text_size = 15,
spacing = "comfortable",
radius = 10
)Arguments
- accent
Colour for actions, links and primary estimates.
- background
Page background colour.
- surface
Panel background colour.
- text
Main text colour.
- font
One of
system,arial,verdanaorgeorgia.- text_size
Base interface text size in pixels, from 14 to 20.
- spacing
comfortableorcompact.- radius
Panel corner radius in pixels, from 0 to 16.
