Skip to content

Commit

Permalink
Make the large header variant the default for PageHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Jan 8, 2024
1 parent 905f8c8 commit 6f6f48d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-jokes-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@openproject/primer-view-components': patch
---

Make the large header variant the default for OpenProject::PageHeader
4 changes: 2 additions & 2 deletions app/components/primer/open_project/page_header.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ class PageHeader < Primer::Component
HEADING_TAG_OPTIONS = [:h1, :h2, :h3, :h4, :h5, :h6].freeze
HEADING_TAG_FALLBACK = :h2

DEFAULT_HEADER_VARIANT = :medium
DEFAULT_HEADER_VARIANT = :large
HEADER_VARIANT_OPTIONS = [
:large,
:medium,
DEFAULT_HEADER_VARIANT
].freeze

Expand Down

0 comments on commit 6f6f48d

Please sign in to comment.