urbit/pkg/arvo/mar/css.hoon
ronreg-ribdev a5d661f2d1 mar: use new-style gate argument syntax in /mar
Switch a bunch of .hoon files in /mar from using
the old `{}` syntax for specifying argument types, to the
newer `[argname=argtype]` syntax.
2020-11-24 14:16:20 -08:00

22 lines
620 B
Plaintext

::
:::: /hoon/css/mar
::
/? 310
=, eyre
=, mimes:html
|_ mud/@t
++ grow :: convert to
|% ++ mime [/text/css (as-octs mud)] :: convert to %mime
++ elem ;style :: convert to %hymn
;- (trip mud)
==
++ hymn ;html:(head:"{elem}" body)
--
++ grab
|% :: convert from
++ mime |=([p=mite q=octs] (@t q.q))
++ noun @t :: clam from %noun
--
++ grad %mime
--