Skip to content

Commit

Permalink
feat: add the font_size parameter (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Dec 14, 2023
1 parent 864cb1f commit 3ba3722
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/hb/modules/revision/scss/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.hb-revision {
font-size: $hb-revision-font-size;
}
1 change: 1 addition & 0 deletions assets/hb/modules/revision/scss/variables.tmpl.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$hb-revision-font-size: {{ default ".825rem" site.Params.hb.revision.font_size }};
1 change: 1 addition & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ path = "github.com/hugomods/icons/vendors/bootstrap"
[params.hb.revision]
date_format = ":date_full"
icons = true
font_size = ".825rem"

0 comments on commit 3ba3722

Please sign in to comment.