stable

Clone or download

Read-only

request #14990: Some illustrations do not have the right tlp class injected by helper

Go to TLP documentation ยป visual assets ยป illustrations. Switch the theme to purple. Click on the button [Inject TLP classes into an illustration], and paste the following illustration: ```svg <svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"> <rect class="tlp-illustration-primary-box" fill="#92cee5" stroke="#92cee5" stroke-width="3" x="5" y="5" rx="0.6" ry="0.6" width="50" height="50"/> </svg> ``` The generated illustration should be purple, not a mix of blue and purple. Change-Id: I5747096468112ed73f2a44c52aa388868aa65b84

Modified Files

Name
M src/themes/tlp/doc/js/illustration-helper.js +1 โˆ’62 Go to diff View file
A src/themes/tlp/doc/js/illustration-inject-class-helper.js +84 โˆ’0 Go to diff View file
A src/themes/tlp/doc/js/illustration-inject-class-helper.test.js +92 โˆ’0 Go to diff View file