@@ -15,18 +15,20 @@ export function createMainStyles(
15
15
--right: 1rem;
16
16
--top: auto;
17
17
--left: auto;
18
- --zIndex: 100000;
18
+ --z-index: 100000;
19
+ --font-family: ${ themes . light . fontFamily } ;
20
+ --font-size: ${ themes . light . fontSize } ;
19
21
20
22
position: fixed;
21
23
left: var(--left);
22
24
right: var(--right);
23
25
bottom: var(--bottom);
24
26
top: var(--top);
27
+ z-index: var(--z-index);
25
28
26
- z-index: var(--zIndex);
29
+ font-family: var(--font-family);
30
+ font-size: var(--font-size);
27
31
28
- font-family: ${ themes . light . fontFamily } ;
29
- font-size: ${ themes . light . fontSize } ;
30
32
--bg-color: ${ themes . light . background } ;
31
33
--bg-hover-color: ${ themes . light . backgroundHover } ;
32
34
--fg-color: ${ themes . light . foreground } ;
48
50
--success-color: ${ themes . dark . success } ;
49
51
--border: ${ themes . dark . border } ;
50
52
--box-shadow: ${ themes . dark . boxShadow } ;
53
+ --font-family: ${ themes . dark . fontFamily } ;
54
+ --font-size: ${ themes . dark . fontSize } ;
51
55
}
52
56
}
53
57
`
54
58
: `
55
59
:host-context([data-sentry-feedback-colorscheme="dark"]) {
56
- font-family: ${ themes . dark . fontFamily } ;
57
- font-size: ${ themes . dark . fontSize } ;
58
60
--bg-color: ${ themes . dark . background } ;
59
61
--bg-hover-color: ${ themes . dark . backgroundHover } ;
60
62
--fg-color: ${ themes . dark . foreground } ;
61
63
--error-color: ${ themes . dark . error } ;
62
64
--success-color: ${ themes . dark . success } ;
63
65
--border: ${ themes . dark . border } ;
64
66
--box-shadow: ${ themes . dark . boxShadow } ;
67
+ --font-family: ${ themes . dark . fontFamily } ;
68
+ --font-size: ${ themes . dark . fontSize } ;
65
69
}
66
70
`
67
71
} `;
0 commit comments