mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(theming): update components to use the proper colors for dark themes (#18735)
references #18713
This commit is contained in:
@ -10,7 +10,7 @@ $slides-md-bullet-background-active: ion-color(primary, base) !defaul
|
||||
$slides-md-progress-bar-background-alpha: .25 !default;
|
||||
|
||||
/// @prop - Background color of the progress
|
||||
$slides-md-progress-bar-background: rgba(var(--ion-text-color-rgb, $text-color-rgb), $slides-md-progress-bar-background-alpha) !default;
|
||||
$slides-md-progress-bar-background: rgba($text-color-rgb, $slides-md-progress-bar-background-alpha) !default;
|
||||
|
||||
/// @prop - Background color of the progress bar
|
||||
$slides-md-progress-bar-background-active: ion-color(primary, shade) !default;
|
||||
@ -19,10 +19,10 @@ $slides-md-progress-bar-background-active: ion-color(primary, shade) !defau
|
||||
$slides-md-scroll-bar-background-alpha: .1 !default;
|
||||
|
||||
/// @prop - Background color of the scroll bar
|
||||
$slides-md-scroll-bar-background: rgba(var(--ion-text-color-rgb, $text-color-rgb), $slides-md-scroll-bar-background-alpha) !default;
|
||||
$slides-md-scroll-bar-background: rgba($text-color-rgb, $slides-md-scroll-bar-background-alpha) !default;
|
||||
|
||||
/// @prop - Alpha to use for the background color of the scroll bar while dragging
|
||||
$slides-md-scroll-bar-drag-background-alpha: .5 !default;
|
||||
|
||||
/// @prop - Background color of the scroll bar drag handle
|
||||
$slides-md-scroll-bar-drag-background: rgba(var(--ion-text-color-rgb, $text-color-rgb), $slides-md-scroll-bar-drag-background-alpha) !default;
|
||||
$slides-md-scroll-bar-drag-background: rgba($text-color-rgb, $slides-md-scroll-bar-drag-background-alpha) !default;
|
||||
|
Reference in New Issue
Block a user