View source: R/CreateLogo_shinyDashboardLogoDIY.R
shinyDashboardLogoDIY | R Documentation |
Creates a custom logo object for a shinydashboard application
shinyDashboardLogoDIY( boldText, mainText, textSize = 15, badgeText, badgeTextColor, badgeTextSize = 2, badgeBackColor, badgeBorderRadius = 3 )
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. |
HTML code. Logo for shinydashboard's sidebar.
This logo design was inspired from http://www.dataseries.org/.
shinyDashboardLogo, cssGradientThreeColors
customLogo <- shinyDashboardLogoDIY( boldText = "SD" ,mainText = "Themes" ,textSize = 16 ,badgeText = "v1.1" ,badgeTextColor = "white" ,badgeTextSize = 2 ,badgeBackColor = "#40E0D0" ,badgeBorderRadius = 3 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.