summaryrefslogtreecommitdiff
path: root/desk/mar/css.hoon
blob: 1a8708110e6b6b17ad229fc94d6a3f888d310edb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
::
::::  /hoon/css/mar
  ::
/?    310
=,  eyre
=,  mimes:html
|_  mud=@t
++  grow                                                ::  convert to
  |%  
  ++  mime  [/text/css (as-octs mud)]               ::  convert to %mime
  ++  hymn                                          ::  convert to %hymn
    |^  html
    ++  style  ;style                                  
                 ;-  (trip mud)
               ==
    ++  html   ;html:(head:"{style}" body)
    --
  --
++  grab
  |%                                                    ::  convert from
  ++  mime  |=([p=mite q=octs] (@t q.q))
  ++  noun  @t                                         ::  clam from %noun
  --
++  grad  %mime
--