We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 890f847 commit 0f18724Copy full SHA for 0f18724
R/utils-deps.R
@@ -24,7 +24,9 @@ component_dependency_css <- function(name) {
24
25
# Run-time (Sass) component styles
26
component_dependency_sass <- function(theme, name) {
27
- if (!is_bs_theme(theme) || identical(theme, bs_theme())) {
+ precompiled <- isTRUE(get_precompiled_option())
28
+ default_theme <- !is_bs_theme(theme) || identical(theme, bs_theme())
29
+ if (precompiled && default_theme) {
30
component_dependency_css(name)
31
} else {
32
component_dependency_sass_(theme, name)
0 commit comments