Every raw-Shiny entry point (ptr_app(), ptr_app_grid(),
ptr_ui(), ptr_shared_panel()) accepts a css = argument: a character vector of
paths to .css files. Each path's parent directory is registered as a
Shiny resource under a hash-derived prefix, and one <link> tag is
emitted per file. User stylesheets are linked after ggpaintr's
bundled stylesheet, so rules at equal specificity win.
Details
The bundled stylesheet exposes its theme as CSS custom properties
under the .ptr-app selector. Override any subset of these in a
user-supplied stylesheet to retheme without touching individual rules.
Tokens
--ptr-bgApp background. Default
#fafbfc.--ptr-surfaceCard / sidebar background. Default
#ffffff.--ptr-borderStandard border colour. Default
#e7e9ee.--ptr-inkBody text colour. Default
#1f2530.--ptr-mutedMuted / secondary text. Default
#6b7280.--ptr-accentPrimary accent (action button bg). Default
#c1372c.--ptr-accent-strongHover / active accent. Default
#9a2b22.--ptr-accent-weakFaint accent tint. Default
rgba(193,55,44,0.13).--ptr-accent-lineAccent border. Default
rgba(193,55,44,0.22).--ptr-radiusLarge radius (cards, sidebar). Default
10px.--ptr-radius-smSmall radius (buttons, controls). Default
7px.--ptr-shadowCard shadow. Default two-layer drop.
--ptr-shadow-lgFloating-window shadow. Default two-layer drop.
--ptr-fontUI font stack. Default system-ui stack.
--ptr-monoMono font stack. Default system mono stack.
