sign_in_ui_default: Default UI styles for the Sign In & Registration pages

View source: R/sign_in_ui_default.R

sign_in_ui_defaultR Documentation

Default UI styles for the Sign In & Registration pages

Description

Default styling for the sign in & registration pages. Update the sign_in_ui_default() arguments with your brand and colors to quickly style the sign in & registration pages to match your brand.

Usage

sign_in_ui_default(
  sign_in_module = sign_in_module_ui("sign_in"),
  color = "#5ec7dd",
  company_name = "Your Brand Here",
  logo_top = tags$div(style = "width: 300px; max-width: 100%; color: #FFF;", class =
    "text-center", h1("Your", style = "margin-bottom: 0; margin-top: 30px;"), h1("Brand",
    style = "margin-bottom: 0; margin-top: 10px;"), h1("Here", style =
    "margin-bottom: 15px; margin-top: 10px;")),
  logo_bottom = NULL,
  icon_href = "polish/images/polished_icon.png",
  background_image = NULL,
  terms_and_privacy_footer = NULL,
  align = "center",
  button_color = NULL,
  footer_color = "#FFF"
)

Arguments

sign_in_module

UI module for the Sign In & Registration pages.

color

hex color for the background and button.

company_name

your company name.

logo_top

HTML for logo to go above the sign in panel.

logo_bottom

HTML for the logo below the sign in panel.

icon_href

the URL/path to the browser tab icon.

background_image

the URL/path to a full width background image. If set to NULL, the default, the color argument will be used for the background instead of this image.

terms_and_privacy_footer

links to place in the footer, directly above the copyright notice.

align

The horizontal alignment of the Sign In box. Defaults to "center". Valid values are "left", "center", or "right"

button_color

the color of the "Continue", "Sign In", and "Register" buttons. If kept as NULL, the default, then the button color will be the same color as the color passed to the color argument.

footer_color

the text color for the copyright text in the footer.

Value

the html and css to create the default sign in UI.

the UI for the Sign In & Registration pages


polished documentation built on Feb. 16, 2023, 8:02 p.m.