Skip to content

Commit 58e6c3d

Browse files
authored
Allow the title size to be set with a css variable (#1541)
1 parent 094e10f commit 58e6c3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/assets/stylesheets/arclight/modules/mastheads.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727

2828
.al-masthead {
2929
--al-mastead-active-link-color: var(--bs-gray-700);
30+
--al-masthead-title-size: #{$h2-font-size};
3031

31-
h1,
3232
.h1 {
3333
display: block;
34-
font-size: $h2-font-size;
34+
font-size: var(--al-masthead-title-size);
3535
margin: 0;
3636
padding: ($spacer * 1.5) ($spacer * 0.5);
3737
}

0 commit comments

Comments
 (0)