summaryrefslogtreecommitdiff
path: root/desk/mar/css.hoon
diff options
context:
space:
mode:
Diffstat (limited to 'desk/mar/css.hoon')
-rw-r--r--desk/mar/css.hoon25
1 files changed, 25 insertions, 0 deletions
diff --git a/desk/mar/css.hoon b/desk/mar/css.hoon
new file mode 100644
index 0000000..1a87081
--- /dev/null
+++ b/desk/mar/css.hoon
@@ -0,0 +1,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
+--