roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.46k stars 313 forks source link

Added html details > summary tag support for website #6902

Closed jfkonecn closed 3 months ago

jfkonecn commented 4 months ago

Added html details > summary tag support for website

closes roc-lang/roc#6510

Explanation

I'm happy to change the colors and style however you want. My eye for UI isn't the best.

I spent most of my time trying to get animations to work which does not appear to have good builtin support with CSS.

I could only find solutions that added javascript or basically hacked the html so I decided against doing that since it is probably not worth the accessibility and usability headache.

Normal State

norma state

Hover State

hover state

Open State

Open State

Anton-4 commented 3 months ago

Can you merge this @rtfeldman?

rtfeldman commented 3 months ago

Cool, thanks @jfkonecn! 🎉