Skip to content

Commit

Permalink
fix: fixed wt-player colors [WTEL-3948]
Browse files Browse the repository at this point in the history
  • Loading branch information
dlohvinov committed Nov 30, 2023
1 parent 0520f31 commit 0f83839
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/wt-player/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
--plyr-audio-controls-background: var(--content-wrapper-color);
--plyr-control-icon-size: var(--icon-md-size);
--plyr-audio-control-background-hover: transparent;
--plyr-audio-progress-buffered-background: var(--dp-14-surface-color); // loaded color
--wt-player-audio-progress-background: var(--wt-slider-background-color); // not played color
--plyr-tooltip-background: var(--wt-tooltip-background-color);
--plyr-tooltip-color: var(--wt-tooltip-text-color);

// --plyr-control-toggle-checked-background: var(--main-color);
--player-close-icon-transform-translate-x: var(--spacing-md);
Expand Down
5 changes: 5 additions & 0 deletions src/components/wt-player/wt-player.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,13 @@ export default {
left: 0; // reset plyr style for video "play" button icon
}
.plyr__progress__buffer {
background: var(--wt-player-audio-progress-background);
}
.plyr__progress input,
.plyr__volume input {
cursor: pointer;
&::-webkit-slider-thumb {
border: var(--wt-slider-border);
Expand Down

0 comments on commit 0f83839

Please sign in to comment.