Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

(text-style: "fade-in-out")

Is there an allowance in Harlowe to simply have a hook fade in, instead of continually in and out?

Comments

  • Figured this out and posting my solution here for anybody interested. I basically searched for any instances of 'fade-in-out' in Harlowe's format.js file, and added similar lines for a fade-in text style - first of all, these two lines in the <head>:
    @-webkit-keyframes fade-in{0%,to{opacity:0}100%{opacity:1}}
    @keyframes fade-in{0%,to{opacity:0}100%{opacity:1}}
    Then this guy, immediately following the selector for tw-fade-in-out
    tw-fade-in{text-decoration:none;animation:fade-in .5s ease-in;-webkit-animation:fade-in .5s ease-in}
    And finally, this, immediately after \"fade-in-out\", found later in the file among a list of other text-styles.
    \"fade-in\"
    Hope this helps somebody! There is no doubt a far more elegant/simple way of doing this, but this hacky way seemed to work for me.
Sign In or Register to comment.