Description Usage Arguments Value
View source: R/add_box_colour.R
This function generates the css code to support additional box colours
1 2 3 4 5 |
name |
The name of the colour. If missing, '.prefix' is prepended. |
bg |
The background colour defined as a colour name, hexadecimal string or a positive integer as supported by the 'col2rgb()' function. |
header_bg |
The optional background colour of the header bar. If missing, the function will define it. |
text |
The optional text colour. If missing, the function will determine if the text should be rendered in black or white. |
header_text |
The optional header bar text colour. If missing, the function will determine if the text should be rendered in black or white. |
.prefix |
[character(1): "bg-"] |
css code to be included in the ioslides_plus HTML document.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.