0.3.7
Improvement:
Selected text is now visible in WebKit-based browsers, even if general text display is disabled, just as in Firefox.
The default background color is opaque (contrary to Chrome's default style) to improve readability (together with the white text, contrast is WCGA AAA compliant at a 7:1 ratio).
The colors, as well as the general font family can be customized with a new textOverlay
section in Mirador's theme (both dark and light):
Mirador.viewer({
// ...
themes: {
light: {
overlayFont: 'sans', // Any legal CSS `font-family` value
selectionTextColor: 'rgba(255, 255, 255, 1)', // Any legal CSS color
selectionBackgroundColor: 'rgba(0, 55, 255, 1)', // Any legal CSS color
},
},
// ...
}