Skip to content

Commit 9e1f93e

Browse files
Merge pull request #19874 from Snuffleupagus/issue-19871
Always render the Annotation- and XFA-layers with light `color-scheme` (issue 19871)
2 parents 48b7d9f + 0852c42 commit 9e1f93e

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

web/annotation_layer_builder.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
*/
1515

1616
.annotationLayer {
17+
color-scheme: only light;
18+
1719
--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");
1820
--input-focus-border-color: Highlight;
1921
--input-focus-outline: 1px solid Canvas;
@@ -305,6 +307,7 @@
305307

306308
.popup {
307309
background-color: rgb(255 255 153);
310+
color: black;
308311
box-shadow: 0 calc(2px * var(--total-scale-factor))
309312
calc(5px * var(--total-scale-factor)) rgb(136 136 136);
310313
border-radius: calc(2px * var(--total-scale-factor));

web/xfa_layer_builder.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
}
2929

3030
.xfaLayer {
31+
color-scheme: only light;
32+
3133
background-color: transparent;
3234
}
3335

0 commit comments

Comments
 (0)