summaryrefslogtreecommitdiff
path: root/backupdesk/mar/css.hoon
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-09-17 12:24:41 +0700
committerpolwex <polwex@sortug.com>2025-09-17 12:24:41 +0700
commit387af8fc1603805b02ce03f8adba4fa73a954f7c (patch)
tree6ac4fe9c33a14d9da418a97955a38efb9338d869 /backupdesk/mar/css.hoon
parent31a47ce72255bb56920e417d250541b04be82648 (diff)
relay much more robust
Diffstat (limited to 'backupdesk/mar/css.hoon')
-rw-r--r--backupdesk/mar/css.hoon25
1 files changed, 25 insertions, 0 deletions
diff --git a/backupdesk/mar/css.hoon b/backupdesk/mar/css.hoon
new file mode 100644
index 0000000..1a87081
--- /dev/null
+++ b/backupdesk/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
+--