zoom icon indicating copy to clipboard operation
zoom copied to clipboard

☯️

Open drom opened this issue 7 years ago • 6 comments

:yin_yang: Light on Dark vs. Dark on Light :yin_yang:

Most of the interactive waveform viewers use light lines over dark background. Datasheets usually prefer black (dark) lines and text on the white (paper) background. Do we need to support both modes? Can it be skinnable?

drom avatar Nov 02 '18 04:11 drom

Working with waveforms on dark background helps to relax your eyes. While eyes are more stressed to work on light backgrounds. Another help for eyes is the shadow below high signals.

Paebbels avatar Nov 02 '18 22:11 Paebbels

For the interactive viewer I prefer dark background. If I export/screenshot something for documentation, I'd want it to be light background so it could be potentially printable.

nturley avatar Nov 03 '18 00:11 nturley

Agree with skinnable parts, especially if it can be skinned using CSS. The question is what kind of CSS? inline style or global (internal/external)?

DrSensor avatar Nov 03 '18 04:11 DrSensor

Agree with skinnable parts, especially if it can be skinned using CSS. The question is what kind of CSS? inline style or global (internal/external)?

DOM elements (HTML, SVG) can be stylized with CSS, I am not sure about Canvas. Also if we need saving standalone SVG files they have to include all CSS

drom avatar Nov 03 '18 04:11 drom

Then inline style could be the appropriate solution. The downside is the theme author can't use pseudo-selectors like :hover, :focus, etc. For Canvas, how about draw the SVGElement into Canvas?

DrSensor avatar Nov 03 '18 05:11 DrSensor

Related : https://twitter.com/ico_TC/status/1058673928850292736

drom avatar Nov 03 '18 16:11 drom