This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-22
Channels
- # announcements (7)
- # beginners (10)
- # biff (2)
- # calva (12)
- # clerk (1)
- # clojure-europe (1)
- # clojure-korea (2)
- # clojure-norway (6)
- # cursive (5)
- # datahike (10)
- # datalevin (6)
- # datascript (2)
- # fulcro (2)
- # honeysql (18)
- # kaocha (1)
- # missionary (2)
- # off-topic (6)
- # pedestal (3)
- # ring (2)
- # shadow-cljs (11)
- # sql (2)
- # xtdb (4)
I’ve just added :class "dark"
so that my project has it added to my <html> tag on reload…
(defn base-html
[{:base/keys [title
description
lang
image
icon
url
canonical
font-families
head]}
& contents]
[:html
{:lang lang
:class "dark"
:style {:min-height "100%"
:height "auto"}}
...
in this file ~/.gitlibs/libs/com.biffweb/biff/09ef8cef88cb699c67de124cbb472bbff0142d69/src/com/biffweb/impl/rum.clj
which works, but I’m guessing that will be overwritten by a newer version of biff when I create a new project at some point, right?yaeh, you definitely don't want to edit that file. Instead you can copy the base-html
function into your project and then use that instead of biff/base-html
.