Comment by lifthrasiir

Comment by lifthrasiir 4 days ago

6 replies

I was also quite surprised, and I took a bit of challenge to make it a single file that faithfully reproduces the exact behavior and embeds all dependencies including the web font, besides from Inter which is only used for toasts and barely distinguishable from Arial in this context. It weighs 3,123 bytes without the specifically subsetted font which takes additional 10,433 bytes.

https://gist.github.com/lifthrasiir/f46725d3e9e9d055da40b3de...

[removed] 4 days ago
[deleted]
Gooblebrai 4 days ago

What were the main difficulties?

  • lifthrasiir 4 days ago

    Implementing absolutely everything, because I wasn't sure which part was intentional or not. My version even replicates some bugs and subtle behaviors: for example the toast animation lasts 5 seconds, which is measured from the beginning of fade-in animation to the beginning of fade-out animation.