Merge pull request #21408 from wooorm/wooorm/selection-color-transparent

Fix transparent color of `::selection` in Firefox
This commit is contained in:
calixteman 2026-06-08 16:57:34 +02:00 committed by GitHub
commit 879437247b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -124,11 +124,13 @@
/*#endif*/ /*#endif*/
/* stylelint-enable declaration-block-no-duplicate-properties */ /* stylelint-enable declaration-block-no-duplicate-properties */
background: color-mix(in srgb, AccentColor, transparent 50%); background: color-mix(in srgb, AccentColor, transparent 50%);
color: transparent;
} }
&.selectionRendering { &.selectionRendering {
::selection { ::selection {
background: transparent; background: transparent;
color: transparent;
} }
} }