Update docstrings

This commit is contained in:
Marcus Kammer 2023-07-21 18:43:23 +02:00
parent 4415769821
commit 2a0966c349
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -63,8 +63,8 @@ COLOR: Specifies the color, should be :primary, :secondary, :success,
:danger, :warning, :info, :light, :dark, :body, :muted, :white, :transparent, :danger, :warning, :info, :light, :dark, :body, :muted, :white, :transparent,
or nil (default color). or nil (default color).
GRADIENT: Specifies if the background should have a gradient, should be :t or :nil. GRADIENT: Specifies if the background should have a gradient, should be :t or
If :t, it will add a 'bg-gradient' to the class string. :nil. If :t, it will add a 'bg-gradient' to the class string.
Example 1: Example 1:
(background :color :primary) (background :color :primary)
@ -145,7 +145,8 @@ Example 4:
DIRECTION: Specifies the direction, should be :x, :y, or nil (both directions). DIRECTION: Specifies the direction, should be :x, :y, or nil (both directions).
VALUE: Specifies the overflow value, should be :auto, :hidden, :visible, :scroll, or nil (default value). VALUE: Specifies the overflow value, should be :auto, :hidden, :visible,
:scroll, or nil (default value).
Example 1: Example 1:
(overflow :direction :x :value :auto) (overflow :direction :x :value :auto)
@ -279,7 +280,8 @@ Example 6:
Example 7: Example 7:
(text :alignment :center :transform :uppercase :weight :bolder :wrap :nowrap :monospace t) (text :alignment :center :transform :uppercase :weight :bolder :wrap :nowrap :monospace t)
; This will generate a string 'text-center text-uppercase fw-bolder text-nowrap font-monospace '" ; This will generate a string 'text-center text-uppercase fw-bolder
; text-nowrap font-monospace '"
(let ((alignment-str (if (null alignment) "" (format nil "text-~a " alignment))) (let ((alignment-str (if (null alignment) "" (format nil "text-~a " alignment)))
(transform-str (if (null transform) "" (format nil "text-~a " transform))) (transform-str (if (null transform) "" (format nil "text-~a " transform)))
(weight-str (if (null weight) "" (format nil "fw-~a " weight))) (weight-str (if (null weight) "" (format nil "fw-~a " weight)))