summaryrefslogtreecommitdiff
path: root/site/css.lisp
blob: ab0199055334b916345c7ddd0407a5c9a287a22a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(in-package #:vampire)

(defparameter +main-style+
  (lass:compile-and-write
   ;; Add variables here, not just for reuse, but also for at-a-glance
   ;; documentation and easy-of-fiddling
   '(:let ((main-bg     "#1c1c1c")
           (secondary-bg "#2e2e2e")
           (tertiary-bg  "#cccccc")
           (main-color "#e8e7d5")
           (secondary-color "#ffffff")
           (tertiary-color "#000000"))
     (body
      :background #(main-bg)
      :color #(main-color)
      :justify-content center
      :display flex
      :width 90vw
      :margin auto)

     ;;(button)

     ;;((and button :hover))
     )))

(wknd:defendpoint style.css
  :get :route "css" "style.css"
  :returns "text/css"
  :handle +main-style+)