... | ... |
@@ -94,25 +94,29 @@ |
94 | 94 |
:color (colorscheme :light0-soft) |
95 | 95 |
:padding :0.2rem}]) |
96 | 96 |
|
97 |
-(def kind-style |
|
98 |
- [:span.kind {:font-style :italic}]) |
|
97 |
+(def kind-style [:span.kind {:font-style :italic}]) |
|
98 |
+(def description-style [:section.description {:font-style :italic}]) |
|
99 | 99 |
|
100 | 100 |
(defclass spell-panel [] |
101 | 101 |
{} |
102 | 102 |
title-style |
103 | 103 |
kind-style |
104 |
- [:section.description {:font-style :italic}] |
|
104 |
+ description-style |
|
105 | 105 |
[:section.higher-level {:margin-top :0.5rem} |
106 | 106 |
[s/first-child {:font-weight :bold} |
107 | 107 |
(content-after ": ")]]) |
108 | 108 |
|
109 | 109 |
(defclass equipment-panel [] |
110 |
- {}) |
|
110 |
+ {} |
|
111 |
+ title-style |
|
112 |
+ kind-style |
|
113 |
+ description-style) |
|
111 | 114 |
|
112 | 115 |
(defclass weapon-panel [] |
113 | 116 |
{} |
114 | 117 |
title-style |
115 |
- kind-style) |
|
118 |
+ kind-style |
|
119 |
+ [:section.description {:font-style :italic}]) |
|
116 | 120 |
|
117 | 121 |
(defclass error-message [] |
118 | 122 |
{:background-color (colorscheme :faded-red) |