gleam
gleam copied to clipboard
Adds some documentation improvements on opaqueness
In an effort to get myself hacking on gleam, I attempted working on #2111. After some back and forth and asking in Discord, I ran with https://github.com/gleam-lang/gleam/pull/2446 and just hid the const
implementation for the time being.
Since I also dove a bit into CSS, this offers an explicit marker should a type be opaque
. I think this should improve readability.
Potentially closes #2111.
Quick screenshots
Light mode
Dark mode
Thanks for the review - I made the changes as requested! @lpil
Looks like the tests are failing due to some whitespace having been added.
I am not too familiar with the templating here, but I've removed an extra line that was added by ...probably me fat fingering my way through vim :wink:
@lpil Tests run locally for me now
Thank you!!