Liking cljdoc? Tell your friends :D

sail.core


->selectorclj

(->selector k)
source

allclj

source

all-keywords-in-fileclj

(all-keywords-in-file filepath)
source

all-project-keywordsclj

(all-project-keywords path)

Pulls out all the keywords for the given path (but not split e.g :div.rounded.p-4 not [:rounded :p-4])

Pulls out all the keywords for the given path (but not split e.g :div.rounded.p-4 not [:rounded :p-4])
sourceraw docstring

buildclj

(build output)
(build output {:keys [paths] :as opts})
source

clojure-file?clj

(clojure-file? file-path)
source

convert-pseudo-classesclj

(convert-pseudo-classes classes)

Converts hiccup class reference to css or what we expect in sail's lookup table e.g :hover:red-400 -> :hover:red-400:hover

Converts hiccup class reference to css or what we expect in sail's lookup table e.g :hover:red-400 -> :hover\:red-400:hover
sourceraw docstring

css-watcherclj

Contains the dirwatch process to control sail's watching for compilation process

Contains the dirwatch process to control sail's watching for compilation process
sourceraw docstring

default-keywordsclj

source

default-optsclj

source

generate-stylesclj

(generate-styles path)
source

generate-styles-withclj

(generate-styles-with path css-file)

Generate Tailwind CSS and append the provided css-file on the end.

Generate Tailwind CSS and append the provided css-file on the end.
sourceraw docstring

internal-generate-stylesclj

(internal-generate-styles css-styles css-components-styles)
source

prefixclj

(prefix n)

Include . for class names, ignore for reserved words like 'html'.

Include . for class names, ignore for reserved words like 'html'.
sourceraw docstring

purge-and-generate-stylesclj

(purge-and-generate-styles output {:keys [paths css-file] :as opts})
source

purge-stylesclj

(purge-styles css-styles used-css-classes)
source

split-tags-and-classesclj

(split-tags-and-classes tags)
source

stop-watchclj

(stop-watch)
source

style->stringclj

(style->string smap)
source

watchclj

(watch output)
(watch output {:keys [paths] :as opts})

Watch & rebuild styles on file modified, useful when developing to view sites with purged code as you would use in production. Also useful for providing the feedback when manipulating classes in Clojure e.g splitting (str "bg-green-" v).

Takes optional args: :path directory to watch for new uses of css classes (e.g your project code)

Watch & rebuild styles on file modified, useful when developing to view sites with purged code as you would use in production.
Also useful for providing the feedback when manipulating classes in Clojure e.g splitting (str "bg-green-" v).

Takes optional args:
:path directory to watch for new uses of css classes (e.g your project code)
sourceraw docstring

watcher-running?clj

(watcher-running?)
source

with-responsive-prefixclj

(with-responsive-prefix smap prefix screen-width)

Apply a min-width media query an class prefix to styles e.g md:text-gray-700

Apply a min-width media query an class prefix to styles e.g md:text-gray-700
sourceraw docstring

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

× close