aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-05-09 01:58:24 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-05-09 01:58:24 +0200
commite5779aeba28b3bf9865cc55555667eeaebc6b839 (patch)
tree946c67ca53cd78bf67041d472e22f6f1307d0b13
parent9d9e1d4e2ff262b97add90196b9598238a49505b (diff)
feat: Add FontAwesome stylesheet
-rw-r--r--mosaic.lisp31
1 files changed, 18 insertions, 13 deletions
diff --git a/mosaic.lisp b/mosaic.lisp
index 746a004..3554714 100644
--- a/mosaic.lisp
+++ b/mosaic.lisp
@@ -139,17 +139,22 @@
:padding 0
:margin 0
:background ,theme:background
- :color ,theme:on-background)
- `("#mosaic-container"
- :height "100vh"
- :display "flex"
- :align-items "center"
- :text-align "center"
- :flex-wrap "wrap"
- :justify-content "center"))))
+ :color ,theme:on-background
+ (|#mosaic-container|
+ :height "100vh"
+ :display "flex"
+ :align-items "center"
+ :text-align "center"
+ :flex-wrap "wrap"
+ :justify-content "center")))))
(spinneret:with-html-string
- (:style mosaic-style)
- (:div :id "mosaic-container"
- (:div :class "widgets-container"
- (loop for widget in *widgets*
- collect (:raw (display-widget widget buffer))))))))
+ (:html
+ (:head
+ (:link :rel "stylesheet"
+ :href "https://use.fontawesome.com/releases/v6.3.0/css/all.css"))
+ (:body
+ (:style mosaic-style)
+ (:div :id "mosaic-container"
+ (:div :class "widgets-container"
+ (loop for widget in *widgets*
+ collect (:raw (display widget buffer))))))))))