~zainab/blog

blog/src/theme.rkt -rw-r--r-- 1.5 KiB
d9e5070ezainab-ali Add question aside 8 months ago
                                                                                
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#lang racket

;; Colours and fonts

(define needle-colour "#8aa4ba")
(define pale-needle-colour "#8aa4ba0f")
(define dark-needle-colour "#577994")

;; Previously "#4336d8"
;; "#453cba"
;; Previously (define stitch-colour "#4e8cce")
(define stitch-colour "#3171b4")
(define dark-stitch-colour "#1663b4")
(define pale-stitch-colour "#94bae1")
(define faint-stitch-colour "#e9f3ff")

;; Experiment with a lighter vintage-linen background
;; Previously "#faf0e696", then modified to "#fff38e14"
;; The current colour was chosen due to a lack of alpha
(define linen-colour "#fffdf3")

(define sans-serif-font "IBM Plex Sans")

(define monospace-font "Source Code Pro")

(define serif-font "Source Serif Pro")

(define chapter-page-here-colour dark-stitch-colour)

;; Emacs buffer colour

;; #f6f6f6
(define snippet-bg-colour linen-colour)

;; #ddd
(define snippet-border-colour "#b7b17b52")

;; #CDDBEC
(define snippet-heading-bg-colour "#4e8cce54")

(define diagram-border-colour faint-stitch-colour)
(define diagram-shadow-colour pale-needle-colour)



;; Inline code colour
;; #fbfbfb
(define code-bg-colour
  "#4e8cce05"
  ;; snippet-heading-bg-colour
  ;; linen-colour
  )

;; Elang book button colours
(define button-dark-colour stitch-colour)
(define button-pale-colour pale-stitch-colour)

;; The body font size in pixels
(define body-font-size 21)

;; The code font size in pixels
(define code-font-size 16)

;; The width of the main content of the page grid
(define page-width 760)



(provide (all-defined-out))