-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customize style of shiny app module gallery #50
Comments
here is the dcamodules.
|
Thanks @rrchai. I thought this was going to be it's own library? |
@rrchai What is the name of the module I want to use? |
@andrewelamb Sorry for the confusion. The styling feature is only a function as part of the I could make the styling function as a separated package if it's our priority, but would need more time - probably not until next sprint. We might need to think about what the stylings we would need to enable customization for multi-tenant apps. Alternatively, we could use an existing function - fresh and I could build on the top of |
@rrchai It's ok for now. What options are currently available for the theme argument? |
For now, it has three predefined themes, There are also variables listed in this doc available for you to customize: custom_theme <- list(
"primary" = "blue",
"accent" = "red",
"dark" = NULL,
"light" = NULL,
"success" = NULL,
"info" = NULL,
"warning" = NULL,
"danger" = NULL,
"white" = NULL,
"black" = NULL,
"font" = NULL,
"link-font-cl" = NULL,
"content-bg-cl" = NULL,
"content-font-cl" = NULL,
"header-bg-cl" = NULL,
"header-font-cl" = NULL,
"sidebar-bg-cl" = NULL,
"sidebar-font-cl" = NULL,
"sidebar-bg-select-cl" = NULL,
"sidebar-font-select-cl" = NULL,
"sidebar-bg-hover-cl" = NULL,
"sidebar-font-hover-cl" = NULL,
"footer-bg-cl" = NULL,
"footer-font-cl" = NULL,
"waiter-bg-cl" = NULL,
"waiter-font-cl" = NULL
) You could manually change ones of variables and save as rds. Then, use It's still under development. Please feel free to let me know if there are any issues or improvements! |
I'm having an issue installing dcamodules. |
@rchai has demonstrated how to apply consistent styles across a collection of shiny modules. Let's have the shiny module gallery have a similar customization option.
The text was updated successfully, but these errors were encountered: