@yowasp/wavedrom
Advanced tools
Comparing version 3.5.0-7 to 3.5.0-8
{ | ||
"name": "@yowasp/wavedrom", | ||
"version": "3.5.0-7", | ||
"version": "3.5.0-8", | ||
"description": "WaveDrom generates diagrams for digital waveforms, bit fields, and simple combinational circuits", | ||
@@ -5,0 +5,0 @@ "author": "Catherine <whitequark@whitequark.org>", |
@@ -52,4 +52,5 @@ YoWASP WaveDrom package | ||
* The `id` attribute of the root `<svg>` element is removed. | ||
* The stylesheets are altered to take into account dark color scheme preference via media queries. | ||
* By default, the diagrams automatically switch between light and dark color schemes based on the user preference. The light variant is the default upstream WaveDrom color scheme, and the dark variant is the same but with colors inverted. Unfortunately, it is not feasible to use media queries to switch between the default/light skin and the dark skin for waveform diagrams, and an inversion filter is used instead. | ||
* The stylesheets are altered to take into account dark color scheme preference via media queries. If the user agent reports dark color scheme preference, the colors in the diagram are inverted. | ||
* In case of the `dark` waveform diagram skin, this will cause it to use light colors. | ||
* When the SVG image is embedded in an HTML document using the `<img>` tag, the color scheme preference can be set per-image using a CSS rule such as `img { color-scheme: light; }`. This can be used to make the images responsive to dynamic theming, or simply to override the default behavior. | ||
* Several otherwise blocking bugs are worked around. | ||
@@ -56,0 +57,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68
397860
3517