Update docstring

This commit is contained in:
Marcus Kammer 2023-09-02 09:35:39 +02:00
parent a0002fa0c1
commit 3c555af75d
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -162,14 +162,14 @@ FLUID: When non-nil, the container becomes fluid (full width).
BREAKPOINT: Specifies the size of the container at various breakpoints, should BREAKPOINT: Specifies the size of the container at various breakpoints, should
be 'sm', 'md', 'lg', 'xl', or 'xxl'. be 'sm', 'md', 'lg', 'xl', or 'xxl'.
TEXT: A keyword list that applies text utilities. TEXT: A keyword list that applies text utilities. -> cl-sbt/utility:text
Example 1: Example 1:
(con (:fluid t) \"Hello, world!\") (con (:fluid t) \"Hello, world!\")
; This will generate a full width (fluid) container with the text 'Hello, world!'. ; This will generate a full width (fluid) container with the text 'Hello, world!'.
Example 2: Example 2:
(con (:breakpoint (:md t)) \"Welcome to the site!\") (con (:breakpoint (:kind \"con\" :md t)) \"Welcome to the site!\")
; This will generate a container that is medium-sized at the defined ; This will generate a container that is medium-sized at the defined
; breakpoint, containing the text 'Welcome to the site!'. ; breakpoint, containing the text 'Welcome to the site!'.
@ -178,7 +178,7 @@ Example 3:
; This will generate a container with center-aligned text. ; This will generate a container with center-aligned text.
Example 4: Example 4:
(con (:fluid t :breakpoint (:sm t) :text (:weight \"bold\")) \"Bold text in a small fluid container!\") (con (:fluid t :breakpoint (:kind \"con\" :sm t) :text (:weight \"bold\")) \"Bold text in a small fluid container!\")
; This will generate a full width (fluid) container that is small at the ; This will generate a full width (fluid) container that is small at the
; defined breakpoint, containing bold text." ; defined breakpoint, containing bold text."
(let* ((fluid-str (if (null fluid) "container " "container-fluid ")) (let* ((fluid-str (if (null fluid) "container " "container-fluid "))