headings: DJPR title boxes

headingsR Documentation

DJPR title boxes

Description

DJPR title boxes

Usage

djpr_h1_box(
  heading,
  ...,
  width = 12,
  colour = djprtheme::djpr_royal_blue,
  text_colour = "#FFFFFF"
)

djpr_h2_box(
  heading,
  ...,
  width = 12,
  colour = djprtheme::djpr_royal_blue,
  text_colour = "#FFFFFF"
)

djpr_h3_box(
  heading,
  ...,
  width = 12,
  colour = djprtheme::djpr_royal_blue,
  text_colour = "#FFFFFF"
)

djpr_h4_box(
  heading,
  ...,
  width = 12,
  colour = djprtheme::djpr_royal_blue,
  text_colour = "#FFFFFF"
)

Arguments

heading

text for heading

...

additional contents for the box

width

width of box on 1 to 12 scale (bootstrap grid)

colour

Colour for the box as css specification

text_colour

colour for text as css specification

Value

HTML element


djpr-data/djprshiny documentation built on May 14, 2023, 1:15 p.m.