mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Make live indicator use our theme colors. For #1899
This commit is contained in:
parent
19e9895fe5
commit
ded47a0c25
@ -1,6 +1,5 @@
|
|||||||
/* Change all text and icon colors in the player. */
|
/* Change all text and icon colors in the player. */
|
||||||
.vjs-owncast {
|
.vjs-owncast {
|
||||||
|
|
||||||
.video-js {
|
.video-js {
|
||||||
color: var(--theme-color-components-text-on-light);
|
color: var(--theme-color-components-text-on-light);
|
||||||
}
|
}
|
||||||
@ -38,7 +37,6 @@
|
|||||||
.vjs-control {
|
.vjs-control {
|
||||||
color: var(--theme-color-components-text-on-light);
|
color: var(--theme-color-components-text-on-light);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.vjs-airplay {
|
.vjs-airplay {
|
||||||
@ -62,3 +60,7 @@
|
|||||||
content: '\f110';
|
content: '\f110';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.vjs-seek-to-live-control.vjs-control.vjs-at-live-edge .vjs-icon-placeholder {
|
||||||
|
color: var(--theme-color-components-video-live-indicator) !important;
|
||||||
|
}
|
||||||
|
|||||||
@ -222,3 +222,6 @@ theme:
|
|||||||
background:
|
background:
|
||||||
value: 'var(--theme-color-palette-2)'
|
value: 'var(--theme-color-palette-2)'
|
||||||
comment: '{theme.color.palette.2.comment}'
|
comment: '{theme.color.palette.2.comment}'
|
||||||
|
live-indicator:
|
||||||
|
value: 'var(--theme-color-palette-7)'
|
||||||
|
comment: 'The Live dot indicator in the control bar of the video player'
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
// Do not edit directly
|
// Do not edit directly
|
||||||
// Generated on Fri, 30 Sep 2022 07:36:16 GMT
|
// Generated on Sat, 08 Oct 2022 23:40:28 GMT
|
||||||
//
|
//
|
||||||
// How to edit these values:
|
// How to edit these values:
|
||||||
// Edit the corresponding token file under the style-definitions directory
|
// Edit the corresponding token file under the style-definitions directory
|
||||||
@ -97,6 +97,7 @@
|
|||||||
@theme-color-components-form-field-text: var(--theme-color-palette-0); // Dark primary
|
@theme-color-components-form-field-text: var(--theme-color-palette-0); // Dark primary
|
||||||
@theme-color-components-form-field-border: var(--theme-color-palette-0); // Dark primary
|
@theme-color-components-form-field-border: var(--theme-color-palette-0); // Dark primary
|
||||||
@theme-color-components-video-background: var(--theme-color-palette-2); // Dark alternate
|
@theme-color-components-video-background: var(--theme-color-palette-2); // Dark alternate
|
||||||
|
@theme-color-components-video-live-indicator: var(--theme-color-palette-7); // The Live dot indicator in the control bar of the video player
|
||||||
@owncast-purple-25: rgba(120, 113, 255, 0.25);
|
@owncast-purple-25: rgba(120, 113, 255, 0.25);
|
||||||
@color-unknown: #7a5cf3;
|
@color-unknown: #7a5cf3;
|
||||||
@color-unknown-2: #fffffe;
|
@color-unknown-2: #fffffe;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* Do not edit directly
|
* Do not edit directly
|
||||||
* Generated on Fri, 30 Sep 2022 07:36:16 GMT
|
* Generated on Sat, 08 Oct 2022 23:40:28 GMT
|
||||||
*
|
*
|
||||||
* How to edit these values:
|
* How to edit these values:
|
||||||
* Edit the corresponding token file under the style-definitions directory
|
* Edit the corresponding token file under the style-definitions directory
|
||||||
@ -99,6 +99,7 @@
|
|||||||
--theme-color-components-form-field-text: var(--theme-color-palette-0); /* Dark primary */
|
--theme-color-components-form-field-text: var(--theme-color-palette-0); /* Dark primary */
|
||||||
--theme-color-components-form-field-border: var(--theme-color-palette-0); /* Dark primary */
|
--theme-color-components-form-field-border: var(--theme-color-palette-0); /* Dark primary */
|
||||||
--theme-color-components-video-background: var(--theme-color-palette-2); /* Dark alternate */
|
--theme-color-components-video-background: var(--theme-color-palette-2); /* Dark alternate */
|
||||||
|
--theme-color-components-video-live-indicator: var(--theme-color-palette-7); /* The Live dot indicator in the control bar of the video player */
|
||||||
--owncast-purple-25: rgba(120, 113, 255, 0.25);
|
--owncast-purple-25: rgba(120, 113, 255, 0.25);
|
||||||
--color-unknown: #7a5cf3;
|
--color-unknown: #7a5cf3;
|
||||||
--color-unknown-2: #fffffe;
|
--color-unknown-2: #fffffe;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user