Skip to content

Commit

Permalink
feat: change page property key style
Browse files Browse the repository at this point in the history
  • Loading branch information
thezjy committed Jul 29, 2021
1 parent aa89219 commit 289718e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/components/block.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@
(let [pre-block? (:block/pre-block? block)
date (and (= k :date) (date/get-locale-string (str v)))]
[:div
[:span.font-bold (name k)]
[:span.page-property-key.font-medium (name k)]
[:span.mr-1 ":"]
(cond
(int? v)
Expand Down
4 changes: 4 additions & 0 deletions src/main/frontend/components/block.css
Original file line number Diff line number Diff line change
Expand Up @@ -474,3 +474,7 @@ span.cloze-revealed {
text-decoration: underline;
text-underline-position: under;
}

.page-property-key {
color: var(--ls-secondary-text-color);
}

0 comments on commit 289718e

Please sign in to comment.