shinyDashboardLogoDIY: shinyDashboardLogoDIY

View source: R/CreateLogo_shinyDashboardLogoDIY.R

shinyDashboardLogoDIYR Documentation

shinyDashboardLogoDIY

Description

Creates a custom logo object for a shinydashboard application

Usage

shinyDashboardLogoDIY(
  boldText,
  mainText,
  textSize = 15,
  badgeText,
  badgeTextColor,
  badgeTextSize = 2,
  badgeBackColor,
  badgeBorderRadius = 3
)

Arguments

boldText

String. Bold text for the logo.

mainText

String. Main text for the logo.

textSize

Numeric. Text size for the logo. Defaults to 15.

badgeText

String. Text for the logo badge.

badgeTextColor

String. Text color of the logo badge.

badgeTextSize

Numeric. Text color of the logo badge. Defaults to 2.

badgeBackColor

String. Background color of the logo badge.

badgeBorderRadius

Numeric. Border radius of the logo badge. Defaults to 3.

Value

HTML code. Logo for shinydashboard's sidebar.

Note

This logo design was inspired from http://www.dataseries.org/.

See Also

shinyDashboardLogo, cssGradientThreeColors

Examples


customLogo <- shinyDashboardLogoDIY(
  boldText = "SD"
  ,mainText = "Themes"
  ,textSize = 16
  ,badgeText = "v1.1"
  ,badgeTextColor = "white"
  ,badgeTextSize = 2
  ,badgeBackColor = "#40E0D0"
  ,badgeBorderRadius = 3
)


dashboardthemes documentation built on July 14, 2022, 1:05 a.m.