-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Milestone
Description
ionRangeSlider's sass still uses color functions that result in realized colors -- as opposed to CSS variables -- once compiled.
shiny/inst/www/shared/ionrangeslider/scss/shiny.scss
Lines 39 to 46 in e2b7f91
| $bg: $body-bg !default; | |
| $fg: color-contrast($body-bg) !default; | |
| $accent: #428bca !default; | |
| // "Low-level" coloring, borders, and fonts | |
| $line_bg: linear-gradient(to bottom, mix($bg, $fg, 87%) -50%, $bg 150%) !default; | |
| $line_bg_color: mix($bg, $fg, 93%) !default; | |
| $line_border: 1px solid mix($bg, $fg, 80%) !default; |
We should either:
- Update
ionRangeSlider/scss/shiny.scssto avoid these color calculations. - Add
ionRangeSlider/scss/bootstrap5.scssto avoid these color calculations in BS5, renaming the currentshiny.scsstobootstrap4.scss.