Liking cljdoc? Tell your friends :D

mentat.clerk-utils.css

Functions for adding custom CSS to Clerk's header.

Functions for adding custom CSS to Clerk's header.
raw docstring

add-css!clj

(add-css! & entries)

Takes any number of CSS paths and modifies Clerk to include these CSS files in its header.

Successive calls to add-css! will append files to the list. Call reset-css! to reset, or set-css! for a non-appending version.

Takes any number of CSS paths and modifies Clerk to include these CSS files in
its header.

Successive calls to [[add-css!]] will append files to the list.
Call [[reset-css!]] to reset, or [[set-css!]] for a non-appending version.
sourceraw docstring

custom-cssclj

Stateful reference to a sequence of custom CSS sources to be included in Clerk's page when it loads.

Stateful reference to a sequence of custom CSS sources to be
included in Clerk's page when it loads.
sourceraw docstring

reset-css!clj

(reset-css!)

Resets Clerk's CSS header list to the default.

Resets Clerk's CSS header list to the default.
sourceraw docstring

set-css!clj

(set-css! & entries)

Takes any number of CSS paths and modifies Clerk to include these CSS files in its header.

Any call to set-css! will wipe out any custom CSS already appended. Call reset-css! to reset, or set-css! for a version that appends files on each call.

Takes any number of CSS paths and modifies Clerk to include these CSS files in
its header.

Any call to [[set-css!]] will wipe out any custom CSS already appended.
Call [[reset-css!]] to reset, or [[set-css!]] for a version that appends files
on each call.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close