mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-28 23:28:16 +02:00
This removes the need for (most) separate `@media (prefers-color-scheme: dark)` blocks when defining colors values, and also provides a simple way of forcing use of either the light or dark theme. Please refer to https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark and https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme *NOTE:* To support this in older browsers, we utilize a [PostCSS plugin](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-light-dark-function). |
||
---|---|---|
.. | ||
accessibility_spec.mjs | ||
annotation_spec.mjs | ||
autolinker_spec.mjs | ||
caret_browsing_spec.mjs | ||
copy_paste_spec.mjs | ||
find_spec.mjs | ||
freetext_editor_spec.mjs | ||
highlight_editor_spec.mjs | ||
ink_editor_spec.mjs | ||
jasmine-boot.js | ||
scripting_spec.mjs | ||
signature_editor_spec.mjs | ||
stamp_editor_spec.mjs | ||
test_utils.mjs | ||
text_field_spec.mjs | ||
text_layer_spec.mjs | ||
viewer_spec.mjs |