Skip to content

Commit c73b469

Browse files
authored
Leverage the new sass_options_get() to include source maps by default (#312)
* Leverage the new sass_options_get() to include source maps by default Added to sass in rstudio/sass#88 * update news
1 parent 8922887 commit c73b469

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Imports:
2222
grDevices,
2323
htmltools (>= 0.5.1),
2424
jsonlite,
25-
sass (>= 0.3.1.9002),
25+
sass (>= 0.3.1.9003),
2626
digest (>= 0.6.25),
2727
jquerylib (>= 0.1.3),
2828
rlang,

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* Closed #231: Upgraded from Bootstrap 4.5.3 to 4.6.0 (#254).
1212
* Closed #237: `<blockquote>` tags now have border-left/padding styles with `version = 4` (to mirror the `version = 3` behavior) (#239).
1313
* Closed #279: Warnings about low color contrasts are now suppressed by default, unless `shiny::devmode()` is enabled. To enable/disable these warnings, set the new `options(bslib.color_contrast_warnings = )` to `TRUE`/`FALSE` (#287).
14+
* `bs_theme_dependencies()` now includes Sass source maps when `shiny::devmode()` is enabled (#312).
1415
* Added new `bs_add_functions()`/`bs_add_mixins()` and deprecated `bs_add_declarations()` to reflect `sass::sass_layer()`'s new ability to place `functions` _before_ variable `defaults`. As a result, variable definitions may now use functions defined with `bs_add_functions()`. (#311)
1516

1617
## Bug fixes

R/bs-dependencies.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
#'
5757
bs_theme_dependencies <- function(
5858
theme,
59-
sass_options = sass::sass_options(output_style = "compressed"),
59+
sass_options = sass::sass_options_get(output_style = "compressed"),
6060
cache = sass::sass_cache_get(),
6161
jquery = jquerylib::jquery_core(3),
6262
precompiled = get_precompiled_option("bslib.precompiled", default = TRUE)

0 commit comments

Comments
 (0)