File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,11 @@ layer(compound);
47
47
--background-gradient : url ("graphics/backgroundGradient.svg" );
48
48
}
49
49
50
+ : root ,
51
+ [class *= "cpd-theme-" ] {
52
+ --video-tile-background : var (--cpd-color-bg-subtle-secondary );
53
+ }
54
+
50
55
.cpd-theme-dark {
51
56
--cpd-color-border-accent : var (--cpd-color-green-1100 );
52
57
--stopgap-color-on-solid-accent : var (--cpd-color-text-primary );
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ Please see LICENSE in the repository root for full details.
18
18
width : 100% ;
19
19
height : 100% ;
20
20
object-fit : cover;
21
- background-color : black;
22
- background-color : var (--cpd-color-bg-subtle-primary );
21
+ background-color : var (--video-tile-background );
23
22
}
24
23
25
24
video .mirror {
@@ -35,7 +34,7 @@ video.mirror {
35
34
display : flex;
36
35
justify-content : center;
37
36
align-items : center;
38
- background-color : var (--cpd-color-bg-subtle-secondary );
37
+ background-color : var (--video-tile-background );
39
38
}
40
39
41
40
.buttonBar {
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Please see LICENSE in the repository root for full details.
15
15
inline-size : 100% ;
16
16
block-size : 100% ;
17
17
object-fit : contain;
18
- background-color : var (--cpd-color-bg-subtle-primary );
18
+ background-color : var (--video-tile-background );
19
19
/* This transform is a no-op, but it forces Firefox to use a different
20
20
rendering path, one that actually clips the corners of <video> elements into
21
21
the intended rounded shape. We can remove this if Firefox stops being broken. */
@@ -35,7 +35,7 @@ Please see LICENSE in the repository root for full details.
35
35
}
36
36
37
37
.bg {
38
- background-color : var (--cpd-color-bg-subtle-secondary );
38
+ background-color : var (--video-tile-background );
39
39
inline-size : 100% ;
40
40
block-size : 100% ;
41
41
border-radius : inherit;
You can’t perform that action at this time.
0 commit comments