No Description

config.js 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. 'use strict';
  2. const autoHeightHtml0 = `<p style="font-weight: 400;font-style: normal;font-size: 21px;line-height: 1.58;letter-spacing: -.003em;">Tags are great for describing the essence of your story in a single word or phrase, but stories are rarely about a single thing. <span style="background-color: transparent !important;background-image: linear-gradient(to bottom, rgba(146, 249, 190, 1), rgba(146, 249, 190, 1));">If I pen a story about moving across the country to start a new job in a car with my husband, two cats, a dog, and a tarantula, I wouldn’t only tag the piece with “moving”. I’d also use the tags “pets”, “marriage”, “career change”, and “travel tips”.</span></p>`;
  3. const autoHeightHtml1 = `Tags are great for describing the essence of your story in a single word or phrase, but stories are rarely about a single thing. If I pen a story about moving across the country to start a new job in a car with my husband, two cats, a dog, and a tarantula, I wouldn’t only tag the piece with “moving”. I’d also use the tags “pets”, “marriage”, “career change”, and “travel tips”.`;
  4. const autoHeightStyle0 = `
  5. p {
  6. font-size: 25px !important;
  7. }
  8. `;
  9. const autoHeightStyle1 = `
  10. p {
  11. font-size: 12px !important;
  12. }
  13. `;
  14. const autoHeightScript = `
  15. var styleElement = document.createElement('style');
  16. styleElement.innerHTML = '${autoHeightStyle1.replace(/\'/g, "\\'").replace(/\n/g, '\\n')}';
  17. document.head.appendChild(styleElement);
  18. document.body.style.background = 'cornflowerblue';
  19. `;
  20. const autoWidthHtml0 = ``;
  21. const autoWidthHtml1 = ``;
  22. const autoWidthStyle0 = ``;
  23. const autoWidthStyle1 = ``;
  24. const autoWidthScript = ``;
  25. export {
  26. autoHeightHtml0,
  27. autoHeightHtml1,
  28. autoHeightStyle0,
  29. autoHeightScript,
  30. autoWidthHtml0,
  31. autoWidthHtml1,
  32. autoWidthScript,
  33. autoWidthStyle0
  34. };