Skip to contents

Use this function to style the appearance of the landing page for the password-protected HTML file.

Usage

stylize(
  header_text = "PLEASE ENTER THE PASSWORD",
  placeholder_text = "",
  button_text = "SUBMIT",
  font_family = "-apple-system",
  font_size = "16px",
  title_color = "#2d3737",
  background_color = "#f2f2f2",
  box_color = "#ffffff",
  btn_font_color = "#ffffff",
  btn_bg_color = "#19A974",
  btn_hover_color = "#137752",
  modal_overlay = "rgba(0, 0, 0, 0.6)",
  modal_box_color = "#ffffff",
  modal_title_color = "#137752",
  modal_font_color = "rgba(0, 0, 0, 0.8)"
)

Arguments

header_text

Header text.

placeholder_text

Password input placeholder text.

button_text

Button text.

font_family

Font family.

font_size

Font size.

title_color

Title font color.

background_color

Background color.

box_color

Box color.

btn_font_color

Button font color.

btn_bg_color

Button background color.

btn_hover_color

Button hover color.

modal_overlay

Modal overlay color.

modal_box_color

Modal box color.

modal_title_color

Modal title font color.

modal_font_color

Modal text font color.

Value

A list with class fidelius_styling.

Examples


stylize(font_family = "Times")
#> $header_text
#> [1] "PLEASE ENTER THE PASSWORD"
#> 
#> $placeholder_text
#> [1] ""
#> 
#> $button_text
#> [1] "SUBMIT"
#> 
#> $font_family
#> [1] "Times"
#> 
#> $font_size
#> [1] "16px"
#> 
#> $title_color
#> [1] "#2d3737"
#> 
#> $background_color
#> [1] "#f2f2f2"
#> 
#> $box_color
#> [1] "#ffffff"
#> 
#> $btn_font_color
#> [1] "#ffffff"
#> 
#> $btn_bg_color
#> [1] "#19A974"
#> 
#> $btn_hover_color
#> [1] "#137752"
#> 
#> $modal_overlay
#> [1] "rgba(0, 0, 0, 0.6)"
#> 
#> $modal_box_color
#> [1] "#ffffff"
#> 
#> $modal_title_color
#> [1] "#137752"
#> 
#> $modal_font_color
#> [1] "rgba(0, 0, 0, 0.8)"
#> 
#> attr(,"class")
#> [1] "fidelius_styling"